Document pomRefId attribute for M2 ant tasks on M2 website. -----------------------------------------------------------
Key: MNG-2361 URL: http://jira.codehaus.org/browse/MNG-2361 Project: Maven 2 Type: Wish Components: Ant tasks Versions: 2.0.4 Environment: Not of importance. Reporter: Davy Toch Priority: Minor 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