[ http://jira.codehaus.org/browse/MNG-2361?page=all ]
Vincent Siveton closed MNG-2361.
--------------------------------
Assignee: Vincent Siveton
Resolution: Fixed
Fix Version/s: (was: 2.0.6)
2.0.5
Patch applied. Thanks!
> Document pomRefId attribute for M2 ant tasks on M2 website.
> -----------------------------------------------------------
>
> Key: MNG-2361
> URL: http://jira.codehaus.org/browse/MNG-2361
> Project: Maven 2
> Issue Type: Wish
> Components: Ant tasks
> Affects Versions: 2.0.4
> Environment: Not of importance.
> Reporter: Davy Toch
> Assigned To: Vincent Siveton
> Priority: Minor
> Fix For: 2.0.5
>
> Attachments: patch.txt
>
>
> Consider the following ANT script:
> <project name="test" default="test"
> xmlns:m="antlib:org.apache.maven.artifact.ant">
> <target name="test">
> <m:pom id="POM" file="pom.xml"/>
> <m:dependencies>
> <pom refId="POM"/>
> </m:dependencies>
> <m:install file="...">
> <pom refId="POM"/>
> </m:install>
> <m:deploy file="...">
> <pom refId="POM"/>
> </m:deploy>
> </target>
> </project>
> The following **undocumented** shorthand notation is available:
> <project name="test" default="test"
> xmlns:m="antlib:org.apache.maven.artifact.ant">
> <target name="test">
> <m:pom id="POM" file="pom.xml"/>
> <m:dependencies pomRefid="POM"/>
> <m:install file="..." pomRefId="POM"/>
> <m:deploy file="..." pomRefId="POM"/>
> </target>
> </project>
> The shorter, the better :-).
--
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