maven - How to build all modules from a certain aggregator project and all dependencies of those modules? -


with maven, can specify list of projects build (-pl) , indicate dependencies of listed projects should build (-am), example:

mvn install -pl examplegroup:exampleartifactid -am

is there way specify projects build should projects given aggregator pom? have tried enter aggregator project -pl option, doesn't seem build configured modules @ all.

example:

examplegroup:a has:

<modules>     <module>b</module>     <module>c</module> </modules> 

examplegroup:b has:

<modules>     <module>d</module>     <module>e</module> </modules> 

now want build both d , e , dependencies. if there dependency d or e c, build modules. if there no dependency, d , e should build.


Comments

Popular posts from this blog

java - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -