You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Lars Francke (JIRA)" <ji...@apache.org> on 2010/09/10 22:54:34 UTC

[jira] Commented: (HBASE-2982) Maven 3 doesn't like duplicate dependencies in hbase/pom.xml

    [ https://issues.apache.org/jira/browse/HBASE-2982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12908186#action_12908186 ] 

Lars Francke commented on HBASE-2982:
-------------------------------------

I'm going to/have fix all of those in another ticket (at least I think there's already another one for that).

> 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
>   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.