[jbosstools-issues] [JBoss JIRA] (JBIDE-15117) Duplicate plugin definition in forge intergration test pom

Martin Malina (JIRA) jira-events at lists.jboss.org
Tue Jul 9 09:31:22 EDT 2013


     [ https://issues.jboss.org/browse/JBIDE-15117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Malina closed JBIDE-15117.
---------------------------------



Verified this is fixed - maven no longer complains.
                
> Duplicate plugin definition in forge intergration test pom
> ----------------------------------------------------------
>
>                 Key: JBIDE-15117
>                 URL: https://issues.jboss.org/browse/JBIDE-15117
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: QA
>    Affects Versions: 4.1.0.CR1
>            Reporter: Martin Malina
>            Assignee: Martin Malina
>              Labels: respin-a
>             Fix For: 4.1.0.CR1
>
>
> maven is complaining about a malformed pom:
> {code}
> [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] 
> {code}
> https://github.com/jbosstools/jbosstools-integration-tests/blob/master/tests/org.jboss.tools.forge.ui.bot.test/pom.xml
> There are two definitions of the maven-dependency-plugin. They need to be merged.
> {code}
>  			<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>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list