shell_mvn
2018-11-27 本文已影响6人
Kate_Blog
!/usr/bin/env bash
cd /Users/kate/code/tmp/hd_thirdparty
JARS=$(ls *jar)
for JAR_FILE in JAR_FILE
FILE_NAME=JAR_FILE .jar)
mvn deploy:deploy-file -DgroupId=com.evergrande.edc -DartifactId={JAR_FILE} -Durl=http://xxx.xxx.xxx.xxx:xxxx/repository/hd_thirdparty/ -DrepositoryId=hd_thirdparty
done