[ http://jira.codehaus.org/browse/MANTRUN-68?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=149624#action_149624 ]
Barrie Treloar commented on MANTRUN-68: --------------------------------------- As a workaround you can do this: (where you can add additional dependencies for your scripting language of choice) {code:xml|title=pom.xml} <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>test</groupId> <artifactId>antrun-1.2-with-ant-1.7.1</artifactId> <packaging>pom</packaging> <name>AntRun 1.2 using Ant 1.7.1</name> <version>1</version> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution> <phase>generate-resources</phase> <configuration> <tasks> <ant antfile="${basedir}/build.xml" /> </tasks> </configuration> <goals> <goal>run</goal> </goals> </execution> </executions> <dependencies> <dependency> <groupId>org.apache.ant</groupId> <artifactId>ant</artifactId> <version>1.7.1</version> </dependency> <dependency> <groupId>org.apache.ant</groupId> <artifactId>ant-launcher</artifactId> <version>1.7.1</version> </dependency> <dependency> <groupId>org.apache.ant</groupId> <artifactId>ant-nodeps</artifactId> <version>1.7.1</version> </dependency> <dependency> <groupId>org.apache.ant</groupId> <artifactId>ant-apache-bsf</artifactId> <version>1.7.1</version> </dependency> <dependency> <groupId>org.apache.bsf</groupId> <artifactId>bsf-all</artifactId> <version>3.0-beta2</version> </dependency> <dependency> <groupId>rhino</groupId> <artifactId>js</artifactId> <version>1.7R1</version> </dependency> </dependencies> </plugin> </plugins> </build> </project> {code} {code:xml|title=build.xml} <?xml version="1.0"?> <project name="myproject" default="run-script"> <target name="run-script"> <antversion property="antversion"/> <echo message="Antrun is using Ant version ${antversion}"/> <script language="javascript"> <![CDATA[ echo = myproject.createTask("echo"); for(var i=0; i<10; i++ ) { echo.setMessage(i); echo.perform(); } ]]> </script> </target> </project> {code} > Use ant-1.7.1 > ------------- > > Key: MANTRUN-68 > URL: http://jira.codehaus.org/browse/MANTRUN-68 > Project: Maven 2.x Antrun Plugin > Issue Type: New Feature > Affects Versions: 1.1 > Environment: xp, linux > Reporter: Dan Tran > Fix For: 1.3 > > Attachments: MANTRUN-68-maven-antrun-plugin.patch > > > with out this upgrade, i will need to <exec> ant 1.7.1 to use its new > features like abily to do delete,move, etc using filelist -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira