Paul Gier wrote:

I didn't even know this feature existed!

Excellent, just remember to forget that we talked about ;-)

To make sure I understand the new make-like reactor mode, will it allow me to only select certain modules in a multi-module build? Something like this?

mvn -pl module2,module5 install

In principle, yes. In more detail, the -pl arguments accepts
a) relative paths to the projects
b) groupId:artifactId of the projects
c) :artifactId of the projects (as of Maven 3.x)

By default, Maven will build only the selected projects. The parameters -am and -amd can be added to also build upstream and downstream projects of the selected ones.


Benjamin

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to