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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.4
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: