Hmm maybe it's as simple as that: the maven-antrun-plugin only has the core dependencies on board. If your ant scripts make use of additional functions, you have to add those jars as dependencies. E.g.:
> <plugin> > <artifactId>maven-antrun-plugin</artifactId> > ... > <dependencies> > <dependency> > <groupId>ant</groupId> > <artifactId>ant-nodeps</artifactId> > <version>1.6.5</version> > </dependency> > </dependencies> > </plugin> LieGrue, strub --- On Thu, 10/8/09, Jörg Schaible <joerg.schai...@gmx.de> wrote: > From: Jörg Schaible <joerg.schai...@gmx.de> > Subject: Re: maven-ant-run plugin 1.3 error java.lang.NoSuchMethodError: > org.apache.tools.ant.util.FileUtils.close > To: users@maven.apache.org > Date: Thursday, October 8, 2009, 6:35 PM > Hi Doug, > > Doug Daniels wrote: > > > I'm building a maven project that uses the > maven-ant-run plugin and I'm > > getting an error about a missing method from Ant. > > Does this happen in a multi-project build or when you try > to build the > project directly? Which other plugins did run before the > install phase? > > - Jörg > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org