There is a top level pom.xml which calls two sub
modules as below:
modules
modulemodule1/module
modulemodule2/module
/modules
Where module2 is dependent on module1
The xjc plugin configuration in module1 pom.xml is as below:
build
plugins
plugin
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 sac...@yahoo.co.in wrote:
There is a top level pom.xml
Thanks Anders for quick clarification. Any workaround if I wanted to stick to
2.x?
...Sachin
From: Anders Hammar and...@hammar.net
To: Maven Users List users@maven.apache.org
Sent: Sun, 27 June, 2010 5:02:15 PM
Subject: Re: Can we define a plugin with
You need to unify the classpath for the plugin. Which, in your case, means
that you need to refactor your projects.
This issue is just one of the reasons I always recommend going Maven 3.
/Anders
On Sun, Jun 27, 2010 at 13:35, Sachin Jain sac...@yahoo.co.in wrote:
Thanks Anders for quick