mistake in antrun docs: refid="maven.dependency....
---------------------------------------------------

                 Key: MNGSITE-84
                 URL: http://jira.codehaus.org/browse/MNGSITE-84
             Project: Maven 2 Project Web Site
          Issue Type: Bug
            Reporter: bruce weertman


Hope I'm posting this to the right place!

On the bottom of the web page:
http://maven.apache.org/plugins/maven-antrun-plugin/examples/classpaths.html

You'll see:
<property name="mvn.dependency.jar" 
refid="maven.dependency.my.group.id:my.artifact.id:classifier:jar.path"/>

This is wrong !

should say:
<property name="mvn.dependency.jar" 
value="${maven.dependency.my.group.id.my.artifact.id.classifier.jar.path}"/>

I figured this out by looking at  AntPropertyHelper.java line 87 which can be 
found in
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.3/maven-antrun-plugin-1.3-sources.jar


-- 
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

        

Reply via email to