[
https://issues.apache.org/jira/browse/HBASE-26906?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nick Dimiduk updated HBASE-26906:
---------------------------------
Affects Version/s: 2.5.0
Hmm. This affects branch-2 and branch-2.5 only. Looking at the blame on 2.5, I
don't see a strong reason for one version or the other. It looks like the
dependency was introduced via HBASE-26691 and includes the extra exclusion. The
second declaration came without the exclusion via HBASE-26802. Before these
changes, there was no explicit mention of this dependency.
> Remove duplicate dependency declaration
> ---------------------------------------
>
> Key: HBASE-26906
> URL: https://issues.apache.org/jira/browse/HBASE-26906
> Project: HBase
> Issue Type: Task
> Components: build
> Affects Versions: 2.5.0, 2.6.0
> Reporter: Nick Dimiduk
> Assignee: Nick Dimiduk
> Priority: Major
>
> On branch-2 derivatives, I noticed on PR builds of JDK11+Hadoop3 that running
> tests with {{-pl}} results in a warning from maven
> {noformat}
> [WARNING]
>
>
> [WARNING] Some problems were encountered while building the effective model
> for org.apache.hbase:hbase-build-configuration:pom:2.6.0-SNAPSHOT
>
> [WARNING]
> 'profiles.profile[hadoop-3.0].dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)'
> must be unique: org.apache.hadoop:hadoop-mapreduce-client-app:test-jar ->
> duplica
> te declaration of version ${hadoop-three.version} @
> org.apache.hbase:hbase:2.6.0-SNAPSHOT,
> /Users/ndimiduk/repos/apache/hbase/pom.xml, line 3816, column 23
>
> [WARNING]
>
>
> [WARNING] Some problems were encountered while building the effective model
> for org.apache.hbase:hbase:pom:2.6.0-SNAPSHOT
>
> [WARNING]
> 'profiles.profile[hadoop-3.0].dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)'
> must be unique: org.apache.hadoop:hadoop-mapreduce-client-app:test-jar ->
> duplica
> te declaration of version ${hadoop-three.version} @ line 3816, column 23
>
>
> [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]
> {noformat}
> I _think_ they're harmless, but we should clean them up.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)