Uploaded image for project: 'Maven Antrun Plugin'
  1. Maven Antrun Plugin
  2. MANTRUN-110

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

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4
    • Labels:
      None

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pgier Paul Gier
                Reporter:
                rothera bruce weertman
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: