Hi Markus,

Markus Jostock wrote at Montag, 9. Februar 2009 15:48:

> Dear all
> 
> In a sub-module of a multi-module project I parse an XML file via Xalan
> (using antrun and a <java> task).
> 
> While it works fine when I run mvn in the sub-module, it fails when I
> run mvn in the superior parent module, although I put a dependency to
> Xalan in the antrun plugin definition.
> 
> Would anyone have an idea what could cause this classpath problem (if it
> is any)?

If you run a different instacne of the ant-run-plugin first that does not
declare this dep. Each plugin is loaded once and only. Use a common parent
with a pluginMgmt section that declares this plugin with all necessary deps
for the overall build.

- Jörg


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to