you need to add the custom task's jar as a dependency for the antrun ****plugin****
also note that in a multi-module build, the first module to load a plugin defines the classpath of the plugin for all subsequent modules in the same reactor execution. 2008/12/3 Ricardo Mayerhofer <[EMAIL PROTECTED]> > > I've a ant task that runs fine on ant, but fails on maven ant run plugin. > The > ant task is not able to find a class defined on my system's classpath. > I guess maven ant run has it's own classpath (maven.plugin.classpath?) Is > it > possible to set the plugin classpath and tells it to use my system > classpath? > -- > View this message in context: > http://www.nabble.com/Maven-Ant-Run-plugin-tp20817803p20817803.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >