Author: pgier
Date: Mon Jun 29 15:48:42 2009
New Revision: 789366

URL: http://svn.apache.org/viewvc?rev=789366&view=rev
Log:
[MANTRUN-110] Fix documentation about using properties to access dependencies.

Modified:
    maven/plugins/trunk/maven-antrun-plugin/src/site/apt/examples/classpaths.apt

Modified: 
maven/plugins/trunk/maven-antrun-plugin/src/site/apt/examples/classpaths.apt
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-antrun-plugin/src/site/apt/examples/classpaths.apt?rev=789366&r1=789365&r2=789366&view=diff
==============================================================================
--- 
maven/plugins/trunk/maven-antrun-plugin/src/site/apt/examples/classpaths.apt 
(original)
+++ 
maven/plugins/trunk/maven-antrun-plugin/src/site/apt/examples/classpaths.apt 
Mon Jun 29 15:48:42 2009
@@ -144,9 +144,10 @@
 ------
 
 
- You can also use the path to each dependency artifact
+ You can also use the path to each dependency artifact.  A property is set for 
each dependency with the
+ format "maven.dependency.groupId.artifactId[.classifier].type.path".  For 
example to show the path
+ to a dependency with groupId "org.apache" and artifactId "common-util", the 
following could be used.
 
 ------
-<property name="mvn.dependency.jar" 
refid="maven.dependency.my.group.id:my.artifact.id:classifier:jar.path"/>
-<echo message="My Dependency JAR-Path: ${mvn.dependency.jar}"/> 
+<echo message="My Dependency JAR Path: 
${mvn.dependency.org.apache.common-util.jar.path}"/> 
 ------


Reply via email to