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

Messed up maven.dependency.classpath when using maven-antrun-plugin-1.1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1
    • 1.2
    • None
    • suse10, maven-2.0.1, maven-antrun-plugin-1.1.

    Description

      When running embedded ant tasks inside the pom, and trying to retrieve the maven.dependency.classpath,
      it is messed up. Works fine in the 1.0 version of the plugin, but not in 1.1.

      How to reproduce:
      In pom.xml include something like:
      [..]
      <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-antrun-plugin</artifactId>
      <version>1.1</version>
      <executions>
      <execution>
      <id>test-compile</id>
      <phase>compile</phase>
      <configuration>
      <tasks>
      <property name="mdc" refid="maven.dependency.classpath"/>
      <echo>MDC: ${mdc}</echo>
      </tasks>
      </configuration>
      <goals>
      <goal>run</goal>
      </goals>
      </execution>
      </executions>
      </plugin>
      [..]

      Attachments

        Activity

          People

            carlos Carlos Sanchez Gonzalez
            rohnny Rohnny Moland
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: