Details
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
Attachments
Issue Links
- Is contained by
-
HADOOP-10273 Fix 'mvn site'
- Closed