User Tools

Site Tools


maven

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
maven [2015/08/20 06:28]
mihael
maven [2016/05/27 09:39] (current)
mihael [Skip Unit test]
Line 2: Line 2:
  
 ===== Update Parent POM Version in Modules ===== ===== Update Parent POM Version in Modules =====
-If the project structure is as following:+If the project structure is the following:
 <​code>​ <​code>​
  ​Parent POM  ​Parent POM
Line 19: Line 19:
  
   mvn -N versions:​update-child-modules   mvn -N versions:​update-child-modules
 +
 +<note tip>By default this command will generate a backup version of each updated pom. To drop the generation of backups add the parameter ''​generateBackupPoms=false''​ to the maven command.</​note>​
  
 Found on [[http://​www.mojohaus.org/​versions-maven-plugin/​examples/​update-child-modules.html|Mojohaus.org]]. Found on [[http://​www.mojohaus.org/​versions-maven-plugin/​examples/​update-child-modules.html|Mojohaus.org]].
Line 71: Line 73:
     -Dpackaging=jar     -Dpackaging=jar
 </​code>​ </​code>​
 +
 +===== Skip Unit test =====
 +
 +Use the Java property ''​-Dmaven.test.skip=true''​ to skip unit tests.
  
 ===== Embed Dependencies ===== ===== Embed Dependencies =====
maven.1440052136.txt.gz ยท Last modified: 2015/08/20 06:28 by mihael