说明
为了推送第三方的jar,有时需要指定对应的jar推送到私有仓库。
示例
mvn deploy:deploy-file --settings /home/xxx/.m2/settings.xml -DgroupId=groupId的值 -DartifactId=artifactId的值 -Dversion=jar包的版本号 -Dpackaging=jar -Dfile=jar的路径 -Durl=http://xxxx/nexus/repository/xxx-release/ -DrepositoryId=settings文件的里面的id