You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Carlos Sanchez (JIRA)" <ji...@codehaus.org> on 2008/07/16 01:53:26 UTC
[jira] Closed: (MANTRUN-80) skipping ant execution fails
[ http://jira.codehaus.org/browse/MANTRUN-80?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carlos Sanchez closed MANTRUN-80.
---------------------------------
Assignee: Carlos Sanchez
Resolution: Duplicate
>From my understanding the problem is that the docs reference 1.2 version that is not yet released, but it's on its way
> skipping ant execution fails
> ----------------------------
>
> Key: MANTRUN-80
> URL: http://jira.codehaus.org/browse/MANTRUN-80
> Project: Maven 2.x Antrun Plugin
> Issue Type: Bug
> Affects Versions: 1.1
> Reporter: Hartmut Schroeder
> Assignee: Carlos Sanchez
>
> Skipping ant execution
> I'm using Maven 2.0.8 and Ant 1.7.0.
> The Maven doc explains as follows:
> <plugin>
> <artifactId>maven-antrun-plugin</artifactId>
> <inherited>false</inherited>
> <executions>
> <execution>
> <phase>generate-resources</phase>
> <configuration>
> <tasks unless="maven.test.skip">
> <echo message="To skip me, just call mvn -Dmaven.test.skip=true"/>
> </tasks>
> </configuration>
> <goals>
> <goal>run</goal>
> </goals>
> </execution>
> </executions>
> </plugin>
> That doesn't work. The ant code is executed regardless of -Dmaven.test.skip=true or not
--
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