-
Bug
-
Resolution: Done
-
Major
-
4.1.0.CR1
maven is complaining about a malformed pom:
[WARNING] Some problems were encountered while building the effective model for org.jboss.tools.forge.tests:org.jboss.tools.forge.ui.bot.test:eclipse-test-plugin:4.1.0-SNAPSHOT [WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-dependency-plugin @ line 52, column 13 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING]
There are two definitions of the maven-dependency-plugin. They need to be merged.
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> <id>install-as-7.1.1</id> <phase>pre-integration-test</phase> <goals> <goal>unpack</goal> </goals> <configuration> <artifactItems> <artifactItem> <groupId>org.jboss.as</groupId> <artifactId>jboss-as-dist</artifactId> <version>7.1.1.Final</version> <type>zip</type> </artifactItem> </artifactItems> <skip>${skipRequirements}</skip> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> <id>forge-runtime-1.2.0</id> <phase>pre-integration-test</phase> <goals> <goal>unpack</goal> </goals> <configuration> <artifactItems> <artifactItem> <groupId>org.jboss.forge</groupId> <artifactId>forge-distribution</artifactId> <version>1.2.0.Final</version> <type>zip</type> </artifactItem> </artifactItems> <skip>${skipRequirements}</skip> </configuration> </execution> </executions> </plugin>