Maven Antrun Plugin
  1. Maven Antrun Plugin
  2. MANTRUN-110

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

    Details

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

      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

        Issue Links

          Activity

          Show
          Carlos Sanchez added a comment - Agreed, the format in the docs is wrong http://maven.apache.org/plugins/maven-antrun-plugin/xref/org/apache/maven/plugin/antrun/AntPropertyHelper.html#87
          Hide
          Paul Gier added a comment -

          Fixed in r789366

          Show
          Paul Gier added a comment - Fixed in r789366

            People

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

              Dates

              • Created:
                Updated:
                Resolved: