Hi

 

We work with profiles in maven as 

 

Mvn -Pprofile1,profile2

 

On pom

 

<profiles>

<profile>

            <id>profile1</id>

<build>

<plugin>

...         

</plugin>

</build>

<profile>

<profile>

            <id>profile2</id>

<build>

<plugin>

...         

</plugin>

</build>

<profile>

</profiles>

 

In this case both the builds are different .Consider a case where we have a 
comman build tasks in 

Both tasks but some ½ different build tasks (plugins) to be different , Is 
there a way to specify one common build which

Will always execute and one which will execute plugins on basis of profile

 

 

Thanks

nishant

 

Reply via email to