It is happening during a multi-module build, but it also occurs when I run that individual project in isolation. How would I give you the listing of other plugins being used (beyond maven-ant-run I am using just the default java project plugin maven-compiler-plugin)
I am additionally using the ant-contrib 1.0b3 library included as a dependency in the maven-ant-run plugin (along with some other application specific dependencies not directly ANT related). Here's the full pom.xml plugin definition (inside a "liquibase-diff" profile): <profile> <id>liquibase-diff</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins </groupId> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution> <phase>install</phase> <goals> <goal>run</goal> </goals> </execution> </executions> <configuration> <tasks> <echo>PERFORMING LIQUIBASE FUNCTIONS</echo> <property name="compile_classpath" refid="maven.compile.classpath" /> <property name="runtime_classpath" refid="maven.runtime.classpath" /> <property name="test_classpath" refid="maven.test.classpath" /> <property name="plugin_classpath" refid="maven.plugin.classpath" /> <property name="project_classpath" value="${project.build.directory}/classes" /> <property name="liquibaseDir" value="${basedir}/src/main/resources/changelogs/mysql/complete" /> <property name="changeLogFile" value="${liquibaseDir}/liquibase.changelog.xml" /> <property name="outputFile" value="${liquibaseDir}/liquibase-update.sql" /> <ant antfile="liquibase-build.xml"> <target name="diffDatabaseToChangeLog" /> </ant> </tasks> </configuration> <dependencies> <dependency> <groupId>org.liquibase</groupId> <artifactId>liquibase-core</artifactId> <version>1.9.3</version> </dependency> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java </artifactId> <version>5.1.6</version> </dependency> <dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate</artifactId> <version>3.2.6.ga</version> </dependency> <dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-annotations </artifactId> <version>3.4.0.GA</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-jdk14</artifactId> <version>1.5.6</version> </dependency> <dependency> <groupId>apache-log4j</groupId> <artifactId>log4j</artifactId> <version>1.2.14</version> </dependency> <dependency> <groupId>ant-contrib</groupId> <artifactId>ant-contrib</artifactId> <version>1.0b3</version> </dependency> </dependencies> </plugin> -----Original Message----- From: news [mailto:n...@ger.gmane.org] On Behalf Of Jörg Schaible Sent: Thursday, October 08, 2009 11:35 AM To: users@maven.apache.org Subject: Re: maven-ant-run plugin 1.3 error java.lang.NoSuchMethodError: org.apache.tools.ant.util.FileUtils.close 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