Seems to be realted to the allready known issue MANTRUN-63.
Putting all my antrun dependencies in the parent pom pluginManagement solves
this,
This is a workaround, but cannot be used if incompatible classpath are
required for multiple antrun executions.
Nico.
2007/11/12, nicolas de loof
Hello,
My project uses the antrun plugin to invoke some custom ant tasks that have
not (yet) be re-written as mojos. Thos task generate some code ant are tied
to the generate-source phase
When I build the project modules all works fine.
When I run the eclipse:eclipse goal from the parent
Might be a configuration-error. Please post the part of your POM where the
ant-run is configured!
On Friday 09 November 2007 15:41, nicolas de loof wrote:
Hello,
My project uses the antrun plugin to invoke some custom ant tasks that have
not (yet) be re-written as mojos. Thos task generate
Here is my antrun configuration. As you can see, I'm setting some plugin
dependencies.
I'm also using antrun in another module to run a java command line class
from sql2java, set as plugin dependency.
On the second antrun execution, it's classpath is set from the first one
(sql2java) and not the
If one of the ant-runs is defined in a parent to the other, try adding
inheritedfalse/inherited...
On Friday 09 November 2007 16:15, nicolas de loof wrote:
Here is my antrun configuration. As you can see, I'm setting some plugin
dependencies.
I'm also using antrun in another module to run a
Not the case.
I only have a parent pom to group modules, and all modules are on the same
hierarchival level.
2007/11/9, Roland Asmann [EMAIL PROTECTED]:
If one of the ant-runs is defined in a parent to the other, try adding
inheritedfalse/inherited...
On Friday 09 November 2007 16:15,
And the ant-run is defined in the parent? Or in the separate modules?
On Friday 09 November 2007 16:47, nicolas de loof wrote:
Not the case.
I only have a parent pom to group modules, and all modules are on the same
hierarchival level.
2007/11/9, Roland Asmann [EMAIL PROTECTED]:
If one of
parent (POM) - no plugin used
|- module1 : antrun for sql2java, with custom plugin dependencies
|- module 2 (depends on module1) : antrun for castor, with custom plugin
dependencies
module2 fails, and antrun classpath is set to modul1 configuration
I'll try to setup a demonstation project for