I tried, but get the following error. I use Maven 3.0 and jdk1.6.0_21. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.6: run (update-env) on project devEnv-build-pom: Execution update-env of goal org.a pache.maven.plugins:maven-antrun-plugin:1.6:run failed: An API incompatibility w as encountered while executing org.apache.maven.plugins:maven-antrun-plugin:1.6: run: java.lang.NoSuchMethodError: org.apache.tools.ant.launch.Locator.fromJarURI (Ljava/lang/String;)Ljava/lang/String;
How to solve it? -----Original Message----- From: Paul Gier [mailto:[email protected]] Sent: Tuesday, October 12, 2010 10:00 AM To: [email protected]; [email protected] Cc: Maven Developers List Subject: [ANN] Maven Antrun Plugin 1.6 Released The Maven team is pleased to announce the release of the Maven Antrun Plugin, version 1.6 This plugin provides the ability to run Ant tasks in a Maven build. See the plugin's site for more details: http://maven.apache.org/plugins/maven-antrun-plugin/ You should specify the version in your project's plugin configuration: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <version>1.6</version> </plugin> Enjoy, -The Maven team Release Notes - Maven 2.x Antrun Plugin - Version 1.6 ** Bug * [MANTRUN-152] - Embedded task "attachartifact" does not work without classifier * [MANTRUN-154] - Antrun double decodes xml escapes * [MANTRUN-155] - Encoding issue with created build-main.xml ** Improvement * [MANTRUN-150] - Update site docs to reflect change to "target" instead of "tasks" --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
