Re: Can we define a plugin with different configuration in multi module pom project

2010-06-27 Thread Anders Hammar
Any workaround if I wanted to stick > to 2.x? > ...Sachin > > > > > > From: Anders Hammar > To: Maven Users List > Sent: Sun, 27 June, 2010 5:02:15 PM > Subject: Re: Can we define a plugin with different configuration in multi > m

Re: Can we define a plugin with different configuration in multi module pom project

2010-06-27 Thread Sachin Jain
Thanks Anders for quick clarification. Any workaround if I wanted to stick to 2.x? ...Sachin From: Anders Hammar To: Maven Users List Sent: Sun, 27 June, 2010 5:02:15 PM Subject: Re: Can we define a plugin with different configuration in multi module pom

Re: Can we define a plugin with different configuration in multi module pom project

2010-06-27 Thread Anders Hammar
You've run into a limitation/bug of Maven 2.x, where all executions of a plugin in a multi-module project has the same classpath. It has been fixed in Maven 3 (since one of the alphas). /Anders On Sun, Jun 27, 2010 at 12:31, Sachin Jain wrote: > There is a top level pom.xml which calls two sub

Can we define a plugin with different configuration in multi module pom project

2010-06-27 Thread Sachin Jain
There is a top level pom.xml which calls two sub modules as below: module1 module2 Where module2 is dependent on module1 The xjc plugin configuration in module1 pom.xml is as below: com.sun.tools.xjc.maven2 maven-jaxb-