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包所在的路径

05-08 15:29