[
https://issues.apache.org/jira/browse/HBASE-2982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12909443#action_12909443
]
Lars Francke commented on HBASE-2982:
-------------------------------------
As per discussion on IRC I've created an issue to capture all the changes to
the pom for the 0.90 release: HBASE-2996. This change is part of the patch I've
just uploaded to that issue.
> 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.