Hello Marco,
After two hard days, I finaly found a solution.
You have to used the scope provided for your dependency
and to use the 1.2-SNAPSHOT version of the maven-antrun-plugin.
This does not work with the previous versions (1.1 and 1.0).
So you must have :
<dependency>
<artifactId>xdoclet-ejb-module</artifactId>
<groupId>xdoclet</groupId>
<version>1.2.3</version>
<type>jar</type>
<scope>provided</scope>
</dependency>
[...]
and
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.2-SNAPSHOT</version>
[...]
A better solution would be to use the plugin dependencies but it does not
work for me.
http://www.nabble.com/-M2--maven.plugin.classpath-tf2292286.html#a6366996
The best solution would be to use the xdoclet-maven-plugin but as you know
it's also
not working
http://www.nabble.com/-M2--Struts-and-XDoclet-tf1775233.html#a4832525
If somebody have a solution, it would be great !
Hope this help,
Rémy
|