Maven安装本地jar

cd /Applications/IntelliJ\ IDEA.app/Contents/plugins/maven/lib/maven3
 
./mvn install:install-file -DgroupId=com.dm -DartifactId=DmJdbcDriver -Dversion=1.6.0 -Dpackaging=jar -Dfile=/Users/zp/Downloads/DmJdbcDriver-1.6.0.jar