diff --git a/plugins/bin/deployAll.sh b/plugins/bin/deployAll.sh new file mode 100644 index 00000000..529f5bbf --- /dev/null +++ b/plugins/bin/deployAll.sh @@ -0,0 +1,29 @@ +#! /bin/bash +########################################### +# Install All public plugins +# Copyright (2019-2023) 北京华夏春松科技有限公司 +########################################### + +# constants +baseDir=$(cd `dirname "$0"`;pwd) + +# functions + +# main +[ -z "${BASH_SOURCE[0]}" -o "${BASH_SOURCE[0]}" = "$0" ] || return + +echo "Remove old plugins ..." +set -x +rm -rf $baseDir/../../compose/contact-center/plugins/*.jar +set +x + +cd $baseDir/.. +echo "Inspect plugins -->" `pwd` +for x in `ls .`; do + cd $baseDir/.. + if [ -d ./$x ] && [ $x != "bin" ] && [ -f $x/pom.xml ]; then + cd $x + echo "Package and Deploy Plugin" `pwd` + mvn -DskipTests clean package deploy + fi +done diff --git a/plugins/sample/pom.xml b/plugins/sample/pom.xml index 09169f23..1f184ea9 100644 --- a/plugins/sample/pom.xml +++ b/plugins/sample/pom.xml @@ -98,4 +98,58 @@ + + + chatopera + Chatopera Inc. + https://nexus.chatopera.com/repository/maven-public + + true + + + true + + + + + + + chatopera-releases + Chatopera Nexus Releases + https://nexus.chatopera.com/repository/maven-releases/ + + + chatopera-snapshots + Chatopera Nexus Snapshots + https://nexus.chatopera.com/repository/maven-snapshots/ + + + + + + hailiang-wang + Hai Liang Wang + h@cskefu.com + https://github.com/hailiang-wang + Chatopera Inc. + https://www.chatopera.com + + chief engineer + developer + + Asia/Shanghai + + + + + + + Apache-2.0 + https://github.com/cskefu/cskefu/blob/develop/LICENSE + repo + A business-friendly OSS license + + + +