shell_mvn

作者: Kate_Blog | 来源:发表于2018-11-27 03:28 被阅读6次

!/usr/bin/env bash

cd /Users/kate/code/tmp/hd_thirdparty
JARS=$(ls *jar)

for JAR_FILE in JARS do echoJAR_FILE
FILE_NAME=(basenameJAR_FILE .jar)
mvn deploy:deploy-file -DgroupId=com.evergrande.edc -DartifactId={FILE_NAME} -Dversion=1.0 -Dpackaging=jar -Dfile={JAR_FILE} -Durl=http://xxx.xxx.xxx.xxx:xxxx/repository/hd_thirdparty/ -DrepositoryId=hd_thirdparty
done

相关文章

  • shell_mvn

    !/usr/bin/env bash cd /Users/kate/code/tmp/hd_thirdpartyJ...

网友评论

      本文标题:shell_mvn

      本文链接:https://www.haomeiwen.com/subject/gtdwqqtx.html