Hi Edwin, sorry, I wanted to post yesterday, but JIRA was down.
You were right, <executions> is inherited. Yet, <dependencies> is not, hence my test failure.
Should I close this issue and create another one for <dependencies> ?
mvn help:effective-pom gives :
~ <pluginManagement>
~ <plugins>
~ <plugin>
~ <artifactId>maven-antrun-plugin</artifactId>
~ <executions>
~ <execution>
~ <phase>process-resources</phase>
~ <goals>
~ <goal>run</goal>
~ </goals>
~ <configuration>
~ <tasks>
~ <ant antfile="replace.xml"></ant>
~ </tasks>
~ </configuration>
~ </execution>
~ </executions>
~ <dependencies>
~ <dependency>
~ <groupId>ant</groupId>
~ <artifactId>ant-nodeps</artifactId>
~ <version>1.6.5</version>
~ </dependency>
~ </dependencies>
~ </plugin>
~ </plugins>
~ </pluginManagement>
~ <plugins>
~ <plugin>
~ <artifactId>maven-antrun-plugin</artifactId>
~ <executions>
~ <execution>
~ <phase>process-resources</phase>
~ <goals>
~ <goal>run</goal>
~ </goals>
~ <configuration>
~ <tasks>
~ <ant antfile="replace.xml"></ant>
~ </tasks>
~ </configuration>
~ </execution>
~ </executions>
~ </plugin>
Hi. The patch in
MNG-1499released with 2.0.1 could have fixed this.... I tried it on my machine and found the executions to be inherited.Can you try using 2.0.1 and see if its fixed?
MNG-1499released with 2.0.1 could have fixed this.... I tried it on my machine and found the executions to be inherited. Can you try using 2.0.1 and see if its fixed?