[ http://jira.codehaus.org/browse/MANTRUN-44?page=all ]
Carlos Sanchez updated MANTRUN-44:
----------------------------------
type: New Feature (was: Bug)
There's no such functionality yet.
> No way to skip antrun when -Dmaven.test.skip is set
> ---------------------------------------------------
>
> Key: MANTRUN-44
> URL: http://jira.codehaus.org/browse/MANTRUN-44
> Project: Maven 2.x Antrun Plugin
> Type: New Feature
> Reporter: Dan Diephouse
> Fix For: 1.2
>
>
> I can't figure out a way to not have the ant-run plugin execute when in the
> generate-test-resources phase and -Dmaven.test.skip is set.
> I think we need something like:
> <configuration>
> <tasks unless="${maven.test.skip}>
> ...
> </tasks>
> </configuration>
> Kenney on IRC suggested that it might work with the current Ant plugin, but
> my attempts were unsuccessful.
--
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