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

Nick Dimiduk updated HBASE-26906:
---------------------------------
    Status: Patch Available  (was: Open)

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

Reply via email to