Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-26906

Remove duplicate dependency declaration

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.5.0, 2.6.0
    • 2.5.0
    • build
    • None

    Description

      On branch-2 derivatives, I noticed on PR builds of JDK11+Hadoop3 that running tests with -pl results in a warning from maven

      [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] 
      

      I think they're harmless, but we should clean them up.

      Attachments

        Activity

          People

            ndimiduk Nick Dimiduk
            ndimiduk Nick Dimiduk
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: