[
http://jira.codehaus.org/browse/MANTRUN-159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Paul Gier closed MANTRUN-159.
-----------------------------
Resolution: Fixed
Fix Version/s: 1.7
Assignee: Paul Gier
Fixed in [r1040265|http://svn.apache.org/viewvc?view=revision&revision=1040265].
> 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
> Assignee: Paul Gier
> Fix For: 1.7
>
>
> 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