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

Lars Francke resolved HBASE-2982.
---------------------------------

     Release Note: Fixed as part of HBASE-2996
         Assignee: Lars Francke
    Fix Version/s: 0.90.0
       Resolution: Fixed

> Maven 3 doesn't like duplicate dependencies in hbase/pom.xml
> ------------------------------------------------------------
>
>                 Key: HBASE-2982
>                 URL: https://issues.apache.org/jira/browse/HBASE-2982
>             Project: HBase
>          Issue Type: Bug
>          Components: build
>         Environment: Using eclipse maven plugin that forces usage of embedded 
> Maven 3 for dependency resolution.
>            Reporter: James Kennedy
>            Assignee: Lars Francke
>             Fix For: 0.90.0
>
>   Original Estimate: 0.33h
>  Remaining Estimate: 0.33h
>
> An install of the latest maven plugin resolves dependencies with Maven 3.
> Maven 3 does not like the fact that several dependencies in the main pom.xml 
> are duplicated.
> Below is the error message which can be fixed by removing:
> * The 2nd com.google.guava dependency from the "Test dependencies" section
> * both org.slf4j dependencies from the "Avro dependencies" section 
> 9/10/10 11:15:50 AM PDT: Build errors for hbase; 
> org.apache.maven.project.ProjectBuildingException: Some problems were 
> encountered while processing the POMs:
> [WARNING] 'version' contains an expression but should be a constant. @ 
> org.apache.hbase:hbase:${hbase.version}, /opt/eclipse/troove/hbase/pom.xml
> [ERROR] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must 
> be unique: org.slf4j:slf4j-log4j12:jar -> duplicate declaration of version 
> ${slf4j.version} @ org.apache.hbase:hbase:${hbase.version}, 
> /opt/eclipse/troove/hbase/pom.xml
> [ERROR] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must 
> be unique: org.slf4j:slf4j-api:jar -> duplicate declaration of version 
> ${slf4j.version} @ org.apache.hbase:hbase:${hbase.version}, 
> /opt/eclipse/troove/hbase/pom.xml
> [ERROR] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must 
> be unique: com.google.guava:guava:jar -> duplicate declaration of version 
> ${guava.version} @ org.apache.hbase:hbase:${hbase.version}, 
> /opt/eclipse/troove/hbase/pom.xml
> [WARNING] 'build.plugins.plugin.version' is missing for 
> org.codehaus.mojo:build-helper-maven-plugin @ 
> org.apache.hbase:hbase:0.89-SNAPSHOT-withHLogSplit, 
> /opt/eclipse/troove/hbase/pom.xml

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

Reply via email to