refactor(all): 优化maven插件触发 优化编译打包版本

This commit is contained in:
v-zhangjc9
2024-03-06 10:42:55 +08:00
parent f069dee39d
commit c038664567
55 changed files with 285 additions and 189 deletions

View File

@@ -1,6 +1,6 @@
#!/bin/bash
root_path=$(dirname $(cd $(dirname $0);pwd))
source $root_path/bin/library.sh
mvn -pl service-common,service-dependencies,service-configuration,service-forest clean deploy -D skipTests -P local -s ~/.m2/settings-development.xml
mvn -pl service-command clean package spring-boot:repackage -D skipTests -s ~/.m2/settings-development.xml
deploy service-common service-dependencies service-configuration service-forest
package service-command
upload $root_path/service-command/target/service-command-1.0.0-SNAPSHOT.jar