diff --git a/pom.xml b/pom.xml index 6c13291307..e1fca9a6e2 100644 --- a/pom.xml +++ b/pom.xml @@ -51,7 +51,7 @@ 7.0.2 5.23.0 5.23.0 - 5.1.7 + 5.1.8-SNAPSHOT 4.1.7 7.1 1.0.2 diff --git a/scripts/ci/build.sh b/scripts/ci/build.sh index 6b25a69374..c56080decd 100644 --- a/scripts/ci/build.sh +++ b/scripts/ci/build.sh @@ -6,6 +6,11 @@ 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" + +buildSnapShot "${GIT_REPO}" "${BRANCH}" + if [[ -n ${BUILD_PROFILES} ]]; then PROFILES="${BUILD_PROFILES}" elif [[ "${REQUIRES_LOCAL_IMAGES}" == "true" ]]; then diff --git a/scripts/ci/build_functions.sh b/scripts/ci/build_functions.sh index cb72ee6852..b599772767 100644 --- a/scripts/ci/build_functions.sh +++ b/scripts/ci/build_functions.sh @@ -184,4 +184,15 @@ function retieveLatestTag() { rm -rf "${LOCAL_PATH}" } +function buildSnapShot() { + local GIT_REPO="${1}" + local BRANCH="${2}" + cloneRepo "${GIT_REPO}" "${BRANCH}" + + pushd "$(dirname "${BASH_SOURCE[0]}")/../../../" + cd "$(basename "${GIT_REPO%.git}")" + mvn -B -V -q clean install -DskipTests -Dmaven.javadoc.skip=true -Plocal + popd +} + set -vx \ No newline at end of file