Tuesday, April 29, 2014

Usefull Maven compilation command line

Usefull Maven compilation command line Reminder


mvn install -pl project.name.artefact -am -T 2.0C

Explanation 

from (http://florianlr.wordpress.com/2012/09/19/17/)
-pl, --projects
Comma-delimited list of specified reactor projects to build instead of all projects. A project can be specified by [groupId]:artifactId or by its relative path.

-am,--also-make
If project list is specified, also build projects required by the list.

-T,--threads
Thread count, for instance 2.0C where C is core multiplied

No comments:

Post a Comment