[ https://issues.apache.org/jira/browse/HADOOP-10092?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniele Demichelis updated HADOOP-10092: ---------------------------------------- Labels: build maven newbie patch (was: ) Target Version/s: 2.2.0 Affects Version/s: 2.2.0 Release Note: Patches to update the maven-site-dependency to 3.3 Status: Patch Available (was: Open) > hadoop-2.2.0-src build fails owing to wrong maven-site-plugin version > --------------------------------------------------------------------- > > Key: HADOOP-10092 > URL: https://issues.apache.org/jira/browse/HADOOP-10092 > Project: Hadoop Common > Issue Type: Bug > Affects Versions: 2.2.0 > Reporter: Jason Vas Dias > Labels: patch, newbie, build, maven > > 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.5#6160)