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

hadoop-2.2.0-src build fails owing to wrong maven-site-plugin version

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 2.2.0
    • Fix Version/s: None
    • Component/s: None
    • Target Version/s:
    • Release Note:
      Patches to update the maven-site-dependency to 3.3

      Description

      I downloaded hadoop-2.2.0-src.tar.gz , in an attempt to build the native libraries 64-bit, but building according to the instructions in BUILDING.txt with
      $ mvn package -Pdist,native,docs,src -DskipTests -Dtar
      fails because of this issue:
      https://cwiki.apache.org/confluence/display/MAVEN/AetherClassNotFound
      (ie. the build fails with:
      "java.lang.NoClassDefFoundError: org/sonatype/aether/graph/DependencyFilter
      Caused by: java.lang.ClassNotFoundException: org.sonatype.aether.graph.DependencyFilter
      "
      because the wrong version of maven-site-plugin is specified in the top level hadoop pom.xml, @ line 211 :
      <plugin>
      <artifactId>maven-site-plugin</artifactId>
      <version>3.0</version>
      ...
      Changing this to:
      <version>3.3</version>
      fixes the problem .

        Attachments

        1. HADOOP-10092.patch
          0.3 kB
          Daniele Demichelis

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                JVD66 Jason Vas Dias
              • Votes:
                2 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: