Author: pgier
Date: Thu Oct  2 11:58:22 2008
New Revision: 701210

URL: http://svn.apache.org/viewvc?rev=701210&view=rev
Log:
[MANTTASKS-114] Small site improvement.  Add an example of using the properties 
that are set during dependency resolution.

Modified:
    maven/site/trunk/src/site/apt/ant-tasks.apt

Modified: maven/site/trunk/src/site/apt/ant-tasks.apt
URL: 
http://svn.apache.org/viewvc/maven/site/trunk/src/site/apt/ant-tasks.apt?rev=701210&r1=701209&r2=701210&view=diff
==============================================================================
--- maven/site/trunk/src/site/apt/ant-tasks.apt (original)
+++ maven/site/trunk/src/site/apt/ant-tasks.apt Thu Oct  2 11:58:22 2008
@@ -478,8 +478,14 @@
 </copy>
 -----
 
-  <(since 2.0.8)> For each dependency resolved, the property 
<<<groupId:artifactId:type[:classifier]>>> is defined pointing to
-  the corresponding file.
+  <(since 2.0.8)> For each dependency resolved using either inline declaration 
or a pom reference, the property 
+  <<<groupId:artifactId:type[:classifier]>>> is defined pointing to the 
corresponding file.  For example,
+  a resolved dependency on junit can be accessed in the following way.
+  
+-----
+<echo message="JUnit jar file downloaded to ${junit:junit:jar}"/>
+-----
+  
 
 ** <<<dependency>>>
 


Reply via email to