[ http://jira.codehaus.org/browse/MNG-2361?page=comments#action_75327 ] Dennis Lundberg commented on MNG-2361: --------------------------------------
The source for that document is here: http://svn.apache.org/repos/asf/maven/site/trunk/src/site/apt/ant-tasks.apt > 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 > Priority: Minor > Fix For: 2.0.5 > > > 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