How to create subsidiary projects?

I have an aggregation where I bind the parent Pom using the <modules> element, and then I have the <parent> specified in each child pom.

Is there a way to build only a subset of child modules from the parent pom ... ie

 cd parent-dir mvn install subproj1 subproj2 
+6
source share
1 answer

You can run Maven as follows: mvn install -pl subproj1,subproj2

PS: another good Maven team: mvn -?

+14
source

All Articles