Sqoop 1.99.3源码编译

下载源码

git clont https://github.com/apache/sqoop/tree/branch-1.99.3

设置maven编译参数

export MAVEN_OPTS="-Xmx512m -XX:MaxPermSize=512m"

编译

mvn clean source:jar -Dhadoop.profile=200 -DskipTests

其他编译项

mvn compile                         # Compile project
mvn package # Build source artifact
mvn package -Pbinary # Build binary artifact

参考文档

https://github.com/apache/sqoop/tree/branch-1.99.3
http://sqoop.apache.org/docs/1.99.3/BuildingSqoop2.html
http://maven.apache.org/plugins/index.html
http://maven.apache.org/plugins/maven-source-plugin/usage.html
http://maven.apache.org/surefire/maven-surefire-plugin/examples/skipping-test.html