maven 3 - How to run a specific goal on a multi-module project? -


i have multiple modules , have clean install goals run against set of modules , followed have clean tomcat7:deploy run against specific module. has done in incremental manner.

i know can run in 2 command line statements, this:

mvn -pl modulea,moduleb,modulec clean install mvn -pl moduled clean tomcat7:deploy 

is possible consolidate these above 2 statements one?

or, in case, moduled dependent on modulea, moduleb , modulec, rather use -am flag (also make):

mvn -am -pl moduled clean tomcat7:deploy 

but tomcat7:deploy not applicable dependent modules a, b, , c.

how can accomplish this?


Comments

Popular posts from this blog

matlab - Deleting rows with specific rules -

php - MySQLi multi_query results for later use -