[ https://issues.apache.org/jira/browse/HADOOP-10092?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13878000#comment-13878000 ]
Carlos Eduardo Moreira dos Santos commented on HADOOP-10092: ------------------------------------------------------------ Works for me. Resolved a clean build issue in commit dc2caacfd04ed0af5df72bd2bc53668d44761737 > 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: build, maven, newbie, patch > Attachments: HADOOP-10092.patch > > > 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)