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


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

        

Reply via email to