Details
-
Wish
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.0.4
-
None
-
None
-
Not of importance.
Description
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 .