将assembly包添加到自己的maven仓库

mvn install:install-file -DgroupId=com.asiainfo -DartifactId=spark-assembly -Dversion=1.2.0 -Dpackaging=jar -Dfile=/home/spark/software/source/compile/deploy_spark/assembly/target/scala-2.10/spark-assembly-1.2.0-SNAPSHOT-hadoop2.3.0-cdh5.0.0.jar

指定GAV,packaging以及jar包所在的路径

你可能感兴趣的:(assembly)