diff --git a/.travis.settings.xml b/.travis.settings.xml index 2b315c0b80..10539b04b4 100644 --- a/.travis.settings.xml +++ b/.travis.settings.xml @@ -25,10 +25,13 @@ https://artifacts.alfresco.com/nexus/content/groups/public + + + ${env.WHITESOURCE_API_KEY} + - alfresco-public diff --git a/.travis.yml b/.travis.yml index 7ebf8db221..1820a23f3a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,268 +1,257 @@ -dist: xenial -os: linux -language: java -jdk: - - openjdk11 - -services: - - docker - -cache: - directories: - - $HOME/.m2 - -before_cache: - - rm -rf $HOME/.m2/repository/org/alfresco/alfresco-community-repo - - rm -rf $HOME/.m2/repository/org/alfresco/alfresco-core - - rm -rf $HOME/.m2/repository/org/alfresco/alfresco-data-model - - rm -rf $HOME/.m2/repository/org/alfresco/alfresco-repository - - rm -rf $HOME/.m2/repository/org/alfresco/alfresco-remote-api - - rm -rf $HOME/.m2/repository/org/alfresco/content-services-community - - rm -rf $HOME/.m2/repository/org/alfresco/alfresco-community-repo-* - - rm -rf $HOME/.m2/repository/org/alfresco/tas/alfresco-community-repo-*-test - -branches: - only: - - master - - /release\/.*/ - -env: - global: - - TAS_SCRIPTS=../alfresco-community-repo/packaging/tests/scripts - - TAS_ENVIRONMENT=../alfresco-community-repo/packaging/tests/environment - -stages: - - name: test - if: commit_message !~ /\[skip tests\]/ - - release - - publish - - trigger_downstream - -before_install: - - "cp .travis.settings.xml $HOME/.m2/settings.xml" - - travis_retry mvn install -DskipTests=true -Dversion.edition=Community -PcommunityDocker -B -V - -jobs: - include: - - stage: test - name: "WhiteSource scan" - # only on release branches or master and if it is not a PR - if: fork = false AND (branch = master OR branch =~ /release\/.*/) AND type != pull_request - script: - # Download the latest version of WhiteSource Unified Agent - - curl -LJO https://github.com/whitesource/unified-agent-distribution/releases/latest/download/wss-unified-agent.jar - # Run WhiteSource Unified Agent - - java -jar wss-unified-agent.jar -apiKey ${WHITESOURCE_API_KEY} -c .wss-unified-agent.config - -# - name: "Source Clear Scan" -# # only on SP branches or master and if it is not a PR -# if: fork = false AND (branch = master OR branch =~ /release\/SP\/.*/) AND type != pull_request -# script: skip -# addons: -# srcclr: true - - - name: "Core, Data-Model, Repository - AllUnitTestsSuite - Build and test" - script: - - travis_retry mvn test -pl core,data-model - - mvn test -B -pl repository -Dtest=AllUnitTestsSuite - - - name: "Repository - AppContext01TestSuite" - install: - - docker run -d -p 5433:5432 -e POSTGRES_PASSWORD=alfresco -e POSTGRES_USER=alfresco -e POSTGRES_DB=alfresco postgres:11.7 postgres -c 'max_connections=300' - - docker run -d -p 61616:61616 -p 5672:5672 alfresco/alfresco-activemq:5.15.8 - script: travis_wait 20 mvn test -B -pl repository -Dtest=AppContext01TestSuite -Ddb.driver=org.postgresql.Driver -Ddb.name=alfresco -Ddb.url=jdbc:postgresql://localhost:5433/alfresco -Ddb.username=alfresco -Ddb.password=alfresco - - - name: "Repository - AppContext02TestSuite" - install: - - docker run -d -p 5433:5432 -e POSTGRES_PASSWORD=alfresco -e POSTGRES_USER=alfresco -e POSTGRES_DB=alfresco postgres:11.7 postgres -c 'max_connections=300' - - docker run -d -p 61616:61616 -p 5672:5672 alfresco/alfresco-activemq:5.15.8 - script: travis_wait 20 mvn test -B -pl repository -Dtest=AppContext02TestSuite -Ddb.driver=org.postgresql.Driver -Ddb.name=alfresco -Ddb.url=jdbc:postgresql://localhost:5433/alfresco -Ddb.username=alfresco -Ddb.password=alfresco - - - name: "Repository - AppContext03TestSuite" - install: - - docker run -d -p 5433:5432 -e POSTGRES_PASSWORD=alfresco -e POSTGRES_USER=alfresco -e POSTGRES_DB=alfresco postgres:11.7 postgres -c 'max_connections=300' - - docker run -d -p 61616:61616 -p 5672:5672 alfresco/alfresco-activemq:5.15.8 - - docker run -d -p 8090:8090 -e JAVA_OPTS=" -Xms256m -Xmx256m" alfresco/alfresco-transform-core-aio:2.3.4 - script: travis_wait 20 mvn test -B -pl repository -Dtest=AppContext03TestSuite -Ddb.driver=org.postgresql.Driver -Ddb.name=alfresco -Ddb.url=jdbc:postgresql://localhost:5433/alfresco -Ddb.username=alfresco -Ddb.password=alfresco -Dalfresco-pdf-renderer.url=http://localhost:8090/ -Djodconverter.url=http://localhost:8090/ -Dimg.url=http://localhost:8090/ -Dtika.url=http://localhost:8090/ -Dtransform.misc.url=http://localhost:8090/ - - - name: "Repository - AppContext04TestSuite" - install: - - docker run -d -p 5433:5432 -e POSTGRES_PASSWORD=alfresco -e POSTGRES_USER=alfresco -e POSTGRES_DB=alfresco postgres:11.7 postgres -c 'max_connections=300' - - docker run -d -p 61616:61616 -p 5672:5672 alfresco/alfresco-activemq:5.15.8 - - docker run -d -p 8090:8090 -e JAVA_OPTS=" -Xms256m -Xmx256m" alfresco/alfresco-transform-core-aio:2.3.4 - script: travis_wait 20 mvn test -B -pl repository -Dtest=AppContext04TestSuite -Ddb.driver=org.postgresql.Driver -Ddb.name=alfresco -Ddb.url=jdbc:postgresql://localhost:5433/alfresco -Ddb.username=alfresco -Ddb.password=alfresco - - - name: "Repository - AppContext05TestSuite" - install: - - docker run -d -p 5433:5432 -e POSTGRES_PASSWORD=alfresco -e POSTGRES_USER=alfresco -e POSTGRES_DB=alfresco postgres:11.7 postgres -c 'max_connections=300' - - docker run -d -p 61616:61616 -p 5672:5672 alfresco/alfresco-activemq:5.15.8 - - "mkdir -p $HOME/tmp" - - "cp repository/src/test/resources/realms/alfresco-realm.json $HOME/tmp" - - docker login quay.io -u ${QUAY_USERNAME} -p ${QUAY_PASSWORD} - - "export HOST_IP=$(ip address show | grep -E \"([0-9]{1,3}\\.){3}[0-9]{1,3}\" | grep -v 127.0.0.1 | awk '{ print $2 }' | head -n 1 )" - - "export HOST_IP=$(echo ${HOST_IP%/*})" - - docker run -d -e KEYCLOAK_USER=admin -e KEYCLOAK_PASSWORD=admin -e DB_VENDOR=h2 -p 8999:8080 -e KEYCLOAK_IMPORT=/tmp/alfresco-realm.json -v $HOME/tmp/alfresco-realm.json:/tmp/alfresco-realm.json quay.io/alfresco/alfresco-identity-service:1.2 - script: travis_wait 20 mvn test -B -pl repository -Dtest=AppContext05TestSuite -Ddb.driver=org.postgresql.Driver -Ddb.name=alfresco -Ddb.url=jdbc:postgresql://localhost:5433/alfresco -Ddb.username=alfresco -Ddb.password=alfresco "-Didentity-service.auth-server-url=http://${HOST_IP}:8999/auth" - - - name: "Repository - AppContext06TestSuite" - install: - - docker run -d -p 5433:5432 -e POSTGRES_PASSWORD=alfresco -e POSTGRES_USER=alfresco -e POSTGRES_DB=alfresco postgres:11.7 postgres -c 'max_connections=300' - - docker run -d -p 61616:61616 -p 5672:5672 alfresco/alfresco-activemq:5.15.8 - - docker run -d -p 8090:8090 -e JAVA_OPTS=" -Xms256m -Xmx256m" alfresco/alfresco-transform-core-aio:2.3.4 - script: travis_wait 20 mvn test -B -pl repository -Dtest=AppContext06TestSuite -Ddb.driver=org.postgresql.Driver -Ddb.name=alfresco -Ddb.url=jdbc:postgresql://localhost:5433/alfresco -Ddb.username=alfresco -Ddb.password=alfresco -Dalfresco-pdf-renderer.url=http://localhost:8090/ -Djodconverter.url=http://localhost:8090/ -Dimg.url=http://localhost:8090/ -Dtika.url=http://localhost:8090/ -Dtransform.misc.url=http://localhost:8090/ - - - name: "Repository - AppContextExtraTestSuite" - install: - - docker run -d -p 5433:5432 -e POSTGRES_PASSWORD=alfresco -e POSTGRES_USER=alfresco -e POSTGRES_DB=alfresco postgres:11.7 postgres -c 'max_connections=300' - - docker run -d -p 61616:61616 -p 5672:5672 alfresco/alfresco-activemq:5.15.8 - script: travis_wait 20 mvn test -B -pl repository -Dtest=AppContextExtraTestSuite -Ddb.driver=org.postgresql.Driver -Ddb.name=alfresco -Ddb.url=jdbc:postgresql://localhost:5433/alfresco -Ddb.username=alfresco -Ddb.password=alfresco - - - name: "Repository - MiscContextTestSuite" - install: - - docker run -d -p 5433:5432 -e POSTGRES_PASSWORD=alfresco -e POSTGRES_USER=alfresco -e POSTGRES_DB=alfresco postgres:11.7 postgres -c 'max_connections=300' - - docker run -d -p 61616:61616 -p 5672:5672 alfresco/alfresco-activemq:5.15.8 - - docker run -d -p 8090:8090 -e JAVA_OPTS=" -Xms256m -Xmx256m" alfresco/alfresco-transform-core-aio:2.3.4 - script: travis_wait 20 mvn test -B -pl repository -Dtest=MiscContextTestSuite -Ddb.driver=org.postgresql.Driver -Ddb.name=alfresco -Ddb.url=jdbc:postgresql://localhost:5433/alfresco -Ddb.username=alfresco -Ddb.password=alfresco -Dalfresco-pdf-renderer.url=http://localhost:8090/ -Djodconverter.url=http://localhost:8090/ -Dimg.url=http://localhost:8090/ -Dtika.url=http://localhost:8090/ -Dtransform.misc.url=http://localhost:8090/ - - - name: "Repository - MySQL tests" - if: commit_message !~ /\[skip db\]/ - install: - - docker run -d -p 3307:3306 -e MYSQL_ROOT_PASSWORD=alfresco -e MYSQL_USER=alfresco -e MYSQL_DATABASE=alfresco -e MYSQL_PASSWORD=alfresco mysql:5.7.23 --transaction-isolation='READ-COMMITTED' - - docker run -d -p 61616:61616 -p 5672:5672 alfresco/alfresco-activemq:5.15.8 - script: travis_wait 20 mvn test -B -pl repository -Dtest=AllDBTestsTestSuite -Ddb.driver=com.mysql.jdbc.Driver -Ddb.name=alfresco -Ddb.url=jdbc:mysql://localhost:3307/alfresco -Ddb.username=alfresco -Ddb.password=alfresco - - - name: "Repository - PostgreSQL 10 tests" - if: commit_message !~ /\[skip db\]/ - install: - - docker run -d -p 5433:5432 -e POSTGRES_PASSWORD=alfresco -e POSTGRES_USER=alfresco -e POSTGRES_DB=alfresco postgres:10.9 postgres -c 'max_connections=300' - - docker run -d -p 61616:61616 -p 5672:5672 alfresco/alfresco-activemq:5.15.8 - script: travis_wait 20 mvn test -B -pl repository -Dtest=AllDBTestsTestSuite -Ddb.driver=org.postgresql.Driver -Ddb.name=alfresco -Ddb.url=jdbc:postgresql://localhost:5433/alfresco -Ddb.username=alfresco -Ddb.password=alfresco - - - name: "Repository - PostgreSQL 11 tests" - if: commit_message !~ /\[skip db\]/ - install: - - docker run -d -p 5433:5432 -e POSTGRES_PASSWORD=alfresco -e POSTGRES_USER=alfresco -e POSTGRES_DB=alfresco postgres:11.7 postgres -c 'max_connections=300' - - docker run -d -p 61616:61616 -p 5672:5672 alfresco/alfresco-activemq:5.15.8 - script: travis_wait 20 mvn test -B -pl repository -Dtest=AllDBTestsTestSuite -Ddb.driver=org.postgresql.Driver -Ddb.name=alfresco -Ddb.url=jdbc:postgresql://localhost:5433/alfresco -Ddb.username=alfresco -Ddb.password=alfresco - - - name: "Repository - MariaDB tests" - if: commit_message !~ /\[skip db\]/ - install: - - docker run -d -p 3307:3306 --name mariadb -e MYSQL_ROOT_PASSWORD=alfresco -e MYSQL_USER=alfresco -e MYSQL_DATABASE=alfresco -e MYSQL_PASSWORD=alfresco mariadb:10.2.18 --transaction-isolation=READ-COMMITTED --max-connections=300 --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci - - docker run -d -p 61616:61616 -p 5672:5672 alfresco/alfresco-activemq:5.15.8 - script: travis_wait 20 mvn test -B -pl repository -Dtest=AllDBTestsTestSuite -Ddb.name=alfresco -Ddb.url=jdbc:mariadb://localhost:3307/alfresco?useUnicode=yes\&characterEncoding=UTF-8 -Ddb.username=alfresco -Ddb.password=alfresco -Ddb.driver=org.mariadb.jdbc.Driver - - - name: "Remote-api - AppContext01TestSuite" - install: - - docker run -d -p 5433:5432 -e POSTGRES_PASSWORD=alfresco -e POSTGRES_USER=alfresco -e POSTGRES_DB=alfresco postgres:11.7 postgres -c 'max_connections=300' - - docker run -d -p 61616:61616 -p 5672:5672 alfresco/alfresco-activemq:5.15.8 - script: travis_wait 20 mvn test -B -pl remote-api -Dtest=AppContext01TestSuite -Ddb.driver=org.postgresql.Driver -Ddb.name=alfresco -Ddb.url=jdbc:postgresql://localhost:5433/alfresco -Ddb.username=alfresco -Ddb.password=alfresco - - - name: "Remote-api - AppContext02TestSuite" - install: - - docker run -d -p 5433:5432 -e POSTGRES_PASSWORD=alfresco -e POSTGRES_USER=alfresco -e POSTGRES_DB=alfresco postgres:11.7 postgres -c 'max_connections=300' - - docker run -d -p 61616:61616 -p 5672:5672 alfresco/alfresco-activemq:5.15.8 - script: travis_wait 20 mvn test -B -pl remote-api -Dtest=AppContext02TestSuite -Ddb.driver=org.postgresql.Driver -Ddb.name=alfresco -Ddb.url=jdbc:postgresql://localhost:5433/alfresco -Ddb.username=alfresco -Ddb.password=alfresco - - - name: "Remote-api - AppContext03TestSuite" - install: - - docker run -d -p 5433:5432 -e POSTGRES_PASSWORD=alfresco -e POSTGRES_USER=alfresco -e POSTGRES_DB=alfresco postgres:11.7 postgres -c 'max_connections=300' - - docker run -d -p 61616:61616 -p 5672:5672 alfresco/alfresco-activemq:5.15.8 - script: travis_wait 20 mvn test -B -pl remote-api -Dtest=AppContext03TestSuite -Ddb.driver=org.postgresql.Driver -Ddb.name=alfresco -Ddb.url=jdbc:postgresql://localhost:5433/alfresco -Ddb.username=alfresco -Ddb.password=alfresco - - - name: "Remote-api - AppContext04TestSuite" - install: - - docker run -d -p 5433:5432 -e POSTGRES_PASSWORD=alfresco -e POSTGRES_USER=alfresco -e POSTGRES_DB=alfresco postgres:11.7 postgres -c 'max_connections=300' - - docker run -d -p 61616:61616 -p 5672:5672 alfresco/alfresco-activemq:5.15.8 - script: travis_wait 20 mvn test -B -pl remote-api -Dtest=AppContext04TestSuite -Ddb.driver=org.postgresql.Driver -Ddb.name=alfresco -Ddb.url=jdbc:postgresql://localhost:5433/alfresco -Ddb.username=alfresco -Ddb.password=alfresco - - - name: "Remote-api - AppContextExtraTestSuite" - install: - - docker run -d -p 5433:5432 -e POSTGRES_PASSWORD=alfresco -e POSTGRES_USER=alfresco -e POSTGRES_DB=alfresco postgres:11.7 postgres -c 'max_connections=300' - - docker run -d -p 61616:61616 -p 5672:5672 alfresco/alfresco-activemq:5.15.8 - script: travis_wait 20 mvn test -B -pl remote-api -Dtest=AppContextExtraTestSuite -Ddb.driver=org.postgresql.Driver -Ddb.name=alfresco -Ddb.url=jdbc:postgresql://localhost:5433/alfresco -Ddb.username=alfresco -Ddb.password=alfresco - - - name: "REST API TAS tests part1" - jdk: openjdk11 - if: commit_message =~ /\[tas\]/ - install: - - ${TAS_SCRIPTS}/start-compose.sh ${TAS_ENVIRONMENT}/docker-compose-minimal+transforms.yml - - ${TAS_SCRIPTS}/wait-for-alfresco-start.sh "http://localhost:8082/alfresco" - script: - - travis_wait 60 mvn install -f packaging/tests/tas-restapi/pom.xml -Pall-tas-tests,run-restapi-part1 -Denvironment=default -DrunBugs=false - - - name: "REST API TAS tests part2" - jdk: openjdk11 - if: commit_message =~ /\[tas\]/ - install: - - ${TAS_SCRIPTS}/start-compose.sh ${TAS_ENVIRONMENT}/docker-compose-minimal+transforms.yml - - ${TAS_SCRIPTS}/wait-for-alfresco-start.sh "http://localhost:8082/alfresco" - script: - - travis_wait 60 mvn install -f packaging/tests/tas-restapi/pom.xml -Pall-tas-tests,run-restapi-part2 -Denvironment=default -DrunBugs=false - - - name: "REST API TAS tests part3" - jdk: openjdk11 - if: commit_message =~ /\[tas\]/ - install: - - ${TAS_SCRIPTS}/start-compose.sh ${TAS_ENVIRONMENT}/docker-compose-minimal+transforms.yml - - ${TAS_SCRIPTS}/wait-for-alfresco-start.sh "http://localhost:8082/alfresco" - script: - - travis_wait 60 mvn install -f packaging/tests/tas-restapi/pom.xml -Pall-tas-tests,run-restapi-part3 -Denvironment=default -DrunBugs=false - - - name: "CMIS TAS tests" - jdk: openjdk11 - if: commit_message =~ /\[tas\]/ - install: - - ${TAS_SCRIPTS}/start-compose.sh ${TAS_ENVIRONMENT}/docker-compose-minimal+transforms.yml - - ${TAS_SCRIPTS}/wait-for-alfresco-start.sh "http://localhost:8082/alfresco" - script: - - travis_wait 40 mvn install -f packaging/tests/tas-cmis/pom.xml -Pall-tas-tests -Denvironment=default -DrunBugs=false - - - name: "Email TAS tests" - jdk: openjdk11 - if: commit_message =~ /\[tas\]/ - install: - - ${TAS_SCRIPTS}/start-compose.sh ${TAS_ENVIRONMENT}/docker-compose-minimal.yml - - ${TAS_SCRIPTS}/wait-for-alfresco-start.sh "http://localhost:8082/alfresco" - script: - - travis_wait 30 mvn install -f packaging/tests/tas-email/pom.xml -Pall-tas-tests -Denvironment=default -DrunBugs=false - - - name: "WebDAV TAS tests" - jdk: openjdk11 - if: commit_message =~ /\[tas\]/ - install: - - ${TAS_SCRIPTS}/start-compose.sh ${TAS_ENVIRONMENT}/docker-compose-minimal.yml - - ${TAS_SCRIPTS}/wait-for-alfresco-start.sh "http://localhost:8082/alfresco" - script: - - travis_wait 30 mvn install -f packaging/tests/tas-webdav/pom.xml -Pall-tas-tests -Denvironment=default -DrunBugs=false - - - name: "Integration TAS tests" - jdk: openjdk11 - if: commit_message =~ /\[tas\]/ - install: - - ${TAS_SCRIPTS}/start-compose.sh ${TAS_ENVIRONMENT}/docker-compose-minimal.yml - - ${TAS_SCRIPTS}/wait-for-alfresco-start.sh "http://localhost:8082/alfresco" - script: - - travis_wait 30 mvn install -f packaging/tests/tas-integration/pom.xml -Pall-tas-tests -Denvironment=default -DrunBugs=false - -# Comment out for now to avoid pushing 8.300 to nuxus until we are ready -# - stage: release -# name: "Push to Nexus" -# if: fork = false AND (branch = master OR branch =~ /release\/.*/) AND type != pull_request AND commit_message !~ /\[no-release\]/ -# before_install: -# - "cp .travis.settings.xml $HOME/.m2/settings.xml" -# script: -# # Use full history for release -# - git checkout -B "${TRAVIS_BRANCH}" -# # Add email to link commits to user -# - git config user.email "${GIT_EMAIL}" -# # Skip building of release commits -# - mvn --batch-mode -q -DscmCommentPrefix="[maven-release-plugin][skip ci] " -Dusername="${GIT_USERNAME}" -Dpassword="${GIT_PASSWORD}" -DskipTests -Darguments=-DskipTests release:clean release:prepare release:perform - -# - name: "Trigger alfresco-enterprise-repo build" -# stage: trigger_downstream -# # for all active branches and if it is not a PR -# if: fork = false AND type != pull_request AND commit_message !~ /\[no-downstream\]/ -# install: skip -# script: bash trigger-travis.sh "Alfresco" "alfresco-enterprise-repo-play1" "${TRAVIS_BRANCH}" - +--- +dist: xenial +language: java +jdk: openjdk11 + +services: + - docker + +git: + depth: false + quiet: true + +cache: + directories: + - ${HOME}/.m2/repository + +# the cache can grow constantly +before_cache: bash scripts/travis/cleanup_cache.sh + +branches: + only: + - master + - /release\/.*/ + - feature/ACS-457_travis-release-config + +env: + global: + - TAS_SCRIPTS=../alfresco-community-repo/packaging/tests/scripts + - TAS_ENVIRONMENT=../alfresco-community-repo/packaging/tests/environment + +stages: + - name: test + if: commit_message !~ /\[skip tests\]/ + - name: release + if: fork = false AND (branch = master OR branch =~ /release\/.*/) AND type != pull_request AND commit_message !~ /\[no-release\]/ + - name: trigger_downstream + if: fork = false AND type != pull_request AND commit_message !~ /\[no-downstream\]/ + +before_install: travis_retry bash scripts/travis/init.sh +install: travis_retry bash scripts/travis/build.sh + +jobs: + include: + - name: "WhiteSource scan" + stage: test + # only on release branches or master and if it is not a PR + if: fork = false AND (branch = master OR branch =~ /release\/.*/) AND type != pull_request + script: + # Download the latest version of WhiteSource Unified Agent + - curl -LJO https://github.com/whitesource/unified-agent-distribution/releases/latest/download/wss-unified-agent.jar + # Run WhiteSource Unified Agent + - java -jar wss-unified-agent.jar -apiKey ${WHITESOURCE_API_KEY} -c .wss-unified-agent.config -d ./packaging/war + +# - name: "Source Clear Scan" +# # only on release branches or master and if it is not a PR +# if: fork = false AND (branch = master OR branch =~ /release\/.*/) AND type != pull_request +# script: skip +# addons: +# srcclr: true + + - name: "Core, Data-Model, Repository - AllUnitTestsSuite - Build and test" + script: + - travis_retry mvn -B test -pl core,data-model + - travis_retry mvn -B test -pl repository -Dtest=AllUnitTestsSuite + + - name: "Repository - AppContext01TestSuite" + before_script: + - docker run -d -p 5433:5432 -e POSTGRES_PASSWORD=alfresco -e POSTGRES_USER=alfresco -e POSTGRES_DB=alfresco postgres:11.7 postgres -c 'max_connections=300' + - docker run -d -p 61616:61616 -p 5672:5672 alfresco/alfresco-activemq:5.15.8 + script: travis_wait 20 mvn -B test -pl repository -Dtest=AppContext01TestSuite -Ddb.driver=org.postgresql.Driver -Ddb.name=alfresco -Ddb.url=jdbc:postgresql://localhost:5433/alfresco -Ddb.username=alfresco -Ddb.password=alfresco + + - name: "Repository - AppContext02TestSuite" + before_script: + - docker run -d -p 5433:5432 -e POSTGRES_PASSWORD=alfresco -e POSTGRES_USER=alfresco -e POSTGRES_DB=alfresco postgres:11.7 postgres -c 'max_connections=300' + - docker run -d -p 61616:61616 -p 5672:5672 alfresco/alfresco-activemq:5.15.8 + script: travis_wait 20 mvn -B test -pl repository -Dtest=AppContext02TestSuite -Ddb.driver=org.postgresql.Driver -Ddb.name=alfresco -Ddb.url=jdbc:postgresql://localhost:5433/alfresco -Ddb.username=alfresco -Ddb.password=alfresco + + - name: "Repository - AppContext03TestSuite" + before_script: + - docker run -d -p 5433:5432 -e POSTGRES_PASSWORD=alfresco -e POSTGRES_USER=alfresco -e POSTGRES_DB=alfresco postgres:11.7 postgres -c 'max_connections=300' + - docker run -d -p 61616:61616 -p 5672:5672 alfresco/alfresco-activemq:5.15.8 + - docker run -d -p 8090:8090 -e JAVA_OPTS=" -Xms256m -Xmx256m" alfresco/alfresco-transform-core-aio:2.3.4 + script: travis_wait 20 mvn -B test -pl repository -Dtest=AppContext03TestSuite -Ddb.driver=org.postgresql.Driver -Ddb.name=alfresco -Ddb.url=jdbc:postgresql://localhost:5433/alfresco -Ddb.username=alfresco -Ddb.password=alfresco -Dalfresco-pdf-renderer.url=http://localhost:8090/ -Djodconverter.url=http://localhost:8090/ -Dimg.url=http://localhost:8090/ -Dtika.url=http://localhost:8090/ -Dtransform.misc.url=http://localhost:8090/ + + - name: "Repository - AppContext04TestSuite" + before_script: + - docker run -d -p 5433:5432 -e POSTGRES_PASSWORD=alfresco -e POSTGRES_USER=alfresco -e POSTGRES_DB=alfresco postgres:11.7 postgres -c 'max_connections=300' + - docker run -d -p 61616:61616 -p 5672:5672 alfresco/alfresco-activemq:5.15.8 + - docker run -d -p 8090:8090 -e JAVA_OPTS=" -Xms256m -Xmx256m" alfresco/alfresco-transform-core-aio:2.3.4 + script: travis_wait 20 mvn -B test -pl repository -Dtest=AppContext04TestSuite -Ddb.driver=org.postgresql.Driver -Ddb.name=alfresco -Ddb.url=jdbc:postgresql://localhost:5433/alfresco -Ddb.username=alfresco -Ddb.password=alfresco + + - name: "Repository - AppContext05TestSuite" + before_script: + - docker run -d -p 5433:5432 -e POSTGRES_PASSWORD=alfresco -e POSTGRES_USER=alfresco -e POSTGRES_DB=alfresco postgres:11.7 postgres -c 'max_connections=300' + - docker run -d -p 61616:61616 -p 5672:5672 alfresco/alfresco-activemq:5.15.8 + - mkdir -p "${HOME}/tmp" + - cp repository/src/test/resources/realms/alfresco-realm.json "${HOME}/tmp" + - export HOST_IP=$(hostname -I | cut -f1 -d' ') + - docker run -d -e KEYCLOAK_USER=admin -e KEYCLOAK_PASSWORD=admin -e DB_VENDOR=h2 -p 8999:8080 -e KEYCLOAK_IMPORT=/tmp/alfresco-realm.json -v $HOME/tmp/alfresco-realm.json:/tmp/alfresco-realm.json quay.io/alfresco/alfresco-identity-service:1.2 + script: travis_wait 20 mvn -B test -pl repository -Dtest=AppContext05TestSuite -Ddb.driver=org.postgresql.Driver -Ddb.name=alfresco -Ddb.url=jdbc:postgresql://localhost:5433/alfresco -Ddb.username=alfresco -Ddb.password=alfresco "-Didentity-service.auth-server-url=http://${HOST_IP}:8999/auth" + + - name: "Repository - AppContext06TestSuite" + before_script: + - docker run -d -p 5433:5432 -e POSTGRES_PASSWORD=alfresco -e POSTGRES_USER=alfresco -e POSTGRES_DB=alfresco postgres:11.7 postgres -c 'max_connections=300' + - docker run -d -p 61616:61616 -p 5672:5672 alfresco/alfresco-activemq:5.15.8 + - docker run -d -p 8090:8090 -e JAVA_OPTS=" -Xms256m -Xmx256m" alfresco/alfresco-transform-core-aio:2.3.4 + script: travis_wait 20 mvn -B test -pl repository -Dtest=AppContext06TestSuite -Ddb.driver=org.postgresql.Driver -Ddb.name=alfresco -Ddb.url=jdbc:postgresql://localhost:5433/alfresco -Ddb.username=alfresco -Ddb.password=alfresco -Dalfresco-pdf-renderer.url=http://localhost:8090/ -Djodconverter.url=http://localhost:8090/ -Dimg.url=http://localhost:8090/ -Dtika.url=http://localhost:8090/ -Dtransform.misc.url=http://localhost:8090/ + + - name: "Repository - AppContextExtraTestSuite" + before_script: + - docker run -d -p 5433:5432 -e POSTGRES_PASSWORD=alfresco -e POSTGRES_USER=alfresco -e POSTGRES_DB=alfresco postgres:11.7 postgres -c 'max_connections=300' + - docker run -d -p 61616:61616 -p 5672:5672 alfresco/alfresco-activemq:5.15.8 + script: travis_wait 20 mvn -B test -pl repository -Dtest=AppContextExtraTestSuite -Ddb.driver=org.postgresql.Driver -Ddb.name=alfresco -Ddb.url=jdbc:postgresql://localhost:5433/alfresco -Ddb.username=alfresco -Ddb.password=alfresco + + - name: "Repository - MiscContextTestSuite" + before_script: + - docker run -d -p 5433:5432 -e POSTGRES_PASSWORD=alfresco -e POSTGRES_USER=alfresco -e POSTGRES_DB=alfresco postgres:11.7 postgres -c 'max_connections=300' + - docker run -d -p 61616:61616 -p 5672:5672 alfresco/alfresco-activemq:5.15.8 + - docker run -d -p 8090:8090 -e JAVA_OPTS=" -Xms256m -Xmx256m" alfresco/alfresco-transform-core-aio:2.3.4 + script: travis_wait 20 mvn -B test -pl repository -Dtest=MiscContextTestSuite -Ddb.driver=org.postgresql.Driver -Ddb.name=alfresco -Ddb.url=jdbc:postgresql://localhost:5433/alfresco -Ddb.username=alfresco -Ddb.password=alfresco -Dalfresco-pdf-renderer.url=http://localhost:8090/ -Djodconverter.url=http://localhost:8090/ -Dimg.url=http://localhost:8090/ -Dtika.url=http://localhost:8090/ -Dtransform.misc.url=http://localhost:8090/ + + - name: "Repository - MySQL tests" + if: commit_message !~ /\[skip db\]/ + before_script: + - docker run -d -p 3307:3306 -e MYSQL_ROOT_PASSWORD=alfresco -e MYSQL_USER=alfresco -e MYSQL_DATABASE=alfresco -e MYSQL_PASSWORD=alfresco mysql:5.7.23 --transaction-isolation='READ-COMMITTED' + - docker run -d -p 61616:61616 -p 5672:5672 alfresco/alfresco-activemq:5.15.8 + script: travis_wait 20 mvn -B test -pl repository -Dtest=AllDBTestsTestSuite -Ddb.driver=com.mysql.jdbc.Driver -Ddb.name=alfresco -Ddb.url=jdbc:mysql://localhost:3307/alfresco -Ddb.username=alfresco -Ddb.password=alfresco + + - name: "Repository - PostgreSQL 10 tests" + if: commit_message !~ /\[skip db\]/ + before_script: + - docker run -d -p 5433:5432 -e POSTGRES_PASSWORD=alfresco -e POSTGRES_USER=alfresco -e POSTGRES_DB=alfresco postgres:10.9 postgres -c 'max_connections=300' + - docker run -d -p 61616:61616 -p 5672:5672 alfresco/alfresco-activemq:5.15.8 + script: travis_wait 20 mvn -B test -pl repository -Dtest=AllDBTestsTestSuite -Ddb.driver=org.postgresql.Driver -Ddb.name=alfresco -Ddb.url=jdbc:postgresql://localhost:5433/alfresco -Ddb.username=alfresco -Ddb.password=alfresco + + - name: "Repository - PostgreSQL 11 tests" + if: commit_message !~ /\[skip db\]/ + before_script: + - docker run -d -p 5433:5432 -e POSTGRES_PASSWORD=alfresco -e POSTGRES_USER=alfresco -e POSTGRES_DB=alfresco postgres:11.7 postgres -c 'max_connections=300' + - docker run -d -p 61616:61616 -p 5672:5672 alfresco/alfresco-activemq:5.15.8 + script: travis_wait 20 mvn -B test -pl repository -Dtest=AllDBTestsTestSuite -Ddb.driver=org.postgresql.Driver -Ddb.name=alfresco -Ddb.url=jdbc:postgresql://localhost:5433/alfresco -Ddb.username=alfresco -Ddb.password=alfresco + + - name: "Repository - MariaDB tests" + if: commit_message !~ /\[skip db\]/ + before_script: + - docker run -d -p 3307:3306 --name mariadb -e MYSQL_ROOT_PASSWORD=alfresco -e MYSQL_USER=alfresco -e MYSQL_DATABASE=alfresco -e MYSQL_PASSWORD=alfresco mariadb:10.2.18 --transaction-isolation=READ-COMMITTED --max-connections=300 --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci + - docker run -d -p 61616:61616 -p 5672:5672 alfresco/alfresco-activemq:5.15.8 + script: travis_wait 20 mvn -B test -pl repository -Dtest=AllDBTestsTestSuite -Ddb.name=alfresco -Ddb.url=jdbc:mariadb://localhost:3307/alfresco?useUnicode=yes\&characterEncoding=UTF-8 -Ddb.username=alfresco -Ddb.password=alfresco -Ddb.driver=org.mariadb.jdbc.Driver + + - name: "Remote-api - AppContext01TestSuite" + before_script: + - docker run -d -p 5433:5432 -e POSTGRES_PASSWORD=alfresco -e POSTGRES_USER=alfresco -e POSTGRES_DB=alfresco postgres:11.7 postgres -c 'max_connections=300' + - docker run -d -p 61616:61616 -p 5672:5672 alfresco/alfresco-activemq:5.15.8 + script: travis_wait 20 mvn -B test -pl remote-api -Dtest=AppContext01TestSuite -Ddb.driver=org.postgresql.Driver -Ddb.name=alfresco -Ddb.url=jdbc:postgresql://localhost:5433/alfresco -Ddb.username=alfresco -Ddb.password=alfresco + + - name: "Remote-api - AppContext02TestSuite" + before_script: + - docker run -d -p 5433:5432 -e POSTGRES_PASSWORD=alfresco -e POSTGRES_USER=alfresco -e POSTGRES_DB=alfresco postgres:11.7 postgres -c 'max_connections=300' + - docker run -d -p 61616:61616 -p 5672:5672 alfresco/alfresco-activemq:5.15.8 + script: travis_wait 20 mvn -B test -pl remote-api -Dtest=AppContext02TestSuite -Ddb.driver=org.postgresql.Driver -Ddb.name=alfresco -Ddb.url=jdbc:postgresql://localhost:5433/alfresco -Ddb.username=alfresco -Ddb.password=alfresco + + - name: "Remote-api - AppContext03TestSuite" + before_script: + - docker run -d -p 5433:5432 -e POSTGRES_PASSWORD=alfresco -e POSTGRES_USER=alfresco -e POSTGRES_DB=alfresco postgres:11.7 postgres -c 'max_connections=300' + - docker run -d -p 61616:61616 -p 5672:5672 alfresco/alfresco-activemq:5.15.8 + script: travis_wait 20 mvn -B test -pl remote-api -Dtest=AppContext03TestSuite -Ddb.driver=org.postgresql.Driver -Ddb.name=alfresco -Ddb.url=jdbc:postgresql://localhost:5433/alfresco -Ddb.username=alfresco -Ddb.password=alfresco + + - name: "Remote-api - AppContext04TestSuite" + before_script: + - docker run -d -p 5433:5432 -e POSTGRES_PASSWORD=alfresco -e POSTGRES_USER=alfresco -e POSTGRES_DB=alfresco postgres:11.7 postgres -c 'max_connections=300' + - docker run -d -p 61616:61616 -p 5672:5672 alfresco/alfresco-activemq:5.15.8 + script: travis_wait 20 mvn -B test -pl remote-api -Dtest=AppContext04TestSuite -Ddb.driver=org.postgresql.Driver -Ddb.name=alfresco -Ddb.url=jdbc:postgresql://localhost:5433/alfresco -Ddb.username=alfresco -Ddb.password=alfresco + + - name: "Remote-api - AppContextExtraTestSuite" + before_script: + - docker run -d -p 5433:5432 -e POSTGRES_PASSWORD=alfresco -e POSTGRES_USER=alfresco -e POSTGRES_DB=alfresco postgres:11.7 postgres -c 'max_connections=300' + - docker run -d -p 61616:61616 -p 5672:5672 alfresco/alfresco-activemq:5.15.8 + script: travis_wait 20 mvn -B test -pl remote-api -Dtest=AppContextExtraTestSuite -Ddb.driver=org.postgresql.Driver -Ddb.name=alfresco -Ddb.url=jdbc:postgresql://localhost:5433/alfresco -Ddb.username=alfresco -Ddb.password=alfresco + + - name: "REST API TAS tests part1" + if: commit_message =~ /\[tas\]/ + before_script: + - ${TAS_SCRIPTS}/start-compose.sh ${TAS_ENVIRONMENT}/docker-compose-minimal+transforms.yml + - ${TAS_SCRIPTS}/wait-for-alfresco-start.sh "http://localhost:8082/alfresco" + script: + - travis_wait 60 mvn -B install -f packaging/tests/tas-restapi/pom.xml -Pall-tas-tests,run-restapi-part1 -Denvironment=default -DrunBugs=false + + - name: "REST API TAS tests part2" + if: commit_message =~ /\[tas\]/ + before_script: + - ${TAS_SCRIPTS}/start-compose.sh ${TAS_ENVIRONMENT}/docker-compose-minimal+transforms.yml + - ${TAS_SCRIPTS}/wait-for-alfresco-start.sh "http://localhost:8082/alfresco" + script: + - travis_wait 60 mvn -B install -f packaging/tests/tas-restapi/pom.xml -Pall-tas-tests,run-restapi-part2 -Denvironment=default -DrunBugs=false + + - name: "REST API TAS tests part3" + if: commit_message =~ /\[tas\]/ + before_script: + - ${TAS_SCRIPTS}/start-compose.sh ${TAS_ENVIRONMENT}/docker-compose-minimal+transforms.yml + - ${TAS_SCRIPTS}/wait-for-alfresco-start.sh "http://localhost:8082/alfresco" + script: + - travis_wait 60 mvn -B install -f packaging/tests/tas-restapi/pom.xml -Pall-tas-tests,run-restapi-part3 -Denvironment=default -DrunBugs=false + + - name: "CMIS TAS tests" + if: commit_message =~ /\[tas\]/ + before_script: + - ${TAS_SCRIPTS}/start-compose.sh ${TAS_ENVIRONMENT}/docker-compose-minimal+transforms.yml + - ${TAS_SCRIPTS}/wait-for-alfresco-start.sh "http://localhost:8082/alfresco" + script: + - travis_wait 40 mvn -B install -f packaging/tests/tas-cmis/pom.xml -Pall-tas-tests -Denvironment=default -DrunBugs=false + + - name: "Email TAS tests" + if: commit_message =~ /\[tas\]/ + before_script: + - ${TAS_SCRIPTS}/start-compose.sh ${TAS_ENVIRONMENT}/docker-compose-minimal.yml + - ${TAS_SCRIPTS}/wait-for-alfresco-start.sh "http://localhost:8082/alfresco" + script: + - travis_wait 30 mvn -B install -f packaging/tests/tas-email/pom.xml -Pall-tas-tests -Denvironment=default -DrunBugs=false + + - name: "WebDAV TAS tests" + if: commit_message =~ /\[tas\]/ + before_script: + - ${TAS_SCRIPTS}/start-compose.sh ${TAS_ENVIRONMENT}/docker-compose-minimal.yml + - ${TAS_SCRIPTS}/wait-for-alfresco-start.sh "http://localhost:8082/alfresco" + script: + - travis_wait 30 mvn -B install -f packaging/tests/tas-webdav/pom.xml -Pall-tas-tests -Denvironment=default -DrunBugs=false + + - name: "Integration TAS tests" + if: commit_message =~ /\[tas\]/ + before_script: + - ${TAS_SCRIPTS}/start-compose.sh ${TAS_ENVIRONMENT}/docker-compose-minimal.yml + - ${TAS_SCRIPTS}/wait-for-alfresco-start.sh "http://localhost:8082/alfresco" + script: + - travis_wait 30 mvn -B install -f packaging/tests/tas-integration/pom.xml -Pall-tas-tests -Denvironment=default -DrunBugs=false + + # TODO enable job + - name: "Push to Nexus" + stage: release + if: false + install: travis_retry travis_wait 30 mvn -B -V install -DskipTests -Dmaven.javadoc.skip=true -Pinternal + before_script: bash scripts/travis/verify_release_tag.sh + script: travis_wait 40 bash scripts/travis/maven_release.sh + + - name: "Trigger alfresco-enterprise-repo build" + stage: trigger_downstream + before_install: skip + install: skip + script: bash scripts/travis/trigger_travis.sh "Alfresco" "alfresco-enterprise-repo" "${TRAVIS_BRANCH}" + + # TODO enable or delete job + - name: "Trigger acs-community-packaging build" + stage: trigger_downstream + if: false + before_install: skip + install: skip + script: bash scripts/travis/trigger_travis.sh "Alfresco" "acs-community-packaging" "${TRAVIS_BRANCH}" + diff --git a/core/pom.xml b/core/pom.xml index 02c0ccdbd6..7552a38860 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -1,177 +1,150 @@ - - 4.0.0 - alfresco-core - Alfresco Core - Alfresco core libraries and utils - - - org.alfresco - alfresco-community-repo - 8.300-SNAPSHOT - - - - scm:git:https://github.com/Alfresco/alfresco-core.git - scm:git:https://github.com/Alfresco/alfresco-core.git - https://github.com/Alfresco/alfresco-core - HEAD - - - - - alfresco-public - https://artifacts.alfresco.com/nexus/content/repositories/releases - - - - - - commons-codec - commons-codec - - - commons-httpclient - commons-httpclient - - - commons-logging - commons-logging - - - commons-io - commons-io - - - org.apache.commons - commons-math3 - 3.6.1 - - - org.safehaus.jug - jug - 2.0.0 - asl - - - log4j - log4j - 1.2.17 - - - org.json - json - - - org.springframework - spring-orm - - - - - org.springframework - spring-jcl - - - - - org.springframework - spring-context - - - org.quartz-scheduler - quartz - - - - - com.mchange - * - - - - - org.alfresco.surf - spring-surf-core-configservice - - - jakarta.xml.bind - jakarta.xml.bind-api - - - com.sun.xml.bind - jaxb-core - 2.3.0.1 - - - org.codehaus.guessencoding - guessencoding - 1.4 - - - jakarta.transaction - jakarta.transaction-api - - - joda-time - joda-time - - - - - javax.servlet - javax.servlet-api - provided - - - - - org.slf4j - slf4j-log4j12 - test - - - junit - junit - test - - - org.mockito - mockito-core - test - - - commons-dbcp - commons-dbcp - test - - - - - - - - maven-release-plugin - - true - @{project.version} - - - - - - - - maven-jar-plugin - ${dependency.maven-jar-plugin.version} - - - - test-jar - - - - - - - - + + 4.0.0 + alfresco-core + Alfresco Core + Alfresco core libraries and utils + + + org.alfresco + alfresco-community-repo + 8.300-TEST1-SNAPSHOT + + + + + commons-codec + commons-codec + + + commons-httpclient + commons-httpclient + + + commons-logging + commons-logging + + + commons-io + commons-io + + + org.apache.commons + commons-math3 + 3.6.1 + + + org.safehaus.jug + jug + 2.0.0 + asl + + + log4j + log4j + 1.2.17 + + + org.json + json + + + org.springframework + spring-orm + + + + + org.springframework + spring-jcl + + + + + org.springframework + spring-context + + + org.quartz-scheduler + quartz + + + + + com.mchange + * + + + + + org.alfresco.surf + spring-surf-core-configservice + + + jakarta.xml.bind + jakarta.xml.bind-api + + + com.sun.xml.bind + jaxb-core + 2.3.0.1 + + + org.codehaus.guessencoding + guessencoding + 1.4 + + + jakarta.transaction + jakarta.transaction-api + + + joda-time + joda-time + + + + + javax.servlet + javax.servlet-api + provided + + + + + org.slf4j + slf4j-log4j12 + test + + + junit + junit + test + + + org.mockito + mockito-core + test + + + commons-dbcp + commons-dbcp + test + + + + + + + maven-jar-plugin + + + + test-jar + + + + + + + + diff --git a/data-model/pom.xml b/data-model/pom.xml index 3a7dbce8a2..2de489424c 100644 --- a/data-model/pom.xml +++ b/data-model/pom.xml @@ -1,337 +1,315 @@ - - 4.0.0 - alfresco-data-model - Alfresco Data Model - Alfresco Data Model classes - - - org.alfresco - alfresco-community-repo - 8.300-SNAPSHOT - - - - scm:git:https://github.com/Alfresco/alfresco-data-model.git - scm:git:https://github.com/Alfresco/alfresco-data-model.git - https://github.com/Alfresco/alfresco-data-model - HEAD - - - - - alfresco-public - https://artifacts.alfresco.com/nexus/content/repositories/releases - - - - - 1.24.1 - - - source/java/org/alfresco/repo/search/impl/parsers/CMIS*er.java, - source/java/org/alfresco/repo/search/impl/parsers/FTSParser.java, - source/java/org/alfresco/repo/search/impl/parsers/FTSLexer.java - - - - - - - org.jibx - maven-jibx-plugin - - true - ${project.build.sourceDirectory}/org/alfresco/repo/dictionary - - m2binding.xml - - - - - bind-sources - - bind - - - - - - - - maven-antrun-plugin - - - duplicate-english-messages - generate-resources - - run - - - - - - - - - - - - - - maven-jar-plugin - ${dependency.maven-jar-plugin.version} - - - - test-jar - - - - - - - - - - - org.eclipse.m2e - lifecycle-mapping - 1.0.0 - - - - - - org.jibx - - maven-jibx-plugin - - - [1.2.5,) - - - bind - - - - - true - true - - - - - - - - - maven-release-plugin - - true - @{project.version} - - - - - - - - - org.alfresco - alfresco-core - - - - javax.servlet - javax.servlet-api - provided - - - - org.jibx - jibx-run - 1.3.3 - - - com.fasterxml.jackson.core - jackson-annotations - ${dependency.jackson.version} - - - org.antlr - antlr - ${dependency.antlr.version} - - - - com.fasterxml.woodstox - woodstox-core - 5.0.3 - - - - jakarta.jws - jakarta.jws-api - 1.1.1 - - - - jakarta.transaction - jakarta.transaction-api - - - - jakarta.annotation - jakarta.annotation-api - 1.3.5 - - - - com.sun.activation - jakarta.activation - 1.2.2 - - - - org.apache.chemistry.opencmis - chemistry-opencmis-commons-impl - ${dependency.opencmis.version} - - - com.sun.xml.messaging.saaj - saaj-impl - - - - org.codehaus.woodstox - woodstox-core-asl - - - - - org.apache.chemistry.opencmis - chemistry-opencmis-server-bindings - ${dependency.opencmis.version} - - - commons-lang - commons-lang3 - - - - org.apache.geronimo.specs - geronimo-ws-metadata_2.0_spec - - - - org.apache.geronimo.specs - geronimo-jta_1.1_spec - - - - javax.annotation - javax.annotation-api - - - - com.sun.activation - javax.activation - - - - - - org.acegisecurity - acegi-security - 0.8.2_patched - - - org.alfresco - alfresco-xmlfactory - 1.3 - - - xerces - xercesImpl - - - - org.apache.tika - tika-core - ${dependency.tika.version} - - - org.apache.tika - tika-parsers - ${dependency.tika.version} - - - com.tdunning - json - - - org.bouncycastle - bcprov-jdk15on - - - asm - asm - - - - org.glassfish.jaxb - txw2 - - - com.sun.istack - istack-commons-runtime - - - - org.apache.geronimo.specs - geronimo-ws-metadata_2.0_spec - - - - org.apache.geronimo.specs - geronimo-jta_1.1_spec - - - - javax.annotation - javax.annotation-api - - - - com.sun.activation - javax.activation - - - - - - - junit - junit - test - - - org.antlr - gunit - test - - - org.mockito - mockito-core - test - - - - + + 4.0.0 + alfresco-data-model + Alfresco Data Model + Alfresco Data Model classes + + + org.alfresco + alfresco-community-repo + 8.300-TEST1-SNAPSHOT + + + + 1.24.1 + + + source/java/org/alfresco/repo/search/impl/parsers/CMIS*er.java, + source/java/org/alfresco/repo/search/impl/parsers/FTSParser.java, + source/java/org/alfresco/repo/search/impl/parsers/FTSLexer.java + + + + + + + org.jibx + maven-jibx-plugin + + true + ${project.build.sourceDirectory}/org/alfresco/repo/dictionary + + m2binding.xml + + + + + bind-sources + + bind + + + + + + + + maven-antrun-plugin + + + duplicate-english-messages + generate-resources + + run + + + + + + + + + + + + + + maven-jar-plugin + + + + test-jar + + + + + + + + + + + org.eclipse.m2e + lifecycle-mapping + 1.0.0 + + + + + + org.jibx + + maven-jibx-plugin + + + [1.2.5,) + + + bind + + + + + true + true + + + + + + + + + + + + + + org.alfresco + alfresco-core + + + + javax.servlet + javax.servlet-api + provided + + + + org.jibx + jibx-run + 1.3.3 + + + com.fasterxml.jackson.core + jackson-annotations + ${dependency.jackson.version} + + + org.antlr + antlr + ${dependency.antlr.version} + + + + com.fasterxml.woodstox + woodstox-core + 5.0.3 + + + + jakarta.jws + jakarta.jws-api + 1.1.1 + + + + jakarta.transaction + jakarta.transaction-api + + + + jakarta.annotation + jakarta.annotation-api + 1.3.5 + + + + com.sun.activation + jakarta.activation + 1.2.2 + + + + org.apache.chemistry.opencmis + chemistry-opencmis-commons-impl + ${dependency.opencmis.version} + + + com.sun.xml.messaging.saaj + saaj-impl + + + + org.codehaus.woodstox + woodstox-core-asl + + + + + org.apache.chemistry.opencmis + chemistry-opencmis-server-bindings + ${dependency.opencmis.version} + + + commons-lang + commons-lang3 + + + + org.apache.geronimo.specs + geronimo-ws-metadata_2.0_spec + + + + org.apache.geronimo.specs + geronimo-jta_1.1_spec + + + + javax.annotation + javax.annotation-api + + + + com.sun.activation + javax.activation + + + + + + org.acegisecurity + acegi-security + 0.8.2_patched + + + org.alfresco + alfresco-xmlfactory + 1.3 + + + xerces + xercesImpl + + + + org.apache.tika + tika-core + ${dependency.tika.version} + + + org.apache.tika + tika-parsers + ${dependency.tika.version} + + + com.tdunning + json + + + org.bouncycastle + bcprov-jdk15on + + + asm + asm + + + + org.glassfish.jaxb + txw2 + + + com.sun.istack + istack-commons-runtime + + + + org.apache.geronimo.specs + geronimo-ws-metadata_2.0_spec + + + + org.apache.geronimo.specs + geronimo-jta_1.1_spec + + + + javax.annotation + javax.annotation-api + + + + com.sun.activation + javax.activation + + + + + + + junit + junit + test + + + org.antlr + gunit + test + + + org.mockito + mockito-core + test + + + + diff --git a/packaging/docker-alfresco/pom.xml b/packaging/docker-alfresco/pom.xml index 5e810015e6..986441232a 100644 --- a/packaging/docker-alfresco/pom.xml +++ b/packaging/docker-alfresco/pom.xml @@ -1,292 +1,266 @@ - - 4.0.0 - alfresco-community-repo-docker - Alfresco Community Repo Docker Base Builder - pom - - - org.alfresco - alfresco-community-repo-packaging - 8.300-SNAPSHOT - - - - alfresco/alfresco-community-repo-base - quay.io - - - - - - org.apache.maven.plugins - maven-resources-plugin - 3.1.0 - - - copy-licenses - process-resources - - copy-resources - - - - - - ../distribution/src/main/resources/licenses - false - - - ${project.build.directory}/licenses - - - - - - org.apache.maven.plugins - maven-dependency-plugin - 3.1.2 - - - unpack-war-files - process-resources - - unpack - - - - - org.alfresco - content-services-community - ${project.version} - war - false - ${project.build.directory}/war/alfresco - - - org.alfresco - alfresco-server-root - ${dependency.alfresco-server-root.version} - war - ${project.build.directory}/war/ROOT - - - org.alfresco.aos-module - alfresco-vti-bin - war - ${project.build.directory}/war/_vti_bin - - - - - - copy-jdbc-connectors - process-resources - - copy - - - - - org.postgresql - postgresql - jar - false - ${project.build.directory}/connector - - - org.alfresco - alfresco-mmt - jar - false - ${project.build.directory}/alfresco-mmt - - - - - - - copy-amps - process-resources - - copy - - - - - org.alfresco.aos-module - alfresco-aos-module - amp - false - ${project.build.directory}/amps - - - org.alfresco.integrations - alfresco-googledrive-repo-community - amp - false - ${project.build.directory}/amps - - - - - - - - - io.fabric8 - fabric8-maven-plugin - ${dependency.fabric8.version} - - - - ${image.name} - - ${project.basedir}/ - - - - - - - - - - - communityDocker - - - - io.fabric8 - fabric8-maven-plugin - ${dependency.fabric8.version} - - - build-image - install - - build - - - - - - - - - - internal - - - - io.fabric8 - fabric8-maven-plugin - ${dependency.fabric8.version} - - - - ${image.name}:${image.tag} - ${image.registry} - - ${project.basedir}/ - - - - - - - build-push-image - install - - build - push - - - - - - - - - - master - - - - io.fabric8 - fabric8-maven-plugin - ${dependency.fabric8.version} - - - - ${image.name} - ${image.registry} - - ${project.basedir}/ - - - - ${image.name} - - ${project.basedir}/ - - - - - - - build-push-image - install - - build - push - - - - - - - - - - release - - - - io.fabric8 - fabric8-maven-plugin - ${dependency.fabric8.version} - - - - quay.io - ${image.name}:${project.version} - ${image.registry} - - ${project.basedir}/ - - - - dockerhub - ${image.name}:${project.version} - - ${project.basedir}/ - - - - - - - build-push-image - deploy - - build - push - - - - - - - - - + + 4.0.0 + alfresco-community-repo-docker + Alfresco Community Repo Docker Base Builder + pom + + + org.alfresco + alfresco-community-repo-packaging + 8.300-TEST1-SNAPSHOT + + + + alfresco/alfresco-community-repo-base + + + + + + org.apache.maven.plugins + maven-resources-plugin + + + copy-licenses + process-resources + + copy-resources + + + + + + ../distribution/src/main/resources/licenses + false + + + ${project.build.directory}/licenses + + + + + + org.apache.maven.plugins + maven-dependency-plugin + + + unpack-war-files + process-resources + + unpack + + + + + org.alfresco + content-services-community + ${project.version} + war + false + ${project.build.directory}/war/alfresco + + + org.alfresco + alfresco-server-root + ${dependency.alfresco-server-root.version} + war + ${project.build.directory}/war/ROOT + + + org.alfresco.aos-module + alfresco-vti-bin + war + ${project.build.directory}/war/_vti_bin + + + + + + copy-jdbc-connectors + process-resources + + copy + + + + + org.postgresql + postgresql + jar + false + ${project.build.directory}/connector + + + org.alfresco + alfresco-mmt + jar + false + ${project.build.directory}/alfresco-mmt + + + + + + + copy-amps + process-resources + + copy + + + + + org.alfresco.aos-module + alfresco-aos-module + amp + false + ${project.build.directory}/amps + + + org.alfresco.integrations + alfresco-googledrive-repo-community + amp + false + ${project.build.directory}/amps + + + + + + + + + + + + communityDocker + + + + + io.fabric8 + fabric8-maven-plugin + + + + ${image.name}:${image.tag} + + ${project.basedir}/ + + true + + + + + + + + build-image + install + + build + + + + + + + + + + internal + + + + + io.fabric8 + fabric8-maven-plugin + + + + + ${image.name}:${image.tag} + ${image.registry} + + ${project.basedir}/ + + true + + + + + + ${image.name}:${image.tag} + + ${project.basedir}/ + + true + + + + + + + + build-push-image + install + + build + push + + + + + + + + + + release + + + + + io.fabric8 + fabric8-maven-plugin + + + + + ${image.name}:${project.version} + ${image.registry} + + ${project.basedir}/ + + true + + + + + + ${image.name}:${project.version} + + ${project.basedir}/ + + true + + + + + + + + build-push-image + deploy + + build + push + + + + + + + + + diff --git a/packaging/pom.xml b/packaging/pom.xml index 7e399b6d6e..341083e134 100644 --- a/packaging/pom.xml +++ b/packaging/pom.xml @@ -7,31 +7,12 @@ org.alfresco alfresco-community-repo - 8.300-SNAPSHOT + 8.300-TEST1-SNAPSHOT - - scm:git:https://github.com/Alfresco/alfresco-community-repo-packaging.git - scm:git:https://github.com/Alfresco/alfresco-community-repo-packaging.git - https://github.com/Alfresco/alfresco-community-repo-packaging - HEAD - - - - - alfresco-internal - https://artifacts.alfresco.com/nexus/content/repositories/releases - - - alfresco-internal-snapshots - https://artifacts.alfresco.com/nexus/content/repositories/snapshots - - - - - Community latest + quay.io ${project.version} alfresco-community @@ -39,6 +20,16 @@ + + fullBuild + + true + + + war + docker-alfresco + + community @@ -52,16 +43,6 @@ docker-alfresco - - fullBuild - - true - - - war - docker-alfresco - - all-tas-tests diff --git a/packaging/scripts/travis/copy_to_release_bucket.sh b/packaging/scripts/travis/copy_to_release_bucket.sh deleted file mode 100755 index f04dc95162..0000000000 --- a/packaging/scripts/travis/copy_to_release_bucket.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/env bash -set -ev - -if [ -z ${COMM_RELEASE_VERSION} ] || [ -z ${RELEASE_VERSION} ]; -then - echo "Please provide a COMM_RELEASE_VERSION and RELEASE_VERSION in the format - (6.3.0-EA or 6.3.0-SNAPSHOT)" - exit -1 -fi - -build_number=$1 -branch_name=$2 -build_stage=release -SOURCE=s3://alfresco-artefacts-staging/alfresco-content-services-community/$build_stage/$branch_name/$build_number -DESTINATION=s3://eu.dl.alfresco.com/release/community/$COMM_RELEASE_VERSION-build-$build_number - -aws s3 cp --acl private $SOURCE/alfresco.war $DESTINATION/alfresco.war -aws s3 cp --acl private $SOURCE/alfresco-content-services-community-distribution-$RELEASE_VERSION.zip $DESTINATION/alfresco-content-services-community-distribution-$RELEASE_VERSION.zip \ No newline at end of file diff --git a/packaging/scripts/travis/maven_release.sh b/packaging/scripts/travis/maven_release.sh deleted file mode 100755 index b4e9155643..0000000000 --- a/packaging/scripts/travis/maven_release.sh +++ /dev/null @@ -1,31 +0,0 @@ -#!/usr/bin/env bash -set -e - -releaseVersion=$1 -developmentVersion=$2 -scm_path=$(mvn help:evaluate -Dexpression=project.scm.url -q -DforceStdout) - -# Use full history for release -git checkout -B "${TRAVIS_BRANCH}" -# Add email to link commits to user -git config user.email "${GIT_EMAIL}" - -if [ -z ${releaseVersion} ] || [ -z ${developmentVersion} ]; - then echo "Please provide a Release and Development verison in the format - (6.3.0-EA or 6.3.0-SNAPSHOT)" - exit -1 -else - mvn --batch-mode \ - -PfullBuild,all-tas-tests \ - -Dusername="${GIT_USERNAME}" \ - -Dpassword="${GIT_PASSWORD}" \ - -DreleaseVersion=${releaseVersion} \ - -DdevelopmentVersion=${developmentVersion} \ - -Dbuild-number=${TRAVIS_BUILD_NUMBER} \ - -Dbuild-name="${TRAVIS_BUILD_STAGE_NAME}" \ - -Dscm-path=${scm_path} \ - -DscmCommentPrefix="[maven-release-plugin][skip ci]" \ - -DskipTests \ - "-Darguments=-DskipTests -Dbuild-number=${TRAVIS_BUILD_NUMBER} '-Dbuild-name=${TRAVIS_BUILD_STAGE_NAME}' -Dscm-path=${scm_path} -PfullBuild,all-tas-tests" \ - release:clean release:prepare release:perform \ - -Prelease -fi diff --git a/packaging/scripts/travis/verify_release_tag.sh b/packaging/scripts/travis/verify_release_tag.sh deleted file mode 100755 index 51086b8ec7..0000000000 --- a/packaging/scripts/travis/verify_release_tag.sh +++ /dev/null @@ -1,31 +0,0 @@ -#!/usr/bin/env bash -set -e - -if [ -v ${RELEASE_VERSION} ]||[ -z ${RELEASE_VERSION} ]; then - echo "Please provide a RELEASE_VERSION in the format - (6.3.0-EA or 6.3.0-SNAPSHOT)" - exit -1 -fi -# get the image name from the pom file -alfresco_docker_image=$(mvn help:evaluate -f ./docker-alfresco/pom.xml -Dexpression=image.name -q -DforceStdout) -docker_image_full_name="$alfresco_docker_image:$RELEASE_VERSION" - -function docker_image_exists() { - local image_full_name="$1"; shift - local wait_time="${1:-5}" - local search_term='Pulling|is up to date|not found' - echo "Looking to see if $image_full_name already exists..." - local result="$((timeout --preserve-status "$wait_time" docker 2>&1 pull "$image_full_name" &) | grep -v 'Pulling repository' | egrep -o "$search_term")" - test "$result" || { echo "Timed out too soon. Try using a wait_time greater than $wait_time..."; return 1 ;} - if echo $result | grep -vq 'not found'; then - true - else - false - fi -} - -if docker_image_exists $docker_image_full_name; then - echo "Tag $RELEASE_VERSION already pushed, release process will interrupt." - exit -1 -else - echo "The $RELEASE_VERSION tag was not found" -fi diff --git a/packaging/tests/pom.xml b/packaging/tests/pom.xml index be71e9d7d1..dc8c085121 100644 --- a/packaging/tests/pom.xml +++ b/packaging/tests/pom.xml @@ -1,24 +1,24 @@ - - 4.0.0 - alfresco-community-repo-tests - pom - - - org.alfresco - alfresco-community-repo-packaging - 8.300-SNAPSHOT - - - - tas-restapi - tas-cmis - tas-email - tas-webdav - tas-integration - - - - - 20170516 - + + 4.0.0 + alfresco-community-repo-tests + pom + + + org.alfresco + alfresco-community-repo-packaging + 8.300-TEST1-SNAPSHOT + + + + tas-restapi + tas-cmis + tas-email + tas-webdav + tas-integration + + + + + 20170516 + \ No newline at end of file diff --git a/packaging/tests/tas-cmis/pom.xml b/packaging/tests/tas-cmis/pom.xml index 969bced1df..64219142b4 100644 --- a/packaging/tests/tas-cmis/pom.xml +++ b/packaging/tests/tas-cmis/pom.xml @@ -1,64 +1,64 @@ - - - 4.0.0 - org.alfresco.tas - alfresco-community-repo-cmis-test - cmis test - jar - - - org.alfresco - alfresco-community-repo-tests - 8.300-SNAPSHOT - - - - - Paul Brodner - - Test Automation Architect - - - - - - ${project.basedir}/src/test/resources/cmis-suite.xml - - - - - org.alfresco.tas - cmis - test - - - - - - - org.apache.maven.plugins - maven-surefire-plugin - - - ${suiteXmlFile} - - - --illegal-access=warn - - - - - - org.apache.maven.plugins - maven-jar-plugin - - - - test-jar - - - - - - - + + + 4.0.0 + org.alfresco.tas + alfresco-community-repo-cmis-test + cmis test + jar + + + org.alfresco + alfresco-community-repo-tests + 8.300-TEST1-SNAPSHOT + + + + + Paul Brodner + + Test Automation Architect + + + + + + ${project.basedir}/src/test/resources/cmis-suite.xml + + + + + org.alfresco.tas + cmis + test + + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + + ${suiteXmlFile} + + + --illegal-access=warn + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + test-jar + + + + + + + diff --git a/packaging/tests/tas-email/pom.xml b/packaging/tests/tas-email/pom.xml index 4aa4a3b8fd..ad1bd050bb 100644 --- a/packaging/tests/tas-email/pom.xml +++ b/packaging/tests/tas-email/pom.xml @@ -9,8 +9,8 @@ org.alfresco alfresco-community-repo-tests - 8.300-SNAPSHOT - + 8.300-TEST1-SNAPSHOT + diff --git a/packaging/tests/tas-integration/pom.xml b/packaging/tests/tas-integration/pom.xml index 5880dce347..f87f36e274 100644 --- a/packaging/tests/tas-integration/pom.xml +++ b/packaging/tests/tas-integration/pom.xml @@ -9,8 +9,8 @@ org.alfresco alfresco-community-repo-tests - 8.300-SNAPSHOT - + 8.300-TEST1-SNAPSHOT + diff --git a/packaging/tests/tas-restapi/pom.xml b/packaging/tests/tas-restapi/pom.xml index f71fd2fb0e..b811b12735 100644 --- a/packaging/tests/tas-restapi/pom.xml +++ b/packaging/tests/tas-restapi/pom.xml @@ -9,8 +9,8 @@ org.alfresco alfresco-community-repo-tests - 8.300-SNAPSHOT - + 8.300-TEST1-SNAPSHOT + diff --git a/packaging/tests/tas-webdav/pom.xml b/packaging/tests/tas-webdav/pom.xml index db1b73dc48..41dfef9682 100644 --- a/packaging/tests/tas-webdav/pom.xml +++ b/packaging/tests/tas-webdav/pom.xml @@ -9,8 +9,8 @@ org.alfresco alfresco-community-repo-tests - 8.300-SNAPSHOT - + 8.300-TEST1-SNAPSHOT + diff --git a/packaging/war/pom.xml b/packaging/war/pom.xml index 735da32cd0..5e36f4805b 100644 --- a/packaging/war/pom.xml +++ b/packaging/war/pom.xml @@ -1,282 +1,259 @@ - - 4.0.0 - content-services-community - Alfresco Content Services Community WAR - war - - - org.alfresco - alfresco-community-repo-packaging - 8.300-SNAPSHOT - - - - local/development/workspace - ${buildNumber} - - community - - - - - org.alfresco - alfresco-repository - - - org.alfresco - alfresco-remote-api - - - org.alfresco - alfresco-trashcan-cleaner - - - org.alfresco.services - alfresco-messaging-repo - - - xalan - xalan - - - commons-logging - commons-logging - - - org.apache.avalon.framework - avalon-framework-api - 4.3.1 - - - org.apache.avalon.framework - avalon-framework-impl - 4.3.1 - - - org.alfresco - alfresco-log-sanitizer - - - - org.glassfish.jaxb - jaxb-runtime - 2.3.2 - - - javax.xml.soap - javax.xml.soap-api - 1.4.0 - - - - javax.servlet - javax.servlet-api - provided - - - - org.alfresco - alfresco-core - tests - test - - - org.alfresco - alfresco-repository - tests - test - - - org.alfresco - alfresco-remote-api - tests - test - - - - commons-lang - commons-lang - - - org.springframework - spring-test - test - - - org.mockito - mockito-core - test - - - org.apache.shale - shale-test - 1.0.5 - test - - - org.postgresql - postgresql - test - - - mysql - mysql-connector-java - test - - - - - alfresco - - - - src/main/resources - - alfresco/version.properties - - - - src/main/resources - - alfresco/version.properties - - true - - - - - - org.codehaus.mojo - buildnumber-maven-plugin - 1.4 - - - validate - - create - - - - - 8 - - - - maven-dependency-plugin - - - - fetch-log4j-config - prepare-package - - unpack - - - - - org.alfresco - alfresco-core - - - log*.properties - ${project.build.outputDirectory} - - - - - - - maven-war-plugin - 3.3.1 - - - - pre-exploded-war - - exploded - - prepare-package - - - - - - org.codehaus.mojo - license-maven-plugin - - false - Alfresco Software Limited - true - true - classpath://alfresco - ${licenseName} - - src - - - **/*.java - **/*.jsp - - - - - check-licenses - compile - - check-file-header - - - - - - org.alfresco - alfresco-license-headers - 1.0 - - - - - - - - - org.apache.maven.plugins - maven-javadoc-plugin - ${dependency.maven-jar-plugin.version} - - ${maven.build.sourceVersion} - - - - - maven-release-plugin - 2.5.3 - - - org.codehaus.mojo - license-maven-plugin - 1.13 - - - - - - - - - m2e - - - commons-logging - commons-logging - - runtime - - - mysql - mysql-connector-java - - - - - + + 4.0.0 + content-services-community + Alfresco Content Services Community WAR + war + + + org.alfresco + alfresco-community-repo-packaging + 8.300-TEST1-SNAPSHOT + + + + ${project.parent.parent.scm.url} + ${build-number} + + community + + + + + org.alfresco + alfresco-repository + + + org.alfresco + alfresco-remote-api + + + org.alfresco + alfresco-trashcan-cleaner + + + org.alfresco.services + alfresco-messaging-repo + + + xalan + xalan + + + commons-logging + commons-logging + + + org.apache.avalon.framework + avalon-framework-api + 4.3.1 + + + org.apache.avalon.framework + avalon-framework-impl + 4.3.1 + + + org.alfresco + alfresco-log-sanitizer + + + + org.glassfish.jaxb + jaxb-runtime + 2.3.2 + + + javax.xml.soap + javax.xml.soap-api + 1.4.0 + + + + javax.servlet + javax.servlet-api + provided + + + + org.alfresco + alfresco-core + tests + test + + + org.alfresco + alfresco-repository + tests + test + + + org.alfresco + alfresco-remote-api + tests + test + + + + commons-lang + commons-lang + + + org.springframework + spring-test + test + + + org.mockito + mockito-core + test + + + org.apache.shale + shale-test + 1.0.5 + test + + + org.postgresql + postgresql + test + + + mysql + mysql-connector-java + test + + + + + alfresco + + + + src/main/resources + + alfresco/version.properties + + + + src/main/resources + + alfresco/version.properties + + true + + + + + maven-dependency-plugin + + + + fetch-log4j-config + prepare-package + + unpack + + + + + org.alfresco + alfresco-core + + + log*.properties + ${project.build.outputDirectory} + + + + + + + maven-war-plugin + 3.3.1 + + + + pre-exploded-war + + exploded + + prepare-package + + + + + + org.codehaus.mojo + license-maven-plugin + + false + Alfresco Software Limited + true + true + classpath://alfresco + ${licenseName} + + src + + + **/*.java + **/*.jsp + + + + + check-licenses + compile + + check-file-header + + + + + + org.alfresco + alfresco-license-headers + 1.0 + + + + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + + ${maven.build.sourceVersion} + + + + org.codehaus.mojo + license-maven-plugin + 1.13 + + + + + + + + + m2e + + + commons-logging + commons-logging + + runtime + + + mysql + mysql-connector-java + + + + + diff --git a/pom.xml b/pom.xml index a3765779a1..8f1a3f54fe 100644 --- a/pom.xml +++ b/pom.xml @@ -1,745 +1,774 @@ - - - 4.0.0 - org.alfresco - alfresco-community-repo - 8.300-SNAPSHOT - pom - Alfresco Community Repo Parent - - - org.alfresco - alfresco-super-pom - 12 - - - - core - data-model - repository - remote-api - packaging - - - - ${project.version} - - 7 - 0 - 0 - - - 11 - 11 - 11 - 11 - - 1.0.12 - 6.0 - 1.1 - 2.3 - 7.1 - 6.0.1 - 1.2.15 - 0.2 - 5.23.0 - 5.23.0 - 1.0.2.11 - - 5.2.8.RELEASE - 3.5.2 - 4.4.0 - 2.11.2 - 2.10.1 - 3.3.7 - 1.0.0 - 2.0.20 - 8.8 - 1.66 - 3.4.6 - 20090211 - 1.4-DBCP330 - 28.2-jre - 2.7 - 2.8.5 - 4.5.12 - 4.4.13 - 3.1-HTTPCLIENT-1265 - 2.12.0-alfresco-patched-20191004 - 3.2.0 - 1.7.30 - 0.11.6 - 2.3.3 - - 3.2.0 - 1.3.1 - - 42.2.14 - 8.0.21 - 2.6.2 - - 3.0.21 - 3.3.0 - 1.1.4 - 1.47 - 1.13 - 1.8 - 1.6 - 1.5 - 2.3 - - - - - full-build - - true - - - core - data-model - repository - remote-api - packaging - - - - - - scm:git:https://github.com/Alfresco/alfresco-community-repo.git - scm:git:https://github.com/Alfresco/alfresco-community-repo.git - https://github.com/Alfresco/alfresco-community-repo - HEAD - - - - - alfresco-public-snapshots - https://artifacts.alfresco.com/nexus/content/repositories/snapshots - - - alfresco-public - https://artifacts.alfresco.com/nexus/content/repositories/releases - - - - - - - org.alfresco - content-services-community - ${dependency.alfresco-community-repo.version} - war - - - org.alfresco - alfresco-core - ${dependency.alfresco-community-repo.version} - - - org.alfresco - alfresco-core - ${dependency.alfresco-community-repo.version} - tests - - - org.alfresco - alfresco-data-model - ${dependency.alfresco-community-repo.version} - - - org.alfresco - alfresco-data-model - ${dependency.alfresco-community-repo.version} - tests - - - org.alfresco - alfresco-jlan-embed - ${dependency.alfresco-jlan.version} - - - org.alfresco - alfresco-remote-api - ${dependency.alfresco-community-repo.version} - - - org.alfresco - alfresco-remote-api - ${dependency.alfresco-community-repo.version} - tests - - - org.alfresco - alfresco-repository - ${dependency.alfresco-community-repo.version} - - - org.alfresco - alfresco-repository - ${dependency.alfresco-community-repo.version} - tests - - - org.alfresco - alfresco-trashcan-cleaner - ${dependency.alfresco-trashcan-cleaner.version} - - - org.alfresco - alfresco-heartbeat-data-sender - ${dependency.alfresco-hb-data-sender.version} - - - xalan - xalan - 2.7.2-alfresco - - - org.alfresco.services - alfresco-messaging-repo - ${dependency.alfresco-messaging-repo.version} - - - org.alfresco - alfresco-mmt - ${dependency.alfresco-mmt.version} - - - org.alfresco - alfresco-pdf-renderer - ${dependency.alfresco-pdf-renderer.version} - linux - tgz - - - org.alfresco - alfresco-pdf-renderer - ${dependency.alfresco-pdf-renderer.version} - win64 - tgz - - - org.alfresco - alfresco-pdf-renderer - ${dependency.alfresco-pdf-renderer.version} - - - org.alfresco - alfresco-server-root - ${dependency.alfresco-server-root.version} - war - - - org.alfresco.surf - spring-surf-core-configservice - ${dependency.webscripts.version} - - - org.alfresco.surf - spring-webscripts - ${dependency.webscripts.version} - - - org.alfresco.surf - spring-webscripts - ${dependency.webscripts.version} - tests - test - - - org.alfresco.surf - spring-webscripts-api - ${dependency.webscripts.version} - - - org.quartz-scheduler - quartz - 2.3.2 - - - - - com.mchange - * - - - - - org.apache.httpcomponents - httpcore - ${dependency.httpcore.version} - - - commons-httpclient - commons-httpclient - ${dependency.commons-httpclient.version} - - - commons-logging - commons-logging - 1.2 - - - commons-beanutils - commons-beanutils - 1.9.4 - - - commons-codec - commons-codec - 1.14 - - - commons-io - commons-io - ${dependency.commons-io.version} - - - commons-collections - commons-collections - 3.2.2 - - - - commons-digester - commons-digester - 2.1 - - - commons-lang - commons-lang - 2.6 - - - commons-fileupload - commons-fileupload - 1.4 - - - com.sun.xml.bind - jaxb-impl - ${dependency.jaxb.version} - - - org.apache.httpcomponents - httpclient - ${dependency.httpclient.version} - - - org.apache.httpcomponents - httpclient-cache - ${dependency.httpclient.version} - - - org.apache.xmlbeans - xmlbeans - 3.1.0 - - - org.json - json - ${dependency.org-json.version} - - - org.springframework - spring-aop - ${dependency.spring.version} - - - org.springframework - spring-beans - ${dependency.spring.version} - - - org.springframework - spring-context - ${dependency.spring.version} - - - org.springframework - spring-context-support - ${dependency.spring.version} - - - org.springframework - spring-core - ${dependency.spring.version} - - - - - org.springframework - spring-jcl - - - - - org.springframework - spring-expression - ${dependency.spring.version} - - - org.springframework - spring-jdbc - ${dependency.spring.version} - - - org.springframework - spring-jms - ${dependency.spring.version} - - - org.springframework - spring-test - ${dependency.spring.version} - test - - - org.springframework - spring-orm - ${dependency.spring.version} - - - - - org.springframework - spring-jcl - - - - - org.springframework - spring-tx - ${dependency.spring.version} - - - org.springframework - spring-web - ${dependency.spring.version} - - - org.springframework - spring-webmvc - ${dependency.spring.version} - - - com.fasterxml.jackson.core - jackson-core - ${dependency.jackson.version} - - - com.fasterxml.jackson.core - jackson-databind - ${dependency.jackson-databind.version} - - - com.fasterxml.jackson.core - jackson-annotations - ${dependency.jackson.version} - - - - com.fasterxml.jackson.module - jackson-module-jaxb-annotations - ${dependency.jackson.version} - - - jakarta.xml.bind - jakarta.xml.bind-api - 2.3.3 - - - org.codehaus.woodstox - woodstox-core-asl - 4.4.1 - - - - org.apache.cxf - cxf-rt-frontend-jaxws - ${dependency.cxf.version} - - - org.apache.cxf - cxf-rt-frontend-jaxrs - ${dependency.cxf.version} - - - org.apache.cxf - cxf-rt-rs-client - ${dependency.cxf.version} - - - org.apache.cxf - cxf-rt-transports-http - ${dependency.cxf.version} - - - org.apache.cxf - cxf-rt-ws-policy - ${dependency.cxf.version} - - - - org.apache.commons - commons-email - 1.5 - - - org.alfresco - alfresco-log-sanitizer - ${dependency.alfresco-log-sanitizer.version} - - - org.alfresco.aos-module - alfresco-aos-module - ${alfresco.aos-module.version} - amp - - - org.alfresco.aos-module - alfresco-aos-module-distributionzip - ${alfresco.aos-module.version} - zip - - - org.alfresco.aos-module - alfresco-vti-bin - ${alfresco.aos-module.version} - war - - - org.alfresco.integrations - alfresco-googledrive-repo-community - ${alfresco.googledrive.version} - amp - - - - org.bouncycastle - bcprov-jdk15on - ${dependency.bouncycastle.version} - - - org.bouncycastle - bcmail-jdk15on - ${dependency.bouncycastle.version} - - - org.slf4j - slf4j-api - ${dependency.slf4j.version} - - - org.slf4j - slf4j-log4j12 - ${dependency.slf4j.version} - - - xerces - xercesImpl - ${dependency.xercesImpl.version} - - - - com.drewnoakes - metadata-extractor - 2.14.0 - - - - com.github.junrar - junrar - 4.0.0 - - - - org.jsoup - jsoup - 1.13.1 - - - - com.google.guava - guava - ${dependency.guava.version} - - - - org.apache.commons - commons-compress - 1.19 - - - - org.apache.pdfbox - pdfbox - ${dependency.pdfbox.version} - - - org.apache.commons - commons-csv - 1.8 - - - - org.postgresql - postgresql - ${dependency.postgresql.version} - test - - - mysql - mysql-connector-java - ${dependency.mysql.version} - test - - - org.mariadb.jdbc - mariadb-java-client - ${dependency.mariadb.version} - test - - - - org.alfresco.tas - alfresco-community-repo-cmis-test - ${dependency.alfresco-community-repo.version} - tests - test - - - org.alfresco.tas - alfresco-community-repo-email-test - ${dependency.alfresco-community-repo.version} - tests - test - - - org.alfresco.tas - alfresco-community-repo-integration-test - ${dependency.alfresco-community-repo.version} - tests - test - - - org.alfresco.tas - alfresco-community-repo-restapi-test - ${dependency.alfresco-community-repo.version} - tests - test - - - org.alfresco.tas - alfresco-community-repo-webdav-test - ${dependency.alfresco-community-repo.version} - tests - test - - - org.alfresco.tas - utility - ${dependency.tas-utility.version} - test - - - io.rest-assured - rest-assured - ${dependency.rest-assured.version} - test - - - org.glassfish - javax.json - ${dependency.javax.json.version} - test - - - org.alfresco.tas - restapi - ${dependency.tas-restapi.version} - test - - - org.alfresco.tas - cmis - ${dependency.tas-cmis.version} - test - - - org.alfresco.tas - email - ${dependency.tas-email.version} - test - - - org.alfresco.tas - webdav - ${dependency.tas-webdav.version} - test - - - org.alfresco.tas - ftp - ${dependency.tas-ftp.version} - test - - - org.alfresco.test - dataprep - ${dependency.tas-dataprep.version} - test - - - jakarta.transaction - jakarta.transaction-api - 1.3.3 - - - joda-time - joda-time - 2.10.6 - - - - - javax.servlet - javax.servlet-api - 3.0.1 - provided - - - - - junit - junit - 4.13 - test - - - org.antlr - gunit - ${dependency.antlr.version} - test - - - org.mockito - mockito-core - ${dependency.mockito-core.version} - test - - - commons-dbcp - commons-dbcp - ${dependency.commons-dbcp.version} - - - com.google.code.gson - gson - ${dependency.gson.version} - - - - - + + + 4.0.0 + alfresco-community-repo + 8.300-TEST1-SNAPSHOT + pom + Alfresco Community Repo Parent + + + org.alfresco + alfresco-super-pom + 12 + + + + core + data-model + repository + remote-api + packaging + + + + ${project.version} + + + Community + + 7 + 0 + 0 + + + 11 + 11 + 11 + 11 + + 1.0.12 + 6.0 + 1.1 + 2.3 + 7.1 + 6.0.1 + 1.2.15 + 0.2 + 5.23.0 + 5.23.0 + 1.0.2.11 + + 5.2.8.RELEASE + 3.5.2 + 2.11.2 + 2.10.1 + 3.3.7 + 1.0.0 + 2.0.20 + 8.8 + 1.66 + 3.4.6 + 20090211 + 1.4-DBCP330 + 28.2-jre + 2.7 + 2.8.5 + 4.5.12 + 4.4.13 + 3.1-HTTPCLIENT-1265 + 2.12.0-alfresco-patched-20191004 + 1.7.30 + 0.11.6 + 2.3.3 + + 3.2.0 + 1.3.1 + + 42.2.14 + 8.0.21 + 2.6.2 + + 3.0.21 + 3.3.0 + 1.1.4 + 1.47 + 1.13 + 1.8 + 1.6 + 1.5 + 2.3 + + + + scm:git:https://github.com/Alfresco/alfresco-community-repo.git + scm:git:https://github.com/Alfresco/alfresco-community-repo.git + https://github.com/Alfresco/alfresco-community-repo + HEAD + + + + + alfresco-public-snapshots + https://artifacts.alfresco.com/nexus/content/repositories/snapshots + + + alfresco-public + https://artifacts.alfresco.com/nexus/content/repositories/releases + + + + + + + org.alfresco + content-services-community + ${dependency.alfresco-community-repo.version} + war + + + org.alfresco + alfresco-core + ${dependency.alfresco-community-repo.version} + + + org.alfresco + alfresco-core + ${dependency.alfresco-community-repo.version} + tests + test + + + org.alfresco + alfresco-data-model + ${dependency.alfresco-community-repo.version} + + + org.alfresco + alfresco-data-model + ${dependency.alfresco-community-repo.version} + tests + test + + + org.alfresco + alfresco-repository + ${dependency.alfresco-community-repo.version} + + + org.alfresco + alfresco-repository + ${dependency.alfresco-community-repo.version} + tests + test + + + org.alfresco + alfresco-remote-api + ${dependency.alfresco-community-repo.version} + + + org.alfresco + alfresco-remote-api + ${dependency.alfresco-community-repo.version} + tests + test + + + org.alfresco + alfresco-jlan-embed + ${dependency.alfresco-jlan.version} + + + org.alfresco + alfresco-trashcan-cleaner + ${dependency.alfresco-trashcan-cleaner.version} + + + org.alfresco + alfresco-heartbeat-data-sender + ${dependency.alfresco-hb-data-sender.version} + + + xalan + xalan + 2.7.2-alfresco + + + org.alfresco.services + alfresco-messaging-repo + ${dependency.alfresco-messaging-repo.version} + + + org.alfresco + alfresco-mmt + ${dependency.alfresco-mmt.version} + + + org.alfresco + alfresco-pdf-renderer + ${dependency.alfresco-pdf-renderer.version} + linux + tgz + + + org.alfresco + alfresco-pdf-renderer + ${dependency.alfresco-pdf-renderer.version} + win64 + tgz + + + org.alfresco + alfresco-pdf-renderer + ${dependency.alfresco-pdf-renderer.version} + + + org.alfresco + alfresco-server-root + ${dependency.alfresco-server-root.version} + war + + + org.alfresco.surf + spring-surf-core-configservice + ${dependency.webscripts.version} + + + org.alfresco.surf + spring-webscripts + ${dependency.webscripts.version} + + + org.alfresco.surf + spring-webscripts + ${dependency.webscripts.version} + tests + test + + + org.alfresco.surf + spring-webscripts-api + ${dependency.webscripts.version} + + + org.quartz-scheduler + quartz + 2.3.2 + + + + + com.mchange + * + + + + + org.apache.httpcomponents + httpcore + ${dependency.httpcore.version} + + + commons-httpclient + commons-httpclient + ${dependency.commons-httpclient.version} + + + commons-logging + commons-logging + 1.2 + + + commons-beanutils + commons-beanutils + 1.9.4 + + + commons-codec + commons-codec + 1.14 + + + commons-io + commons-io + ${dependency.commons-io.version} + + + commons-collections + commons-collections + 3.2.2 + + + + commons-digester + commons-digester + 2.1 + + + commons-lang + commons-lang + 2.6 + + + commons-fileupload + commons-fileupload + 1.4 + + + com.sun.xml.bind + jaxb-impl + ${dependency.jaxb.version} + + + org.apache.httpcomponents + httpclient + ${dependency.httpclient.version} + + + org.apache.httpcomponents + httpclient-cache + ${dependency.httpclient.version} + + + org.apache.xmlbeans + xmlbeans + 3.1.0 + + + org.json + json + ${dependency.org-json.version} + + + org.springframework + spring-aop + ${dependency.spring.version} + + + org.springframework + spring-beans + ${dependency.spring.version} + + + org.springframework + spring-context + ${dependency.spring.version} + + + org.springframework + spring-context-support + ${dependency.spring.version} + + + org.springframework + spring-core + ${dependency.spring.version} + + + + + org.springframework + spring-jcl + + + + + org.springframework + spring-expression + ${dependency.spring.version} + + + org.springframework + spring-jdbc + ${dependency.spring.version} + + + org.springframework + spring-jms + ${dependency.spring.version} + + + org.springframework + spring-test + ${dependency.spring.version} + test + + + org.springframework + spring-orm + ${dependency.spring.version} + + + + + org.springframework + spring-jcl + + + + + org.springframework + spring-tx + ${dependency.spring.version} + + + org.springframework + spring-web + ${dependency.spring.version} + + + org.springframework + spring-webmvc + ${dependency.spring.version} + + + com.fasterxml.jackson.core + jackson-core + ${dependency.jackson.version} + + + com.fasterxml.jackson.core + jackson-databind + ${dependency.jackson-databind.version} + + + com.fasterxml.jackson.core + jackson-annotations + ${dependency.jackson.version} + + + + com.fasterxml.jackson.module + jackson-module-jaxb-annotations + ${dependency.jackson.version} + + + jakarta.xml.bind + jakarta.xml.bind-api + 2.3.3 + + + org.codehaus.woodstox + woodstox-core-asl + 4.4.1 + + + + org.apache.cxf + cxf-rt-frontend-jaxws + ${dependency.cxf.version} + + + org.apache.cxf + cxf-rt-frontend-jaxrs + ${dependency.cxf.version} + + + org.apache.cxf + cxf-rt-rs-client + ${dependency.cxf.version} + + + org.apache.cxf + cxf-rt-transports-http + ${dependency.cxf.version} + + + org.apache.cxf + cxf-rt-ws-policy + ${dependency.cxf.version} + + + + org.apache.commons + commons-email + 1.5 + + + org.alfresco + alfresco-log-sanitizer + ${dependency.alfresco-log-sanitizer.version} + + + org.alfresco.aos-module + alfresco-aos-module + ${alfresco.aos-module.version} + amp + + + org.alfresco.aos-module + alfresco-aos-module-distributionzip + ${alfresco.aos-module.version} + zip + + + org.alfresco.aos-module + alfresco-vti-bin + ${alfresco.aos-module.version} + war + + + org.alfresco.integrations + alfresco-googledrive-repo-community + ${alfresco.googledrive.version} + amp + + + + org.bouncycastle + bcprov-jdk15on + ${dependency.bouncycastle.version} + + + org.bouncycastle + bcmail-jdk15on + ${dependency.bouncycastle.version} + + + org.slf4j + slf4j-api + ${dependency.slf4j.version} + + + org.slf4j + slf4j-log4j12 + ${dependency.slf4j.version} + + + xerces + xercesImpl + ${dependency.xercesImpl.version} + + + + com.drewnoakes + metadata-extractor + 2.14.0 + + + + com.github.junrar + junrar + 4.0.0 + + + + org.jsoup + jsoup + 1.13.1 + + + + com.google.guava + guava + ${dependency.guava.version} + + + + org.apache.commons + commons-compress + 1.19 + + + + org.apache.pdfbox + pdfbox + ${dependency.pdfbox.version} + + + org.apache.commons + commons-csv + 1.8 + + + + org.postgresql + postgresql + ${dependency.postgresql.version} + test + + + mysql + mysql-connector-java + ${dependency.mysql.version} + test + + + org.mariadb.jdbc + mariadb-java-client + ${dependency.mariadb.version} + test + + + + org.alfresco.tas + alfresco-community-repo-cmis-test + ${dependency.alfresco-community-repo.version} + tests + test + + + org.alfresco.tas + alfresco-community-repo-email-test + ${dependency.alfresco-community-repo.version} + tests + test + + + org.alfresco.tas + alfresco-community-repo-integration-test + ${dependency.alfresco-community-repo.version} + tests + test + + + org.alfresco.tas + alfresco-community-repo-restapi-test + ${dependency.alfresco-community-repo.version} + tests + test + + + org.alfresco.tas + alfresco-community-repo-webdav-test + ${dependency.alfresco-community-repo.version} + tests + test + + + org.alfresco.tas + utility + ${dependency.tas-utility.version} + test + + + io.rest-assured + rest-assured + ${dependency.rest-assured.version} + test + + + org.glassfish + javax.json + ${dependency.javax.json.version} + test + + + org.alfresco.tas + restapi + ${dependency.tas-restapi.version} + test + + + org.alfresco.tas + cmis + ${dependency.tas-cmis.version} + test + + + org.alfresco.tas + email + ${dependency.tas-email.version} + test + + + org.alfresco.tas + webdav + ${dependency.tas-webdav.version} + test + + + org.alfresco.tas + ftp + ${dependency.tas-ftp.version} + test + + + org.alfresco.test + dataprep + ${dependency.tas-dataprep.version} + test + + + jakarta.transaction + jakarta.transaction-api + 1.3.3 + + + joda-time + joda-time + 2.10.6 + + + + + javax.servlet + javax.servlet-api + 3.0.1 + provided + + + + + junit + junit + 4.13 + test + + + org.antlr + gunit + ${dependency.antlr.version} + test + + + org.mockito + mockito-core + ${dependency.mockito-core.version} + test + + + commons-dbcp + commons-dbcp + ${dependency.commons-dbcp.version} + + + com.google.code.gson + gson + ${dependency.gson.version} + + + + + + + + + + maven-release-plugin + 2.5.3 + + + @{project.version} + + + + io.fabric8 + fabric8-maven-plugin + 4.4.0 + + + maven-jar-plugin + 3.2.0 + + + org.apache.maven.plugins + maven-javadoc-plugin + 3.2.0 + + + org.apache.maven.plugins + maven-resources-plugin + 3.1.0 + + + org.apache.maven.plugins + maven-dependency-plugin + 3.1.2 + + + + + + + diff --git a/remote-api/pom.xml b/remote-api/pom.xml index 9fc6ce1511..00271aaa7b 100644 --- a/remote-api/pom.xml +++ b/remote-api/pom.xml @@ -7,26 +7,8 @@ org.alfresco alfresco-community-repo - 8.300-SNAPSHOT - - - - scm:git:https://github.com/Alfresco/alfresco-remote-api.git - scm:git:https://github.com/Alfresco/alfresco-remote-api.git - https://github.com/Alfresco/alfresco-remote-api - HEAD - - - - - alfresco-public - https://artifacts.alfresco.com/nexus/content/repositories/releases - - - alfresco-public - https://artifacts.alfresco.com/nexus/content/repositories/snapshots - - + 8.300-TEST1-SNAPSHOT + community diff --git a/repository/pom.xml b/repository/pom.xml index e08404ad7b..68f4cc871e 100644 --- a/repository/pom.xml +++ b/repository/pom.xml @@ -1,1457 +1,1439 @@ - - 4.0.0 - alfresco-repository - Alfresco Repository - jar - - - org.alfresco - alfresco-community-repo - 8.300-SNAPSHOT - - - - scm:git:https://github.com/Alfresco/alfresco-repository.git - scm:git:https://github.com/Alfresco/alfresco-repository.git - https://github.com/Alfresco/alfresco-repository - HEAD - - - - - alfresco-public - https://artifacts.alfresco.com/nexus/content/repositories/releases - - - alfresco-public - https://artifacts.alfresco.com/nexus/content/repositories/snapshots - - - - - community - - ${project.build.directory}/alf_data - convert - - 6.2 - 6.2 - - 5.2.1.RELEASE - 7.7.10 - 4.1.2 - 1.4 - - 11.0.0-alfresco-001 - 3.4.1.Final - 2.24.2 - 5.15.12 - 1.2.5 - 0.0.8 - 4.0.3 - - - - - org.alfresco - alfresco-legacy-lucene - ${dependency.alfresco-legacy-lucene.version} - - - org.alfresco - alfresco-jlan-embed - ${dependency.alfresco-jlan.version} - - - * - spring-surf-core-configservice - - - - - org.alfresco - alfresco-core - - - - javax.transaction - jta - - - - javax.xml.bind - jaxb-api - - - - - org.alfresco - alfresco-text-gen - 1.4 - - - org.alfresco - alfresco-heartbeat-data-sender - ${dependency.alfresco-hb-data-sender.version} - - - - javax.xml.bind - jaxb-api - - - - - com.sun.mail - javax.mail - 1.6.2 - - - - javax.activation - activation - - - - - org.alfresco - alfresco-greenmail - ${dependency.alfresco-greenmail.version} - - - commons-dbcp - commons-dbcp - - - commons-fileupload - commons-fileupload - - - org.apache.commons - commons-compress - - - org.apache.commons - commons-lang3 - 3.11 - - - commons-codec - commons-codec - - - commons-beanutils - commons-beanutils - - - commons-collections - commons-collections - - - commons-io - commons-io - - - commons-pool - commons-pool - 1.6 - - - commons-validator - commons-validator - 1.6 - - - org.json - json - - - com.ibm.icu - icu4j - 65.1 - - - com.googlecode.json-simple - json-simple - 1.1.1 - - - junit - junit - - - - - org.mozilla - rhino - 1.7.12 - - - org.springframework - spring-core - - - - - org.springframework - spring-jcl - - - - - org.springframework - spring-orm - - - - - org.springframework - spring-jcl - - - - - org.springframework - spring-context - - - org.springframework - spring-context-support - - - org.springframework - spring-web - - - org.subethamail - subethasmtp - 3.1.7 - - - javax.mail - mail - - - - javax.activation - activation - - - - - org.apache.maven - maven-artifact - 3.6.3 - - - jakarta.xml.bind - jakarta.xml.bind-api - - - de.schlichtherle.truezip - truezip-driver-zip - ${dependency.truezip.version} - provided - - - de.schlichtherle.truezip - truezip-file - ${dependency.truezip.version} - provided - - - com.google.code.findbugs - annotations - - - - - com.sun.pdfview - pdfrenderer - 0.9.1-patched - - - bsf - bsf - 2.4.0 - - - com.beetstra.jutf7 - jutf7 - 1.0.0 - - - org.slf4j - slf4j-api - - - org.slf4j - slf4j-log4j12 - - - xerces - xercesImpl - - - xalan - xalan - - - xml-apis - xml-apis - 1.4.01 - - - jakarta.annotation - jakarta.annotation-api - 1.3.5 - - - org.freemarker - freemarker - 2.3.20-alfresco-patched-20200421 - - - org.apache.xmlbeans - xmlbeans - - - org.apache.pdfbox - pdfbox - ${dependency.pdfbox.version} - - - org.apache.pdfbox - fontbox - ${dependency.pdfbox.version} - - - - org.apache.pdfbox - pdfbox-tools - ${dependency.pdfbox.version} - - - org.bouncycastle - bcprov-jdk15on - - - net.sf - bliki - 3.0.2 - - - net.sf.jsr107cache - jsr107cache - 1.1 - - - - - jakarta.jws - jakarta.jws-api - 1.1.1 - - - - com.googlecode.concurrentlinkedhashmap - concurrentlinkedhashmap-lru - 1.4.2 - - - com.sun.xml.fastinfoset - FastInfoset - 1.2.18 - - - org.alfresco - alfresco-jodconverter-core - 3.0.1.1 - - - jmagick - jmagick - 6.6.9 - - - org.htmlparser - htmlparser - 2.1 - - - joda-time - joda-time - - - jaxen - jaxen - 1.2.0 - - - - org.apache.poi - poi - ${dependency.poi.version} - - - org.apache.poi - poi-ooxml - ${dependency.poi.version} - - - org.apache.poi - poi-ooxml-schemas - - - - - org.apache.poi - ooxml-schemas - ${dependency.ooxml-schemas.version} - - - org.apache.poi - poi-scratchpad - ${dependency.poi.version} - - - javax.servlet - javax.servlet-api - provided - - - - jakarta.transaction - jakarta.transaction-api - - - - com.fasterxml.jackson.core - jackson-databind - - - - - org.alfresco.surf - spring-surf-core-configservice - - - org.alfresco.surf - spring-webscripts - ${dependency.webscripts.version} - - - com.sun - tools - - - nu.validator.htmlparser - htmlparser - - - org.apache.myfaces.core - myfaces-api - - - org.apache.myfaces.core - myfaces-impl - - - - - org.alfresco.surf - spring-webscripts-api - - - - - org.apache.chemistry.opencmis - chemistry-opencmis-commons-impl - ${dependency.opencmis.version} - - - - org.codehaus.woodstox - woodstox-core-asl - - - - - - - com.fasterxml.woodstox - woodstox-core - 5.0.3 - - - - - com.google.gdata - gdata-core-1.0 - 1.47.1 - - - com.google.gdata - gdata-media-1.0 - 1.47.1 - - - com.google.guava - guava - - - org.springframework.security - spring-security-core - ${dependency.spring-security.version} - - - org.springframework - spring-expression - - - - - org.quartz-scheduler - quartz - - - com.mchange - * - - - - - - org.mybatis - mybatis - 3.3.0 - - - org.mybatis - mybatis-spring - 1.2.5 - - - - - - - org.activiti - activiti-engine - ${dependency.activiti-engine.version} - - - org.mybatis - mybatis - - - org.slf4j - jcl-over-slf4j - - - javax.mail - mail - - - commons-lang - commons-lang3 - - - - javax.jws - javax.jws-api - - - - javax.xml.bind - jaxb-api - - - - org.glassfish.corba - glassfish-corba-omgapi - - - - javax.annotation - javax.annotation-api - - - - - org.activiti - activiti-spring - ${dependency.activiti.version} - - - org.springframework - spring-jdbc - - - org.springframework - spring-tx - - - org.springframework - spring-orm - - - org.slf4j - jcl-over-slf4j - - - - javax.jws - javax.jws-api - - - - javax.xml.bind - jaxb-api - - - - org.glassfish.corba - glassfish-corba-omgapi - - - - javax.annotation - javax.annotation-api - - - - - - - org.keycloak - keycloak-authz-client - ${dependency.keycloak.version} - - - * - * - - - - - org.keycloak - keycloak-core - ${dependency.keycloak.version} - - - * - * - - - - - org.keycloak - keycloak-common - ${dependency.keycloak.version} - - - * - * - - - - - org.keycloak - keycloak-adapter-core - ${dependency.keycloak.version} - - - * - * - - - - - org.keycloak - keycloak-adapter-spi - ${dependency.keycloak.version} - - - * - * - - - - - org.keycloak - keycloak-servlet-adapter-spi - ${dependency.keycloak.version} - - - * - * - - - - - - org.jboss.logging - jboss-logging - ${dependency.jboss.logging.version} - - - - - org.alfresco - alfresco-sync-events - 1.2.14 - - - org.gytheio - gytheio-messaging-camel - ${dependency.gytheio.version} - - - commons-logging - commons-logging - - - commons-io - commons-io - - - commons-lang - commons-lang - - - commons-pool - commons-pool - - - org.slf4j - slf4j-api - - - org.slf4j - slf4j-log4j12 - - - org.apache.tika - tika-core - - - org.apache.camel - camel-core - - - org.apache.camel - camel-jackson - - - - - org.apache.camel - camel-spring - ${dependency.camel.version} - - - org.springframework - spring-context - - - org.springframework - spring-aop - - - org.springframework - spring-tx - - - org.springframework - spring-core - - - org.springframework - spring-beans - - - org.springframework - spring-expression - - - - - org.apache.camel - camel-amqp - ${dependency.camel.version} - - - org.springframework - spring-core - - - org.springframework - spring-tx - - - org.springframework - spring-beans - - - org.slf4j - slf4j-api - - - org.slf4j - slf4j-log4j12 - - - - org.apache.geronimo.specs - geronimo-jms_2.0_spec - - - - - org.apache.camel - camel-jackson - ${dependency.camel.version} - - - - jakarta.activation - jakarta.activation-api - - - - - org.apache.activemq - activemq-client - ${dependency.activemq.version} - - - org.slf4j - slf4j-api - - - org.slf4j - slf4j-log4j12 - - - - - org.apache.activemq - activemq-broker - ${dependency.activemq.version} - - - org.apache.activemq - activemq-camel - ${dependency.activemq.version} - - - org.springframework - spring-beans - - - commons-logging - commons-logging - - - commons-pool - commons-pool - - - org.slf4j - slf4j-api - - - org.slf4j - slf4j-log4j12 - - - - org.apache.geronimo.specs - geronimo-jta_1.1_spec - - - - - org.apache.activemq - activemq-pool - ${dependency.activemq.version} - - - org.slf4j - slf4j-api - - - org.slf4j - slf4j-log4j12 - - - - org.apache.geronimo.specs - geronimo-jta_1.1_spec - - - - - - - org.alfresco - alfresco-transform-model - ${dependency.transform.model.version} - - - - - org.mockito - mockito-core - test - - - org.springframework - spring-test - test - - - junit - junit - test - - - org.alfresco - alfresco-transform-model - ${dependency.transform.model.version} - tests - test - - - org.alfresco - alfresco-core - tests - test - - - - javax.transaction - jta - - - - javax.xml.bind - jaxb-api - - - - - org.alfresco - alfresco-data-model - tests - test - - - - org.apache.geronimo.specs - geronimo-ws-metadata_2.0_spec - - - - org.apache.geronimo.specs - geronimo-jta_1.1_spec - - - - - org.alfresco - alfresco-data-model - - - - com.sun.activation - javax.activation - - - - javax.annotation - javax.annotation-api - - - - org.apache.geronimo.specs - geronimo-ws-metadata_2.0_spec - - - - org.apache.geronimo.specs - geronimo-jta_1.1_spec - - - - - org.alfresco - alfresco-legacy-lucene - ${dependency.alfresco-legacy-lucene.version} - tests - test - - - org.postgresql - postgresql - test - - - mysql - mysql-connector-java - test - - - org.mariadb.jdbc - mariadb-java-client - test - - - xmlunit - xmlunit - 1.6 - test - - - org.antlr - gunit - test - - - org.alfresco.surf - spring-webscripts - tests - test - - - org.aspectj - aspectjrt - 1.9.6 - - - commons-net - commons-net - 3.7 - test - - - org.codehaus.groovy - groovy-all - 2.4.20 - indy - test - - - org.apache.chemistry.opencmis - chemistry-opencmis-client-impl - ${dependency.opencmis.version} - test - - - - org.apache.geronimo.specs - geronimo-ws-metadata_2.0_spec - - - - javax.annotation - javax.annotation-api - - - - - org.apache.taglibs - taglibs-standard-spec - ${dependency.apache.taglibs.version} - - - org.apache.taglibs - taglibs-standard-impl - ${dependency.apache.taglibs.version} - - - org.apache.taglibs - taglibs-standard-jstlel - ${dependency.apache.taglibs.version} - - - - com.sun.activation - jakarta.activation - 1.2.2 - - - - org.alfresco - acs-event-model - ${dependency.acs-event-model.version} - - - org.awaitility - awaitility - ${dependency.awaitility.version} - test - - - - - - - win-alfresco-pdf-renderer-test - - - windows - - - - - org.alfresco - alfresco-pdf-renderer - ${dependency.alfresco-pdf-renderer.version} - win64 - tgz - - - - - - false - maven-antrun-plugin - - - extract-alfresco-pdf-renderer-test - generate-test-resources - - run - - - ${skipTests} - - - - - - - - - - - - - ${project.build.directory}/test-binaries/alfresco-pdf-renderer/alfresco-pdf-renderer - - - - linux-alfresco-pdf-renderer-test - - - linux - - - - - org.alfresco - alfresco-pdf-renderer - ${dependency.alfresco-pdf-renderer.version} - linux - tgz - - - - - - false - maven-antrun-plugin - - - extract-alfresco-pdf-renderer-test - generate-test-resources - - run - - - ${skipTests} - - - - - - - - - - - - - - - - ${project.build.directory}/test-binaries/alfresco-pdf-renderer/alfresco-pdf-renderer - - - - osx-alfresco-pdf-renderer-test - - - mac - - - - - org.alfresco - alfresco-pdf-renderer - ${dependency.alfresco-pdf-renderer.version} - osx - tgz - - - - - - false - maven-antrun-plugin - - - extract-alfresco-pdf-renderer-test - generate-test-resources - - run - - - ${skipTests} - - - - - - - - - - - - - - - - ${project.build.directory}/test-binaries/alfresco-pdf-renderer/alfresco-pdf-renderer - - - - - - - - - - maven-jar-plugin - - - create-test-jar - - test-jar - - - - - - - maven-surefire-plugin - - - default-test - - - - ${project.build.directory} - - ${alfresco-pdf-renderer.exe} - - - ${db.url} - ${db.driver} - ${db.name} - ${db.username} - ${db.password} - ${dir.root} - ${img.exe} - - 30 - 2000 - - true - - 50521 - - true - - - - - - - - org.jibx - maven-jibx-plugin - - true - ${project.build.outputDirectory}/org/alfresco/repo/importer/system - - systeminfo.xml - - - - - bind-sources - - bind - - - - - - - maven-antrun-plugin - - - - duplicate-english-messages - generate-resources - - run - - - - - - - - - - - - - - com.github.m50d - aspectj-maven-plugin - 1.11.1 - - - - - compile - test-compile - - - - - 1.8 - false - true - true - 1.8 - 1.8 - - - - - org.codehaus.mojo - license-maven-plugin - - false - Alfresco Software Limited - true - true - classpath://alfresco - ${licenseName} - - src - - - **/*.java - **/*.jsp - - - - - check-licenses - compile - - check-file-header - - - - - - org.alfresco - alfresco-license-headers - 1.0 - - - - - - - - - org.codehaus.mojo - license-maven-plugin - 2.0.0 - - - - org.eclipse.m2e - lifecycle-mapping - 1.0.0 - - - - - - - org.apache.maven.plugins - - - maven-surefire-plugin - - - [2.14,) - - - test - - - - - - - - - org.jibx - - maven-jibx-plugin - - - [1.2.5,) - - - bind - - - - - true - true - - - - - - - - - - - - + + 4.0.0 + alfresco-repository + Alfresco Repository + jar + + + org.alfresco + alfresco-community-repo + 8.300-TEST1-SNAPSHOT + + + + community + + ${project.build.directory}/alf_data + convert + + 6.2 + 6.2 + + 5.2.1.RELEASE + 7.7.10 + 4.1.2 + 1.4 + + 11.0.0-alfresco-001 + 3.4.1.Final + 2.24.2 + 5.15.12 + 1.2.5 + 0.0.8 + 4.0.3 + + + + + org.alfresco + alfresco-legacy-lucene + ${dependency.alfresco-legacy-lucene.version} + + + org.alfresco + alfresco-jlan-embed + ${dependency.alfresco-jlan.version} + + + * + spring-surf-core-configservice + + + + + org.alfresco + alfresco-core + + + + javax.transaction + jta + + + + javax.xml.bind + jaxb-api + + + + + org.alfresco + alfresco-text-gen + 1.4 + + + org.alfresco + alfresco-heartbeat-data-sender + ${dependency.alfresco-hb-data-sender.version} + + + + javax.xml.bind + jaxb-api + + + + + com.sun.mail + javax.mail + 1.6.2 + + + + javax.activation + activation + + + + + org.alfresco + alfresco-greenmail + ${dependency.alfresco-greenmail.version} + + + commons-dbcp + commons-dbcp + + + commons-fileupload + commons-fileupload + + + org.apache.commons + commons-compress + + + org.apache.commons + commons-lang3 + 3.11 + + + commons-codec + commons-codec + + + commons-beanutils + commons-beanutils + + + commons-collections + commons-collections + + + commons-io + commons-io + + + commons-pool + commons-pool + 1.6 + + + commons-validator + commons-validator + 1.6 + + + org.json + json + + + com.ibm.icu + icu4j + 65.1 + + + com.googlecode.json-simple + json-simple + 1.1.1 + + + junit + junit + + + + + org.mozilla + rhino + 1.7.12 + + + org.springframework + spring-core + + + + + org.springframework + spring-jcl + + + + + org.springframework + spring-orm + + + + + org.springframework + spring-jcl + + + + + org.springframework + spring-context + + + org.springframework + spring-context-support + + + org.springframework + spring-web + + + org.subethamail + subethasmtp + 3.1.7 + + + javax.mail + mail + + + + javax.activation + activation + + + + + org.apache.maven + maven-artifact + 3.6.3 + + + jakarta.xml.bind + jakarta.xml.bind-api + + + de.schlichtherle.truezip + truezip-driver-zip + ${dependency.truezip.version} + provided + + + de.schlichtherle.truezip + truezip-file + ${dependency.truezip.version} + provided + + + com.google.code.findbugs + annotations + + + + + com.sun.pdfview + pdfrenderer + 0.9.1-patched + + + bsf + bsf + 2.4.0 + + + com.beetstra.jutf7 + jutf7 + 1.0.0 + + + org.slf4j + slf4j-api + + + org.slf4j + slf4j-log4j12 + + + xerces + xercesImpl + + + xalan + xalan + + + xml-apis + xml-apis + 1.4.01 + + + jakarta.annotation + jakarta.annotation-api + 1.3.5 + + + org.freemarker + freemarker + 2.3.20-alfresco-patched-20200421 + + + org.apache.xmlbeans + xmlbeans + + + org.apache.pdfbox + pdfbox + ${dependency.pdfbox.version} + + + org.apache.pdfbox + fontbox + ${dependency.pdfbox.version} + + + + org.apache.pdfbox + pdfbox-tools + ${dependency.pdfbox.version} + + + org.bouncycastle + bcprov-jdk15on + + + net.sf + bliki + 3.0.2 + + + net.sf.jsr107cache + jsr107cache + 1.1 + + + + + jakarta.jws + jakarta.jws-api + 1.1.1 + + + + com.googlecode.concurrentlinkedhashmap + concurrentlinkedhashmap-lru + 1.4.2 + + + com.sun.xml.fastinfoset + FastInfoset + 1.2.18 + + + org.alfresco + alfresco-jodconverter-core + 3.0.1.1 + + + jmagick + jmagick + 6.6.9 + + + org.htmlparser + htmlparser + 2.1 + + + joda-time + joda-time + + + jaxen + jaxen + 1.2.0 + + + + org.apache.poi + poi + ${dependency.poi.version} + + + org.apache.poi + poi-ooxml + ${dependency.poi.version} + + + org.apache.poi + poi-ooxml-schemas + + + + + org.apache.poi + ooxml-schemas + ${dependency.ooxml-schemas.version} + + + org.apache.poi + poi-scratchpad + ${dependency.poi.version} + + + javax.servlet + javax.servlet-api + provided + + + + jakarta.transaction + jakarta.transaction-api + + + + com.fasterxml.jackson.core + jackson-databind + + + + + org.alfresco.surf + spring-surf-core-configservice + + + org.alfresco.surf + spring-webscripts + ${dependency.webscripts.version} + + + com.sun + tools + + + nu.validator.htmlparser + htmlparser + + + org.apache.myfaces.core + myfaces-api + + + org.apache.myfaces.core + myfaces-impl + + + + + org.alfresco.surf + spring-webscripts-api + + + + + org.apache.chemistry.opencmis + chemistry-opencmis-commons-impl + ${dependency.opencmis.version} + + + + org.codehaus.woodstox + woodstox-core-asl + + + + + + + com.fasterxml.woodstox + woodstox-core + 5.0.3 + + + + + com.google.gdata + gdata-core-1.0 + 1.47.1 + + + com.google.gdata + gdata-media-1.0 + 1.47.1 + + + com.google.guava + guava + + + org.springframework.security + spring-security-core + ${dependency.spring-security.version} + + + org.springframework + spring-expression + + + + + org.quartz-scheduler + quartz + + + com.mchange + * + + + + + + org.mybatis + mybatis + 3.3.0 + + + org.mybatis + mybatis-spring + 1.2.5 + + + + + + + org.activiti + activiti-engine + ${dependency.activiti-engine.version} + + + org.mybatis + mybatis + + + org.slf4j + jcl-over-slf4j + + + javax.mail + mail + + + commons-lang + commons-lang3 + + + + javax.jws + javax.jws-api + + + + javax.xml.bind + jaxb-api + + + + org.glassfish.corba + glassfish-corba-omgapi + + + + javax.annotation + javax.annotation-api + + + + + org.activiti + activiti-spring + ${dependency.activiti.version} + + + org.springframework + spring-jdbc + + + org.springframework + spring-tx + + + org.springframework + spring-orm + + + org.slf4j + jcl-over-slf4j + + + + javax.jws + javax.jws-api + + + + javax.xml.bind + jaxb-api + + + + org.glassfish.corba + glassfish-corba-omgapi + + + + javax.annotation + javax.annotation-api + + + + + + + org.keycloak + keycloak-authz-client + ${dependency.keycloak.version} + + + * + * + + + + + org.keycloak + keycloak-core + ${dependency.keycloak.version} + + + * + * + + + + + org.keycloak + keycloak-common + ${dependency.keycloak.version} + + + * + * + + + + + org.keycloak + keycloak-adapter-core + ${dependency.keycloak.version} + + + * + * + + + + + org.keycloak + keycloak-adapter-spi + ${dependency.keycloak.version} + + + * + * + + + + + org.keycloak + keycloak-servlet-adapter-spi + ${dependency.keycloak.version} + + + * + * + + + + + + org.jboss.logging + jboss-logging + ${dependency.jboss.logging.version} + + + + + org.alfresco + alfresco-sync-events + 1.2.14 + + + org.gytheio + gytheio-messaging-camel + ${dependency.gytheio.version} + + + commons-logging + commons-logging + + + commons-io + commons-io + + + commons-lang + commons-lang + + + commons-pool + commons-pool + + + org.slf4j + slf4j-api + + + org.slf4j + slf4j-log4j12 + + + org.apache.tika + tika-core + + + org.apache.camel + camel-core + + + org.apache.camel + camel-jackson + + + + + org.apache.camel + camel-spring + ${dependency.camel.version} + + + org.springframework + spring-context + + + org.springframework + spring-aop + + + org.springframework + spring-tx + + + org.springframework + spring-core + + + org.springframework + spring-beans + + + org.springframework + spring-expression + + + + + org.apache.camel + camel-amqp + ${dependency.camel.version} + + + org.springframework + spring-core + + + org.springframework + spring-tx + + + org.springframework + spring-beans + + + org.slf4j + slf4j-api + + + org.slf4j + slf4j-log4j12 + + + + org.apache.geronimo.specs + geronimo-jms_2.0_spec + + + + + org.apache.camel + camel-jackson + ${dependency.camel.version} + + + + jakarta.activation + jakarta.activation-api + + + + + org.apache.activemq + activemq-client + ${dependency.activemq.version} + + + org.slf4j + slf4j-api + + + org.slf4j + slf4j-log4j12 + + + + + org.apache.activemq + activemq-broker + ${dependency.activemq.version} + + + org.apache.activemq + activemq-camel + ${dependency.activemq.version} + + + org.springframework + spring-beans + + + commons-logging + commons-logging + + + commons-pool + commons-pool + + + org.slf4j + slf4j-api + + + org.slf4j + slf4j-log4j12 + + + + org.apache.geronimo.specs + geronimo-jta_1.1_spec + + + + + org.apache.activemq + activemq-pool + ${dependency.activemq.version} + + + org.slf4j + slf4j-api + + + org.slf4j + slf4j-log4j12 + + + + org.apache.geronimo.specs + geronimo-jta_1.1_spec + + + + + + + org.alfresco + alfresco-transform-model + ${dependency.transform.model.version} + + + + + org.mockito + mockito-core + test + + + org.springframework + spring-test + test + + + junit + junit + test + + + org.alfresco + alfresco-transform-model + ${dependency.transform.model.version} + tests + test + + + org.alfresco + alfresco-core + tests + test + + + + javax.transaction + jta + + + + javax.xml.bind + jaxb-api + + + + + org.alfresco + alfresco-data-model + tests + test + + + + org.apache.geronimo.specs + geronimo-ws-metadata_2.0_spec + + + + org.apache.geronimo.specs + geronimo-jta_1.1_spec + + + + + org.alfresco + alfresco-data-model + + + + com.sun.activation + javax.activation + + + + javax.annotation + javax.annotation-api + + + + org.apache.geronimo.specs + geronimo-ws-metadata_2.0_spec + + + + org.apache.geronimo.specs + geronimo-jta_1.1_spec + + + + + org.alfresco + alfresco-legacy-lucene + ${dependency.alfresco-legacy-lucene.version} + tests + test + + + org.postgresql + postgresql + test + + + mysql + mysql-connector-java + test + + + org.mariadb.jdbc + mariadb-java-client + test + + + xmlunit + xmlunit + 1.6 + test + + + org.antlr + gunit + test + + + org.alfresco.surf + spring-webscripts + tests + test + + + org.aspectj + aspectjrt + 1.9.6 + + + commons-net + commons-net + 3.7 + test + + + org.codehaus.groovy + groovy-all + 2.4.20 + indy + test + + + org.apache.chemistry.opencmis + chemistry-opencmis-client-impl + ${dependency.opencmis.version} + test + + + + org.apache.geronimo.specs + geronimo-ws-metadata_2.0_spec + + + + javax.annotation + javax.annotation-api + + + + + org.apache.taglibs + taglibs-standard-spec + ${dependency.apache.taglibs.version} + + + org.apache.taglibs + taglibs-standard-impl + ${dependency.apache.taglibs.version} + + + org.apache.taglibs + taglibs-standard-jstlel + ${dependency.apache.taglibs.version} + + + + com.sun.activation + jakarta.activation + 1.2.2 + + + + org.alfresco + acs-event-model + ${dependency.acs-event-model.version} + + + org.awaitility + awaitility + ${dependency.awaitility.version} + test + + + + + + + win-alfresco-pdf-renderer-test + + + windows + + + + + org.alfresco + alfresco-pdf-renderer + ${dependency.alfresco-pdf-renderer.version} + win64 + tgz + + + + + + false + maven-antrun-plugin + + + extract-alfresco-pdf-renderer-test + generate-test-resources + + run + + + ${skipTests} + + + + + + + + + + + + + ${project.build.directory}/test-binaries/alfresco-pdf-renderer/alfresco-pdf-renderer + + + + linux-alfresco-pdf-renderer-test + + + linux + + + + + org.alfresco + alfresco-pdf-renderer + ${dependency.alfresco-pdf-renderer.version} + linux + tgz + + + + + + false + maven-antrun-plugin + + + extract-alfresco-pdf-renderer-test + generate-test-resources + + run + + + ${skipTests} + + + + + + + + + + + + + + + + ${project.build.directory}/test-binaries/alfresco-pdf-renderer/alfresco-pdf-renderer + + + + osx-alfresco-pdf-renderer-test + + + mac + + + + + org.alfresco + alfresco-pdf-renderer + ${dependency.alfresco-pdf-renderer.version} + osx + tgz + + + + + + false + maven-antrun-plugin + + + extract-alfresco-pdf-renderer-test + generate-test-resources + + run + + + ${skipTests} + + + + + + + + + + + + + + + + ${project.build.directory}/test-binaries/alfresco-pdf-renderer/alfresco-pdf-renderer + + + + + + + + + + maven-jar-plugin + + + create-test-jar + + test-jar + + + + + + + maven-surefire-plugin + + + default-test + + + + ${project.build.directory} + + ${alfresco-pdf-renderer.exe} + + + ${db.url} + ${db.driver} + ${db.name} + ${db.username} + ${db.password} + ${dir.root} + ${img.exe} + + 30 + 2000 + + true + + 50521 + + true + + + + + + + + org.jibx + maven-jibx-plugin + + true + ${project.build.outputDirectory}/org/alfresco/repo/importer/system + + systeminfo.xml + + + + + bind-sources + + bind + + + + + + + maven-antrun-plugin + + + + duplicate-english-messages + generate-resources + + run + + + + + + + + + + + + + + com.github.m50d + aspectj-maven-plugin + 1.11.1 + + + + + compile + test-compile + + + + + 1.8 + false + true + true + 1.8 + 1.8 + + + + + org.codehaus.mojo + license-maven-plugin + + false + Alfresco Software Limited + true + true + classpath://alfresco + ${licenseName} + + src + + + **/*.java + **/*.jsp + + + + + check-licenses + compile + + check-file-header + + + + + + org.alfresco + alfresco-license-headers + 1.0 + + + + + + + + + org.codehaus.mojo + license-maven-plugin + 2.0.0 + + + + org.eclipse.m2e + lifecycle-mapping + 1.0.0 + + + + + + + org.apache.maven.plugins + + + maven-surefire-plugin + + + [2.14,) + + + test + + + + + + + + + org.jibx + + maven-jibx-plugin + + + [1.2.5,) + + + bind + + + + + true + true + + + + + + + + + + + + diff --git a/scripts/travis/build.sh b/scripts/travis/build.sh new file mode 100644 index 0000000000..8dde0a604a --- /dev/null +++ b/scripts/travis/build.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash +set -ev +pushd "$(dirname "${BASH_SOURCE[0]}")/../../" + +PROFILES="$([ "${TRAVIS_BUILD_STAGE_NAME,,}" = "release" ] && echo "-Pinternal" || echo "-PcommunityDocker" )" + +mvn -B -V install -DskipTests -Dmaven.javadoc.skip=true "${PROFILES}" + + diff --git a/scripts/travis/build_functions.sh b/scripts/travis/build_functions.sh new file mode 100644 index 0000000000..25363294d0 --- /dev/null +++ b/scripts/travis/build_functions.sh @@ -0,0 +1,96 @@ +#!/usr/bin/env bash + +function isPullRequestBuild() { + test "${TRAVIS_PULL_REQUEST}" != "false" +} + +function isBranchBuild() { + test "${TRAVIS_PULL_REQUEST}" = "false" +} + +function cloneRepo() { + local REPO="${1}" + local TAG_OR_BRANCH="${2}" + + # clone the repository branch/tag + pushd "$(dirname "${BASH_SOURCE[0]}")/../../../" >/dev/null + + rm -rf "$(basename "${REPO%.git}")" + + git clone -b "${TAG_OR_BRANCH}" --depth=1 "https://${GIT_USERNAME}:${GIT_PASSWORD}@${REPO}" + + popd >/dev/null +} + +function retrievePomParentVersion() { + pushd "$(dirname "${BASH_SOURCE[0]}")/../../" >/dev/null + + sed -n '//,/<\/parent>/p' pom.xml \ + | sed -n '//,/<\/version>/p' \ + | tr -d '\n' \ + | grep -oP '(?<=).*(?=)' \ + | xargs + + popd >/dev/null +} + +function retrievePomProperty() { + local KEY="${1}" + + pushd "$(dirname "${BASH_SOURCE[0]}")/../../" >/dev/null + + sed -n '//,/<\/properties>/p' pom.xml \ + | sed -n "/<${KEY}>/,/<\/${KEY}>/p" \ + | tr -d '\n' \ + | grep -oP "(?<=<${KEY}>).*(?=)" \ + | xargs + + popd >/dev/null +} + +function evaluatePomProperty() { + local KEY="${1}" + + pushd "$(dirname "${BASH_SOURCE[0]}")/../../" >/dev/null + + mvn -B -q help:evaluate -Dexpression="${KEY}" -DforceStdout + + popd >/dev/null +} + +function remoteBranchExists() { + local REMOTE_REPO="${1}" + local BRANCH="${2}" + + git ls-remote --exit-code --heads "https://${GIT_USERNAME}:${GIT_PASSWORD}@${REMOTE_REPO}" "${BRANCH}" +} + +function pullUpstreamTag() { + local UPSTREAM_REPO="${1}" + local TAG="${2}" + + cloneRepo "${UPSTREAM_REPO}" "${TAG}" +} + +function pullAndBuildSameBranchOnUpstream() { + local UPSTREAM_REPO="${1}" + local EXTRA_BUILD_ARGUMENTS="${2}" + local SOURCE_BRANCH="$(isBranchBuild && echo "${TRAVIS_BRANCH}" || echo "${TRAVIS_PULL_REQUEST_BRANCH}")" + + if ! remoteBranchExists "${UPSTREAM_REPO}" "${SOURCE_BRANCH}" ; then + printf "Branch \"%s\" not found on the %s repository\n" "${SOURCE_BRANCH}" "${UPSTREAM_REPO}" + exit 1 + fi + + cloneRepo "${UPSTREAM_REPO}" "${SOURCE_BRANCH}" + + pushd "$(dirname "${BASH_SOURCE[0]}")/../../../" + + cd "$(basename "${UPSTREAM_REPO%.git}")" + + mvn -B -V -q clean install -DskipTests -Dmaven.javadoc.skip=true ${EXTRA_BUILD_ARGUMENTS} + mvn -B -V install -DskipTests -f packaging/tests/pom.xml + + popd +} + diff --git a/scripts/travis/cleanup_cache.sh b/scripts/travis/cleanup_cache.sh new file mode 100644 index 0000000000..33b940e2cd --- /dev/null +++ b/scripts/travis/cleanup_cache.sh @@ -0,0 +1,19 @@ +#!/usr/bin/env bash +set -ev + +rm -rf "${HOME}/.m2/repository/org/alfresco/acs-community-packaging" +rm -rf "${HOME}/.m2/repository/org/alfresco/alfresco-community-repo" +rm -rf "${HOME}/.m2/repository/org/alfresco/alfresco-community-repo-*" +rm -rf "${HOME}/.m2/repository/org/alfresco/alfresco-core" +rm -rf "${HOME}/.m2/repository/org/alfresco/alfresco-data-model" +rm -rf "${HOME}/.m2/repository/org/alfresco/alfresco-enterprise-remote-api" +rm -rf "${HOME}/.m2/repository/org/alfresco/alfresco-enterprise-repo-*" +rm -rf "${HOME}/.m2/repository/org/alfresco/alfresco-enterprise-repository" +rm -rf "${HOME}/.m2/repository/org/alfresco/alfresco-remote-api" +rm -rf "${HOME}/.m2/repository/org/alfresco/alfresco-repository" +rm -rf "${HOME}/.m2/repository/org/alfresco/content-services" +rm -rf "${HOME}/.m2/repository/org/alfresco/content-services*" +rm -rf "${HOME}/.m2/repository/org/alfresco/content-services-community" +rm -rf "${HOME}/.m2/repository/org/alfresco/tas/alfresco-community-repo-*-test" +rm -rf "${HOME}/.m2/repository/org/alfresco/tas/alfresco-enterprise-repo-*-test" + diff --git a/scripts/travis/init.sh b/scripts/travis/init.sh new file mode 100644 index 0000000000..d6dd516c28 --- /dev/null +++ b/scripts/travis/init.sh @@ -0,0 +1,18 @@ +#!/usr/bin/env bash +set -ev +pushd "$(dirname "${BASH_SOURCE[0]}")/../../" + +# Maven Setup +mkdir -p "${HOME}/.m2" && cp -f .travis.settings.xml "${HOME}/.m2/settings.xml" +find "${HOME}/.m2/repository/" -type d -name "*-SNAPSHOT*" | xargs -r -l rm -rf + +# Docker Logins +echo "${QUAY_PASSWORD}" | docker login -u="${QUAY_USERNAME}" --password-stdin quay.io + +# Enable experimental docker features (for the image squash option) +echo '{"experimental":true}' | sudo tee /etc/docker/daemon.json +sudo service docker restart + +# not helpful in this script +# export HOST_IP=$(hostname -I | cut -f1 -d' ') + diff --git a/scripts/travis/maven_release.sh b/scripts/travis/maven_release.sh new file mode 100755 index 0000000000..7c7ac742b6 --- /dev/null +++ b/scripts/travis/maven_release.sh @@ -0,0 +1,17 @@ +#!/usr/bin/env bash +set -ev + +# Use full history for release +git checkout -B "${TRAVIS_BRANCH}" +# Add email to link commits to user +git config user.email "${GIT_EMAIL}" + +# Run the release plugin - with "[skip ci]" in the release commit message +mvn -B \ + -Prelease,fullBuild,all-tas-tests \ + "-Darguments=-Prelease,fullBuild,all-tas-tests -DskipTests -Dbuild-number=${TRAVIS_BUILD_NUMBER}" \ + release:clean release:prepare release:perform \ + -DscmCommentPrefix="[maven-release-plugin][skip ci] " \ + -Dusername="${GIT_USERNAME}" \ + -Dpassword="${GIT_PASSWORD}" + diff --git a/scripts/travis/trigger_travis.sh b/scripts/travis/trigger_travis.sh new file mode 100755 index 0000000000..f180f412dd --- /dev/null +++ b/scripts/travis/trigger_travis.sh @@ -0,0 +1,48 @@ +#!/usr/bin/env bash +set -ev + +USER=${1} +REPO=${2} +BRANCH=${3} + +if [ "${TRAVIS_PULL_REQUEST}" != "false" ]; then + echo "Downstream projects shouldn't be triggered from PR builds" + exit 1 +fi + +if ! git ls-remote --exit-code --heads "https://${GIT_USERNAME}:${GIT_PASSWORD}@github.com/${USER}/${REPO}.git" "${BRANCH}" ; then + echo "Branch \"${BRANCH}\" not found on the downstream repository ${USER}/${REPO}. Exiting..." + exit 0 +fi + + +URL="https://api.travis-ci.com/repo/${USER}%2F${REPO}/requests" +BODY="{ +\"request\": { + \"branch\":\"${BRANCH}\" +}}" + +printf "Travis API call:\n URL: %s\n Body: %s\n\n" "${URL}" "${BODY}" + +curl -s -X POST \ + -H "Content-Type: application/json" \ + -H "Accept: application/json" \ + -H "Travis-API-Version: 3" \ + -H "Authorization: token ${TRAVIS_ACCESS_TOKEN_TEMP}" \ + -d "${BODY}" \ + "${URL}" \ + | tee /tmp/travis-request-output.txt + +cat /tmp/travis-request-output.txt + +if grep -q '"@type": "error"' /tmp/travis-request-output.txt; then + echo "Error when triggering build..." + exit 2 +fi +if grep -q 'access denied' /tmp/travis-request-output.txt; then + echo "Access denied when triggering build..." + exit 3 +fi + +exit 0 + diff --git a/scripts/travis/verify_release_tag.sh b/scripts/travis/verify_release_tag.sh new file mode 100755 index 0000000000..1d263800e7 --- /dev/null +++ b/scripts/travis/verify_release_tag.sh @@ -0,0 +1,38 @@ +#!/usr/bin/env bash +set -ev + +# +# Check that the version to be released does not already have a docker tag. +# + +POM_VERSION=$(mvn -B -q help:evaluate -Dexpression=project.version -DforceStdout) +printf "POM version: %s\n" "${POM_VERSION}" + +IMAGE_TAG="${POM_VERSION%-SNAPSHOT}" + +# get the image name from the pom file +ALFRESCO_DOCKER_IMAGE="$(mvn -B -q help:evaluate -f ./packaging/docker-alfresco/pom.xml -Dexpression=image.name -DforceStdout)" +DOCKER_IMAGE_FULL_NAME="${ALFRESCO_DOCKER_IMAGE}:${IMAGE_TAG}" + +function docker_image_exists() { + local IMAGE_FULL_NAME="${1}"; shift + local WAIT_TIME="${1:-5}" + local SEARCH_TERM='Pulling|is up to date|not found' + + echo "Looking to see if ${IMAGE_FULL_NAME} already exists..." + local RESULT=$( (timeout --preserve-status "${WAIT_TIME}" docker 2>&1 pull "${IMAGE_FULL_NAME}" &) | grep -v 'Pulling repository' | grep -E -o "${SEARCH_TERM}") + + test "${RESULT}" || { echo "Timed out too soon. Try using a wait_time greater than ${WAIT_TIME}..."; return 1 ;} + if echo "${RESULT}" | grep -vq 'not found'; then + true + else + false + fi +} + +if docker_image_exists "${DOCKER_IMAGE_FULL_NAME}" ; then + echo "Tag ${RELEASE_VERSION} already pushed, release process will interrupt." + exit 1 +else + echo "The ${RELEASE_VERSION} tag was not found" +fi diff --git a/trigger-travis.sh b/trigger-travis.sh deleted file mode 100755 index c57e13014e..0000000000 --- a/trigger-travis.sh +++ /dev/null @@ -1,26 +0,0 @@ -#!/usr/bin/env bash - -USER=${1} -REPO=${2} -BRANCH=${3} - -body="{ -\"request\": { - \"branch\":\"${BRANCH}\" -}}" - -curl -s -X POST \ - -H "Content-Type: application/json" \ - -H "Accept: application/json" \ - -H "Travis-API-Version: 3" \ - -H "Authorization: token ${TRAVIS_ACCESS_TOKEN}" \ - -d "${body}" \ - https://api.travis-ci.com/repo/${USER}%2F${REPO}/requests \ - | tee /tmp/travis-request-output.txt - -if grep -q '"@type": "error"' /tmp/travis-request-output.txt; then - exit 1 -fi -if grep -q 'access denied' /tmp/travis-request-output.txt; then - exit 1 -fi \ No newline at end of file