Error in "Referencing the Maven Classpaths" documentation ----------------------------------------------------------
Key: MANTRUN-159 URL: http://jira.codehaus.org/browse/MANTRUN-159 Project: Maven 2.x Antrun Plugin Issue Type: Bug Affects Versions: 1.6 Reporter: David Cramer On the page https://maven.apache.org/plugins/maven-antrun-plugin/examples/classpaths.html it says: "A property is set for each dependency with the format "groupId:artifactId[:classifier]:type". For example, to show the path to a dependency with groupId "org.apache" and artifactId "common-util", the following could be used." The position of the classifier in the property is not accurate, however. Through trial and error, I have determined that it is instead: groupId:artifactId:type[:classifier] So for the following: <dependency> <groupId>net.sf.docbook</groupId> <artifactId>docbook-xml</artifactId> <type>zip</type> <classifier>resources</classifier> <version>${docbook.schema.version}-all</version> </dependency> This works: $${net.sf.docbook:docbook-xsl:zip:ns-resources}= ${net.sf.docbook:docbook-xsl:zip:ns-resources} But this does not work: $${net.sf.docbook:docbook-xsl:ns-resources:zip}= ${net.sf.docbook:docbook-xsl:ns-resources:zip} Change the sentence to the following. "A property is set for each dependency with the format "groupId:artifactId:type[:classifier]". For example, to show the path to a dependency with groupId "org.apache" and artifactId "common-util", the following could be used." It might be helpful to include an example that has a classifier as well. -- 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