[ 
http://jira.codehaus.org/browse/MANTRUN-80?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=138335#action_138335
 ] 

Carl Hall commented on MANTRUN-80:
----------------------------------

See MANTRUN-75.  The fix seems to be that this plugin should use ant-1.7.0 
rather than 1.6.5.  I've included a patch for the pom to rebuild the plugin 
accordingly.

> 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