Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0-alpha-1
-
None
Description
The build for plexus-classworlds is currently failing because the POM snippet:
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <version>2.0</version> <executions> <execution> <phase>generate-test-resources</phase> <goals> <goal>copy</goal> </goals> <configuration> <artifactItems> <artifactItem> <groupId>ant</groupId> <artifactId>ant</artifactId> <version>1.6.5</version> </artifactItem> <artifactItem> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> <version>1.0.3</version> </artifactItem> <artifactItem> <groupId>xml-apis</groupId> <artifactId>xml-apis</artifactId> <version>1.3.02</version> </artifactItem> </artifactItems> <outputDirectory>${project.build.directory}/test-lib</outputDirectory> </configuration> </execution> </executions> </plugin>
ends up as the effective POM
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <version>2.0</version> <executions> <execution> <phase>generate-test-resources</phase> <goals> <goal>copy</goal> </goals> <configuration> <artifactItems> <artifactItem> <groupId>ant</groupId> <artifactId>ant</artifactId> <version>1.6.5</version> </artifactItem> </artifactItems> <outputDirectory>${project.build.directory}/test-lib</outputDirectory> </configuration> </execution> </executions> </plugin>
i.e. all but the first <artifactItem> element are lost.
Attachments
Issue Links
- relates to
-
MNG-3995 Configuration Property Lost In Join of PluginManagement/Plugin
- Closed