Please help to build Sqoop2 from source. I use Maven 3.2.1 on CentOS 6.5. When I try to compile Sqoop2 with command:
mvn compile
I get exception resulting from:
missing org.apache.sqoop:sqoop-core:test-jar:tests:2.0.0-SNAPSHOT
When I try to build Sqoop2 with command:
mvn package -Pbinary
I get exception resulting from:
Missing org/sonatype/aether/graph/DependencyFilter
Any ideas?
The same issue:
java.lang.NoClassDefFoundError: org/sonatype/aether/graph/DependencyFilter
Caused by: java.lang.ClassNotFoundException: org.sonatype.aether.graph.DependencyFilter
was reported in Hadoop as HADOOP-10092 and fixed by bumping maven-site-plugin
from 3.0 to 3.3.
It looks like sqoop's sqoop2
branch is using the same outdated version in docs/pom.xml
:
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.0-beta-3</version>
I'd suggest trying the same fix.