Advertisement
oceanborn

Maven command line snippets

May 28th, 2021 (edited)
497
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.53 KB | None | 0 0
  1. mvn -q help:effective-pom > pom.effective.xml
  2.  
  3. ${maven.multiModuleProjectDirectory}
  4.  
  5. mvn help:evaluate  -Dexpression=maven.multiModuleProjectDirectory
  6.  
  7.     <build>
  8.         <plugins>
  9.             <plugin>
  10.                 <groupId>org.apache.maven.plugins</groupId>
  11.                 <artifactId>maven-antrun-plugin</artifactId>
  12.                 <version>3.0.0</version>
  13.                 <executions>
  14.                     <execution></execution>
  15.                 </executions>
  16.             </plugin>
  17.         </plugins>
  18.     </build>
  19.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement