diff --git a/scripts/travis/build.sh b/scripts/travis/build.sh index 7de229f50..f8aff8d06 100644 --- a/scripts/travis/build.sh +++ b/scripts/travis/build.sh @@ -53,14 +53,6 @@ if [[ "${SHARE_DEPENDENCY_VERSION}" =~ ^.+-SNAPSHOT$ ]] && [ "${TRAVIS_BUILD_STA fi SHARE_UPSTREAM_REPO="github.com/Alfresco/alfresco-community-share.git" -# Temporarily opening reflective access during compilation for community-share -# This could be removed once community-share will become Java 17 compliant -# (Maven plugins included e.g.: maven-war-plugin) -export MAVEN_OPTS="--add-opens=java.base/java.util=ALL-UNNAMED \ ---add-opens=java.base/java.lang=ALL-UNNAMED \ ---add-opens=java.base/java.lang.reflect=ALL-UNNAMED \ ---add-opens=java.base/java.text=ALL-UNNAMED \ ---add-opens=java.desktop/java.awt.font=ALL-UNNAMED" # Checkout the upstream share project (tag or branch; + build if the latter) if [[ "${SHARE_DEPENDENCY_VERSION}" =~ ^.+-SNAPSHOT$ ]] ; then pullAndBuildSameBranchOnUpstream "${SHARE_UPSTREAM_REPO}" "-Pbuild-docker-images -Pags -Dlicense.failOnNotUptodateHeader=true -Ddocker.quay-expires.value=NEVER ${REPO_IMAGE} -Ddependency.alfresco-community-repo.version=${COM_DEPENDENCY_VERSION}"