mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-09-17 14:21:39 +00:00
Build jakarta dependencies
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user