Details
-
Type:
Wish
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.0.4
-
Fix Version/s: 2.0.6
-
Component/s: None
-
Labels:None
-
Environment:Not of importance.
-
Number of attachments :
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
.
Hi,
if one of the maven developers would write down in this bug report where is the source for http://maven.apache.org/ant-tasks.html in Subversion, it should be possible to fix that.
Regards,
Antoine