felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Offermans (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (FELIX-2677) duplicate entry in pom.xml (dependencymanager and dependencymanager/annotation) for org.apache.maven:maven-plugin-api:jar
Date Sun, 28 Nov 2010 09:14:37 GMT

     [ https://issues.apache.org/jira/browse/FELIX-2677?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Marcel Offermans reassigned FELIX-2677:
---------------------------------------

    Assignee: Marcel Offermans

> duplicate entry in pom.xml (dependencymanager and dependencymanager/annotation) for org.apache.maven:maven-plugin-api:jar
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-2677
>                 URL: https://issues.apache.org/jira/browse/FELIX-2677
>             Project: Felix
>          Issue Type: Bug
>          Components: Dependency Manager
>            Reporter: Marco Poehler
>            Assignee: Marcel Offermans
>            Priority: Trivial
>         Attachments: dependencymanager_annotation_fix.txt, dependencymanager_fix.txt
>
>   Original Estimate: 0.33h
>  Remaining Estimate: 0.33h
>
> After checkout http://svn.apache.org/repos/asf/felix/trunk, running "mvn -Dpackaging=plugins
install" with no problems. But running "mvn -Dpackaging=bundle install" causes the following
error:
> [INFO] Scanning for projects...
> [ERROR] The build could not read 1 project -> [Help 1]
> [ERROR]   The project org.apache.felix:dependencymanager-reactor:3.0.0-SNAPSHOT (/home/mpoehl01/workspace/trunk/dependencymanager/pom.xml)
has 1 error
> [ERROR]     'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)'
must be unique: org.apache.maven:maven-plugin-api:jar -> duplicate declaration of version
2.0
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please read the
following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
> There is simply a duplicate entry in dependencymanager/pom.xml, and the same with dependencymanager/annotations/pom.xml.
The duplicate entry is:
>                         <dependency>
> 				<groupId>org.apache.maven</groupId>
> 				<artifactId>maven-plugin-api</artifactId>
> 				<version>2.0</version>
> 			</dependency>
> Delete one in both poms and everything will work fine.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message