hdt-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Vas Dias (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDT-47) hadoop-2.2.0-src build fails owing to wrong maven-site-plugin version
Date Tue, 12 Nov 2013 18:06:17 GMT
Jason Vas Dias created HDT-47:
---------------------------------

             Summary: hadoop-2.2.0-src build fails owing to wrong maven-site-plugin version
                 Key: HDT-47
                 URL: https://issues.apache.org/jira/browse/HDT-47
             Project: Hadoop Development Tools
          Issue Type: Bug
          Components: Build and infrastructure
            Reporter: Jason Vas Dias


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 .



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message