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

 

Reply via email to