Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-13816

Ambiguous plugin version warning from maven build.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha2
    • Fix Version/s: 3.0.0-alpha2
    • Component/s: None
    • Labels:
      None

      Description

      When we try to build Hadoop with maven, the below warning is shown.

      [WARNING]
      [WARNING] Some problems were encountered while building the effective model for org.apache.hadoop:hadoop-rumen:jar:3.0.0-alpha2-SNAPSHOT
      [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: com.fasterxml.jackson.core:jackson-databind:jar -> duplicate declaration of version (?) @ line 102, column 17
      [WARNING]
      [WARNING] Some problems were encountered while building the effective model for org.apache.hadoop:hadoop-build-tools:jar:3.0.0-alpha2-SNAPSHOT
      [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-remote-resources-plugin is missing. @ org.apache.hadoop:hadoop-build-tools:[unknown-version], /Users/sasakikai/dev/hadoop/hadoop-build-tools/pom.xml, line 80, column 15
      [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-resources-plugin is missing. @ org.apache.hadoop:hadoop-build-tools:[unknown-version], /Users/sasakikai/dev/hadoop/hadoop-build-tools/pom.xml, line 54, column 15
      

      It is required to

      • remove duplicated definition jackson-databind
      • specify the version maven-resource-plugin and maven-remote-resources-plugin.

        Activity

        Hide
        hadoopqa Hadoop QA added a comment -
        -1 overall



        Vote Subsystem Runtime Comment
        0 reexec 0m 0s Docker mode activated.
        -1 docker 3m 49s Docker failed to build yetus/hadoop:a9ad5d6.



        Subsystem Report/Notes
        JIRA Issue HADOOP-13816
        JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12838744/HADOOP-13816.01.patch
        Console output https://builds.apache.org/job/PreCommit-HADOOP-Build/11056/console
        Powered by Apache Yetus 0.4.0-SNAPSHOT http://yetus.apache.org

        This message was automatically generated.

        Show
        hadoopqa Hadoop QA added a comment - -1 overall Vote Subsystem Runtime Comment 0 reexec 0m 0s Docker mode activated. -1 docker 3m 49s Docker failed to build yetus/hadoop:a9ad5d6. Subsystem Report/Notes JIRA Issue HADOOP-13816 JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12838744/HADOOP-13816.01.patch Console output https://builds.apache.org/job/PreCommit-HADOOP-Build/11056/console Powered by Apache Yetus 0.4.0-SNAPSHOT http://yetus.apache.org This message was automatically generated.
        Hide
        hadoopqa Hadoop QA added a comment -
        -1 overall



        Vote Subsystem Runtime Comment
        0 reexec 0m 14s Docker mode activated.
        +1 @author 0m 0s The patch does not contain any @author tags.
        -1 test4tests 0m 0s The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
        0 mvndep 0m 15s Maven dependency ordering for branch
        +1 mvninstall 6m 45s trunk passed
        +1 compile 9m 29s trunk passed
        +1 mvnsite 9m 31s trunk passed
        +1 mvneclipse 1m 5s trunk passed
        +1 javadoc 4m 19s trunk passed
        0 mvndep 0m 16s Maven dependency ordering for patch
        +1 mvninstall 7m 12s the patch passed
        +1 compile 9m 14s the patch passed
        +1 javac 9m 14s the patch passed
        +1 mvnsite 9m 28s the patch passed
        +1 mvneclipse 1m 5s the patch passed
        +1 whitespace 0m 0s The patch has no whitespace issues.
        +1 xml 0m 4s The patch has no ill-formed XML file.
        +1 javadoc 4m 22s the patch passed
        -1 unit 45m 33s root in the patch failed.
        -1 asflicense 0m 31s The patch generated 2 ASF License warnings.
        110m 9s



        Reason Tests
        Failed junit tests hadoop.crypto.key.kms.server.TestKMS



        Subsystem Report/Notes
        Docker Image:yetus/hadoop:a9ad5d6
        JIRA Issue HADOOP-13816
        JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12838744/HADOOP-13816.01.patch
        Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit xml
        uname Linux 3eb3bcf49c97 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
        Build tool maven
        Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh
        git revision trunk / b7070f3
        Default Java 1.8.0_101
        unit https://builds.apache.org/job/PreCommit-HADOOP-Build/11066/artifact/patchprocess/patch-unit-root.txt
        Test Results https://builds.apache.org/job/PreCommit-HADOOP-Build/11066/testReport/
        asflicense https://builds.apache.org/job/PreCommit-HADOOP-Build/11066/artifact/patchprocess/patch-asflicense-problems.txt
        modules C: hadoop-build-tools hadoop-tools/hadoop-rumen . U: .
        Console output https://builds.apache.org/job/PreCommit-HADOOP-Build/11066/console
        Powered by Apache Yetus 0.4.0-SNAPSHOT http://yetus.apache.org

        This message was automatically generated.

        Show
        hadoopqa Hadoop QA added a comment - -1 overall Vote Subsystem Runtime Comment 0 reexec 0m 14s Docker mode activated. +1 @author 0m 0s The patch does not contain any @author tags. -1 test4tests 0m 0s The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. 0 mvndep 0m 15s Maven dependency ordering for branch +1 mvninstall 6m 45s trunk passed +1 compile 9m 29s trunk passed +1 mvnsite 9m 31s trunk passed +1 mvneclipse 1m 5s trunk passed +1 javadoc 4m 19s trunk passed 0 mvndep 0m 16s Maven dependency ordering for patch +1 mvninstall 7m 12s the patch passed +1 compile 9m 14s the patch passed +1 javac 9m 14s the patch passed +1 mvnsite 9m 28s the patch passed +1 mvneclipse 1m 5s the patch passed +1 whitespace 0m 0s The patch has no whitespace issues. +1 xml 0m 4s The patch has no ill-formed XML file. +1 javadoc 4m 22s the patch passed -1 unit 45m 33s root in the patch failed. -1 asflicense 0m 31s The patch generated 2 ASF License warnings. 110m 9s Reason Tests Failed junit tests hadoop.crypto.key.kms.server.TestKMS Subsystem Report/Notes Docker Image:yetus/hadoop:a9ad5d6 JIRA Issue HADOOP-13816 JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12838744/HADOOP-13816.01.patch Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit xml uname Linux 3eb3bcf49c97 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux Build tool maven Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh git revision trunk / b7070f3 Default Java 1.8.0_101 unit https://builds.apache.org/job/PreCommit-HADOOP-Build/11066/artifact/patchprocess/patch-unit-root.txt Test Results https://builds.apache.org/job/PreCommit-HADOOP-Build/11066/testReport/ asflicense https://builds.apache.org/job/PreCommit-HADOOP-Build/11066/artifact/patchprocess/patch-asflicense-problems.txt modules C: hadoop-build-tools hadoop-tools/hadoop-rumen . U: . Console output https://builds.apache.org/job/PreCommit-HADOOP-Build/11066/console Powered by Apache Yetus 0.4.0-SNAPSHOT http://yetus.apache.org This message was automatically generated.
        Hide
        ajisakaa Akira Ajisaka added a comment -

        LGTM, +1. The test failure is not related.

        Show
        ajisakaa Akira Ajisaka added a comment - LGTM, +1. The test failure is not related.
        Hide
        ajisakaa Akira Ajisaka added a comment -

        Committed this to trunk. Thanks Kai Sasaki for the contribution!

        Show
        ajisakaa Akira Ajisaka added a comment - Committed this to trunk. Thanks Kai Sasaki for the contribution!
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #10896 (See https://builds.apache.org/job/Hadoop-trunk-Commit/10896/)
        HADOOP-13816. Ambiguous plugin version warning from maven build. (aajisaka: rev 9e173d2bac567d3bdec2c6c4e15a72bca9c4f6d3)

        • (edit) hadoop-build-tools/pom.xml
        • (edit) pom.xml
        • (edit) hadoop-tools/hadoop-rumen/pom.xml
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #10896 (See https://builds.apache.org/job/Hadoop-trunk-Commit/10896/ ) HADOOP-13816 . Ambiguous plugin version warning from maven build. (aajisaka: rev 9e173d2bac567d3bdec2c6c4e15a72bca9c4f6d3) (edit) hadoop-build-tools/pom.xml (edit) pom.xml (edit) hadoop-tools/hadoop-rumen/pom.xml

          People

          • Assignee:
            lewuathe Kai Sasaki
            Reporter:
            lewuathe Kai Sasaki
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development