mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-09-17 14:21:39 +00:00
39 lines
1.0 KiB
Bash
39 lines
1.0 KiB
Bash
#!/usr/bin/env bash
|
|
echo "=========================== Starting Build Script ==========================="
|
|
PS4="\[\e[35m\]+ \[\e[m\]"
|
|
set -vex
|
|
pushd "$(dirname "${BASH_SOURCE[0]}")/../../"
|
|
|
|
source "$(dirname "${BASH_SOURCE[0]}")/build_functions.sh"
|
|
|
|
GIT_REPO="github.com/Alfresco/alfresco-transform-core.git"
|
|
BRANCH="fix/MNT-24883-transformoptions"
|
|
|
|
buildCoreAio "${GIT_REPO}" "${BRANCH}"
|
|
|
|
ATS_GIT_REPO="github.com/Alfresco/alfresco-transform-service.git"
|
|
ATS_BRANCH="fix/MNT-24883-transformoptions-test"
|
|
buildCoreAio "${ATS_GIT_REPO}" "${ATS_BRANCH}"
|
|
|
|
|
|
if [[ -n ${BUILD_PROFILES} ]]; then
|
|
PROFILES="${BUILD_PROFILES}"
|
|
elif [[ "${REQUIRES_LOCAL_IMAGES}" == "true" ]]; then
|
|
PROFILES="-Pbuild-docker-images -Pags"
|
|
else
|
|
PROFILES="-Pags"
|
|
fi
|
|
|
|
if [[ "${REQUIRES_INSTALLED_ARTIFACTS}" == "true" ]]; then
|
|
PHASE="install"
|
|
else
|
|
PHASE="package"
|
|
fi
|
|
|
|
mvn -B -V $PHASE -DskipTests -Dmaven.javadoc.skip=true $PROFILES $BUILD_OPTIONS
|
|
|
|
popd
|
|
set +vex
|
|
echo "=========================== Finishing Build Script =========================="
|
|
|