Build jakarta dependencies

This commit is contained in:
pzurek
2023-06-12 11:43:53 +02:00
parent 9eece9bbfb
commit f546d88726

View File

@@ -4,14 +4,14 @@ set -e
DEPENDENCIES_DIR="$(dirname "${BASH_SOURCE[0]}")" DEPENDENCIES_DIR="$(dirname "${BASH_SOURCE[0]}")"
mvn -f $DEPENDENCIES_DIR clean install mvn -f $DEPENDENCIES_DIR -B clean install
function clone_and_install { function clone_and_install {
local project_path=$DEPENDENCIES_DIR/projects/$1 local project_path=$DEPENDENCIES_DIR/projects/$1
if [ ! -d "$project_path" ]; then if [ ! -d "$project_path" ]; then
git clone --single-branch --branch jakarta-migration git@github.com:Alfresco/$1.git $project_path git clone --single-branch --branch jakarta-migration git@github.com:Alfresco/$1.git $project_path
fi fi
mvn -f $project_path clean install mvn -f $project_path -B clean install
} }
clone_and_install surf-webscripts clone_and_install surf-webscripts