Hi,
$ mvn --help
usage: mvn [options] [<goal(s)>] [<phase(s)>]
Options:
[...]
-P,--activate-profiles Comma-delimited list of profiles to
activate
-Tim
Sonar, Nishant schrieb:
Hi,
I want to run a selective modules when I am building, my pom hierarchy
is like
* Super- parent
* Parent1
* Ch1
* Ch2
* Parent 2
* Ch1
* Ch2
* Parent 3
* Ch1
* Ch2
* Ch3
I am running pom for super-parent as these are necessary tasks and want
to custom run modules like parent 1 only, parent 1&@ only, parent 3
only, in super-parent.pom I defined profiles as
<profile>
<id>1</id>
<modules>
<module>parent1</module>
</profile>
<profile>
<id>12</id>
<modules>
<module>parent1</module>
<module>parent2</module>
</profile>
<profile>
<id>3</id>
<modules>
<module>parent3</module>
</profile>
<profile>
<id>all</id>
<modules>
<module>parent1</module>
<module>parent2</module>
<module>parent3</module>
</profile>
My intension is to control this selective module build from command line
specifying which modules to build, is it possible?
Regards,
Nishant Sonar
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]