mirror of
https://github.com/Alfresco/acs-community-packaging.git
synced 2025-09-10 14:12:09 +00:00
ACS-457: Build linkage, tagging and release (#991)
* ACS-457: Build linkage, tagging and release - update .travis.settings.xml * ACS-457: Build linkage, tagging and release - add cleanup_cache.sh script * ACS-457: Build linkage, tagging and release - add init.sh script for before_install job phases * ACS-457: Build linkage, tagging and release - add build.sh script for install job phases * ACS-457: Build linkage, tagging and release - minor updates on the older travis and veracode scripts * ACS-457: Build linkage, tagging and release - reorganized and updated .travis.yml * ACS-457: Build linkage, tagging and release - update and propagate branch version numbers during the build * ACS-457: Build linkage, tagging and release - enable docker image squash for all image builds * ACS-457: Build linkage, tagging and release - shellcheck CI scripts * ACS-457: Build linkage, tagging and release - handle upstream versions in chained feature branch builds * ACS-457: Build linkage, tagging and release - switch to TEST pom versions * ACS-457: Build linkage, tagging and release - handle pom properties for upstream dependencies in build.sh scripts * ACS-457: Build linkage, tagging and release - post-merge fixes * ACS-457: Build linkage, tagging and release - clone upstream repositories with "--depth=1" (no history needed) - add "-Dmaven.javadoc.skip=true" options in the build scripts * ACS-457: Build linkage, tagging and release - remove <scm> configuration from sub-modules - remove <distributionManagement> configurations from submodules - remove <repository> configuration from poms - remove unnecessary and unused POM profiles * ACS-457: Build linkage, tagging and release - add pom <pluginManagement> section - removed some plugin versions from downstream modules - add a single common configuration for the *maven-relese-plugin* * ACS-457: Build linkage, tagging and release - update and reorganize the fabric8-maven-plugin configuration * ACS-457: Build linkage, tagging and release - add configurable docker upstream.image.tag property * ACS-457: Build linkage, tagging and release - modify the build.sh scripts so they checkout the upstream project tag * ACS-457: Build linkage, tagging and release - re-implement build.sh script logic to support PRs & branch builds - restricted the build.sh script capabilities - moved build functions to a separate .sh file * ACS-457: Build linkage, tagging and release - update release scripts * ACS-457: Build linkage, tagging and release - debug build scripts * ACS-457: Build linkage, tagging and release - fix build scripts * ACS-457: Build linkage, tagging and release - fix build scripts * ACS-457: Build linkage, tagging and release - setup/update the S3 publishing jobs * ACS-457: Build linkage, tagging and release - add missing profile * ACS-457: Build linkage, tagging and release - disable PR merges with SNAPSHOT dependencies (on master|release/*) * ACS-457: Build linkage, tagging and release - made the upstream cloning (build_functions.sh) more lenient * ACS-457: Build linkage, tagging and release - fix scripting bug (execute function in sub-shell)
This commit is contained in:
@@ -25,6 +25,10 @@
|
|||||||
<url>https://artifacts.alfresco.com/nexus/content/groups/public</url>
|
<url>https://artifacts.alfresco.com/nexus/content/groups/public</url>
|
||||||
</pluginRepository>
|
</pluginRepository>
|
||||||
</pluginRepositories>
|
</pluginRepositories>
|
||||||
|
<properties>
|
||||||
|
<!-- WhiteSource token -->
|
||||||
|
<org.whitesource.orgToken>${env.WHITESOURCE_API_KEY}</org.whitesource.orgToken>
|
||||||
|
</properties>
|
||||||
</profile>
|
</profile>
|
||||||
</profiles>
|
</profiles>
|
||||||
|
|
||||||
|
317
.travis.yml
317
.travis.yml
@@ -1,166 +1,151 @@
|
|||||||
dist: xenial
|
---
|
||||||
os: linux
|
dist: xenial
|
||||||
language: java
|
language: java
|
||||||
jdk:
|
jdk: openjdk11
|
||||||
- openjdk11
|
|
||||||
|
services:
|
||||||
services:
|
- docker
|
||||||
- docker
|
|
||||||
|
git:
|
||||||
cache:
|
depth: false
|
||||||
directories:
|
quiet: true
|
||||||
- $HOME/.m2
|
|
||||||
|
cache:
|
||||||
before_cache:
|
directories:
|
||||||
- rm -rf $HOME/.m2/repository/org/alfresco/acs-community-packaging
|
- ${HOME}/.m2/repository
|
||||||
|
|
||||||
env:
|
# the cache can grow constantly
|
||||||
global:
|
before_cache: bash scripts/travis/cleanup_cache.sh
|
||||||
- TAS_SCRIPTS=../alfresco-community-repo/packaging/tests/scripts
|
|
||||||
- TAS_ENVIRONMENT=./tests/environment
|
branches:
|
||||||
# Edition
|
only:
|
||||||
- VERSION_EDITION=Community
|
- master
|
||||||
# Must be in the format <alfresco-version>-<additional_versioning> ie. 6.3.0-repo-xxxx-x or 6.3.0-Ax
|
- develop
|
||||||
- RELEASE_VERSION=6.2.2-RC1
|
- /release\/.*/
|
||||||
- DEVELOPMENT_VERSION=7.0.0-SNAPSHOT
|
- feature/REPO-5111_repo_build
|
||||||
|
- feature/ACS-457_travis-release-config
|
||||||
branches:
|
|
||||||
only:
|
env:
|
||||||
- master
|
global:
|
||||||
- develop
|
- TAS_SCRIPTS=../alfresco-community-repo/packaging/tests/scripts
|
||||||
- feature/REPO-5111_repo_build
|
- TAS_ENVIRONMENT=./tests/environment
|
||||||
|
# Must be in the format <alfresco-version>-<additional_versioning> ie. 6.3.0-repo-xxxx-x or 6.3.0-Ax
|
||||||
stages:
|
- RELEASE_VERSION=7.0.0-TEST1
|
||||||
- name: test
|
- DEVELOPMENT_VERSION=7.0.0-TEST1-SNAPSHOT
|
||||||
if: commit_message !~ /\[skip tests\]/
|
|
||||||
- release
|
stages:
|
||||||
- publish
|
- name: test
|
||||||
|
if: commit_message !~ /\[skip tests\]/
|
||||||
before_install:
|
- name: docker_latest
|
||||||
- "cp .travis.settings.xml $HOME/.m2/settings.xml"
|
if: fork = false AND type != pull_request AND branch = master
|
||||||
- pushd ..
|
- name: release
|
||||||
# - git clone -b ${TRAVIS_BRANCH} https://${GIT_USERNAME}:${GIT_PASSWORD}@github.com/Alfresco/alfresco-community-repo.git
|
if: commit_message ~= /\[release\]/ AND fork = false AND type != pull_request AND (branch =~ ^(master|develop)$ OR branch =~ /release\/.*/)
|
||||||
- git clone https://${GIT_USERNAME}:${GIT_PASSWORD}@github.com/Alfresco/alfresco-community-repo.git
|
- name: publish
|
||||||
- cd alfresco-community-repo
|
if: commit_message ~= /\[publish\]/ AND fork = false AND type != pull_request AND (branch =~ ^(master|develop)$ OR branch =~ /release\/.*/)
|
||||||
- travis_retry mvn install -DskipTests -PcommunityDocker -B -V
|
|
||||||
- travis_retry mvn install -f packaging/tests/pom.xml -DskipTests -B -V
|
before_install: travis_retry bash scripts/travis/init.sh
|
||||||
- popd
|
install: travis_retry travis_wait 40 bash scripts/travis/build.sh
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
include:
|
include:
|
||||||
- stage: test
|
- name: "WhiteSource scan"
|
||||||
name: "WhiteSource scan"
|
stage: test
|
||||||
# only on master or develop and if it is not a PR
|
# only on master or develop and if it is not a PR
|
||||||
if: fork = false AND branch =~ ^(master|develop)$ AND type != pull_request
|
if: fork = false AND branch =~ ^(master|develop)$ AND type != pull_request
|
||||||
install:
|
install: travis_retry travis_wait 30 mvn -B -q install -f war/pom.xml
|
||||||
- travis_retry travis_wait 30 mvn -q install "-Dversion.edition=${VERSION_EDITION}" -f war/pom.xml
|
script:
|
||||||
script:
|
# Download the latest version of WhiteSource Unified Agent
|
||||||
# Download the latest version of WhiteSource Unified Agent
|
- curl -LJO https://github.com/whitesource/unified-agent-distribution/releases/latest/download/wss-unified-agent.jar
|
||||||
- curl -LJO https://github.com/whitesource/unified-agent-distribution/releases/latest/download/wss-unified-agent.jar
|
# Run WhiteSource Unified Agent
|
||||||
# Run WhiteSource Unified Agent
|
- java -jar wss-unified-agent.jar -apiKey ${WHITESOURCE_API_KEY} -c .wss-unified-agent.config -d ./war
|
||||||
- java -jar wss-unified-agent.jar -apiKey ${WHITESOURCE_API_KEY} -c .wss-unified-agent.config -d ./war
|
|
||||||
|
- name: "REST API TAS tests part1"
|
||||||
- name: "REST API TAS tests part1"
|
before_script:
|
||||||
jdk: openjdk11
|
- ${TAS_SCRIPTS}/start-compose.sh ${TAS_ENVIRONMENT}/docker-compose-minimal+transforms.yml
|
||||||
install:
|
- ${TAS_SCRIPTS}/wait-for-alfresco-start.sh "http://localhost:8082/alfresco"
|
||||||
- travis_retry travis_wait 40 mvn install -q "-Dversion.edition=${VERSION_EDITION}" -Dmaven.javadoc.skip=true -PcommunityDocker
|
script:
|
||||||
- ${TAS_SCRIPTS}/start-compose.sh ${TAS_ENVIRONMENT}/docker-compose-minimal+transforms.yml
|
- travis_wait 60 mvn -B install -f tests/tas-restapi/pom.xml -Pall-tas-tests,run-restapi-part1 -Denvironment=default -DrunBugs=false
|
||||||
- ${TAS_SCRIPTS}/wait-for-alfresco-start.sh "http://localhost:8082/alfresco"
|
|
||||||
script:
|
- name: "REST API TAS tests part2"
|
||||||
- travis_wait 60 mvn install -f tests/tas-restapi/pom.xml -Pall-tas-tests,run-restapi-part1 -Denvironment=default -DrunBugs=false
|
before_script:
|
||||||
|
- ${TAS_SCRIPTS}/start-compose.sh ${TAS_ENVIRONMENT}/docker-compose-minimal+transforms.yml
|
||||||
- name: "REST API TAS tests part2"
|
- ${TAS_SCRIPTS}/wait-for-alfresco-start.sh "http://localhost:8082/alfresco"
|
||||||
jdk: openjdk11
|
script:
|
||||||
install:
|
- travis_wait 60 mvn -B install -f tests/tas-restapi/pom.xml -Pall-tas-tests,run-restapi-part2 -Denvironment=default -DrunBugs=false
|
||||||
- travis_retry travis_wait 40 mvn install -q "-Dversion.edition=${VERSION_EDITION}" -Dmaven.javadoc.skip=true -PcommunityDocker
|
|
||||||
- ${TAS_SCRIPTS}/start-compose.sh ${TAS_ENVIRONMENT}/docker-compose-minimal+transforms.yml
|
- name: "REST API TAS tests part3"
|
||||||
- ${TAS_SCRIPTS}/wait-for-alfresco-start.sh "http://localhost:8082/alfresco"
|
before_script:
|
||||||
script:
|
- ${TAS_SCRIPTS}/start-compose.sh ${TAS_ENVIRONMENT}/docker-compose-minimal+transforms.yml
|
||||||
- travis_wait 60 mvn install -f tests/tas-restapi/pom.xml -Pall-tas-tests,run-restapi-part2 -Denvironment=default -DrunBugs=false
|
- ${TAS_SCRIPTS}/wait-for-alfresco-start.sh "http://localhost:8082/alfresco"
|
||||||
|
script:
|
||||||
- name: "REST API TAS tests part3"
|
- travis_wait 60 mvn -B install -f tests/tas-restapi/pom.xml -Pall-tas-tests,run-restapi-part3 -Denvironment=default -DrunBugs=false
|
||||||
jdk: openjdk11
|
|
||||||
install:
|
- name: "CMIS TAS tests"
|
||||||
- travis_retry travis_wait 40 mvn install -q "-Dversion.edition=${VERSION_EDITION}" -Dmaven.javadoc.skip=true -PcommunityDocker
|
before_script:
|
||||||
- ${TAS_SCRIPTS}/start-compose.sh ${TAS_ENVIRONMENT}/docker-compose-minimal+transforms.yml
|
- ${TAS_SCRIPTS}/start-compose.sh ${TAS_ENVIRONMENT}/docker-compose-minimal+transforms.yml
|
||||||
- ${TAS_SCRIPTS}/wait-for-alfresco-start.sh "http://localhost:8082/alfresco"
|
- ${TAS_SCRIPTS}/wait-for-alfresco-start.sh "http://localhost:8082/alfresco"
|
||||||
script:
|
script:
|
||||||
- travis_wait 60 mvn install -f tests/tas-restapi/pom.xml -Pall-tas-tests,run-restapi-part3 -Denvironment=default -DrunBugs=false
|
- travis_wait 40 mvn -B install -f tests/tas-cmis/pom.xml -Pall-tas-tests -Denvironment=default -DrunBugs=false
|
||||||
|
|
||||||
- name: "CMIS TAS tests"
|
- name: "Email TAS tests"
|
||||||
jdk: openjdk11
|
before_script:
|
||||||
install:
|
- ${TAS_SCRIPTS}/start-compose.sh ${TAS_ENVIRONMENT}/docker-compose-minimal.yml
|
||||||
- travis_retry travis_wait 40 mvn install -q "-Dversion.edition=${VERSION_EDITION}" -Dmaven.javadoc.skip=true -PcommunityDocker
|
- ${TAS_SCRIPTS}/wait-for-alfresco-start.sh "http://localhost:8082/alfresco"
|
||||||
- ${TAS_SCRIPTS}/start-compose.sh ${TAS_ENVIRONMENT}/docker-compose-minimal+transforms.yml
|
script:
|
||||||
- ${TAS_SCRIPTS}/wait-for-alfresco-start.sh "http://localhost:8082/alfresco"
|
- travis_wait 30 mvn -B install -f tests/tas-email/pom.xml -Pall-tas-tests -Denvironment=default -DrunBugs=false
|
||||||
script:
|
|
||||||
- travis_wait 40 mvn install -f tests/tas-cmis/pom.xml -Pall-tas-tests -Denvironment=default -DrunBugs=false
|
- name: "WebDAV TAS tests"
|
||||||
|
before_script:
|
||||||
- name: "Email TAS tests"
|
- ${TAS_SCRIPTS}/start-compose.sh ${TAS_ENVIRONMENT}/docker-compose-minimal.yml
|
||||||
jdk: openjdk11
|
- ${TAS_SCRIPTS}/wait-for-alfresco-start.sh "http://localhost:8082/alfresco"
|
||||||
install:
|
script:
|
||||||
- travis_retry travis_wait 40 mvn install -q "-Dversion.edition=${VERSION_EDITION}" -Dmaven.javadoc.skip=true -PcommunityDocker
|
- travis_wait 20 mvn -B install -f tests/tas-webdav/pom.xml -Pall-tas-tests -Denvironment=default -DrunBugs=false
|
||||||
- ${TAS_SCRIPTS}/start-compose.sh ${TAS_ENVIRONMENT}/docker-compose-minimal.yml
|
|
||||||
- ${TAS_SCRIPTS}/wait-for-alfresco-start.sh "http://localhost:8082/alfresco"
|
- name: "Integration TAS tests"
|
||||||
script:
|
before_script:
|
||||||
- travis_wait 30 mvn install -f tests/tas-email/pom.xml -Pall-tas-tests -Denvironment=default -DrunBugs=false
|
- ${TAS_SCRIPTS}/start-compose.sh ${TAS_ENVIRONMENT}/docker-compose-minimal.yml
|
||||||
|
- ${TAS_SCRIPTS}/wait-for-alfresco-start.sh "http://localhost:8082/alfresco"
|
||||||
- name: "WebDAV TAS tests"
|
script:
|
||||||
jdk: openjdk11
|
- travis_wait 30 mvn -B install -f tests/tas-integration/pom.xml -Pall-tas-tests -Denvironment=default -DrunBugs=false
|
||||||
install:
|
|
||||||
- travis_retry travis_wait 40 mvn install -q "-Dversion.edition=${VERSION_EDITION}" -Dmaven.javadoc.skip=true -PcommunityDocker
|
- name: "Update Docker latest images"
|
||||||
- ${TAS_SCRIPTS}/start-compose.sh ${TAS_ENVIRONMENT}/docker-compose-minimal.yml
|
stage: docker_latest
|
||||||
- ${TAS_SCRIPTS}/wait-for-alfresco-start.sh "http://localhost:8082/alfresco"
|
script: travis_retry travis_wait 30 mvn -B -V clean install -DskipTests -Dmaven.javadoc.skip=true -Pinternal
|
||||||
script:
|
|
||||||
- travis_wait 20 mvn install -f tests/tas-webdav/pom.xml -Pall-tas-tests -Denvironment=default -DrunBugs=false
|
- name: "Release and Copy to S3 Staging"
|
||||||
|
stage: release
|
||||||
- name: "Integration TAS tests"
|
install: travis_retry travis_wait 40 mvn -B -V clean install -DskipTests -Dmaven.javadoc.skip=true
|
||||||
jdk: openjdk11
|
before_script: bash scripts/travis/verify_release_tag.sh
|
||||||
install:
|
script: travis_wait 40 bash scripts/travis/maven_release.sh
|
||||||
- travis_retry travis_wait 40 mvn install -q "-Dversion.edition=${VERSION_EDITION}" -Dmaven.javadoc.skip=true -PcommunityDocker
|
before_deploy:
|
||||||
- ${TAS_SCRIPTS}/start-compose.sh ${TAS_ENVIRONMENT}/docker-compose-minimal.yml
|
# Move the final artifacts to a single folder (deploy_dir) to be copied to S3
|
||||||
- ${TAS_SCRIPTS}/wait-for-alfresco-start.sh "http://localhost:8082/alfresco"
|
- mkdir -p deploy_dir
|
||||||
script:
|
- cp distribution/target/alfresco.war deploy_dir
|
||||||
- travis_wait 30 mvn install -f tests/tas-integration/pom.xml -Pall-tas-tests -Denvironment=default -DrunBugs=false
|
- cp distribution/target/*-distribution*.zip deploy_dir
|
||||||
|
deploy:
|
||||||
- stage: Release
|
- provider: s3
|
||||||
name: "Maven release"
|
access_key_id: "${AWS_STAGING_ACCESS_KEY}"
|
||||||
if: commit_message ~= /\[release\]/ AND fork = false AND branch =~ ^(master|develop)$ AND type != pull_request
|
secret_access_key: "${AWS_STAGING_SECRET_KEY}"
|
||||||
install: travis_retry travis_wait 40 mvn clean install -DskipTests=true "-Dversion.edition=${VERSION_EDITION}" -Dmaven.javadoc.skip=true -B -V
|
bucket: "alfresco-artefacts-staging"
|
||||||
# Fail the job if there is a docker image tag that matches the RELEASE_VERSION (or project version in the POM if not set)
|
region: "eu-west-1"
|
||||||
before_script: ./scripts/travis/verify_release_tag.sh
|
skip_cleanup: true
|
||||||
script: travis_wait 40 ./scripts/travis/maven_release.sh ${RELEASE_VERSION} ${DEVELOPMENT_VERSION}
|
acl: private
|
||||||
# Copy alfresco.war and the distribution zip to deploy_dir
|
local_dir: "deploy_dir"
|
||||||
before_deploy:
|
upload_dir: "alfresco-content-services-community/release/${TRAVIS_BRANCH}/${TRAVIS_BUILD_NUMBER}"
|
||||||
# Move the final artifacts to a single folder (deploy_dir) to be copied to S3
|
on:
|
||||||
- mkdir -p deploy_dir
|
all_branches: true
|
||||||
- cp war/target/alfresco.war deploy_dir
|
condition: ${TRAVIS_BRANCH} =~ ^(master|develop)$
|
||||||
- cp distribution/target/*-distribution*.zip deploy_dir
|
|
||||||
deploy:
|
- name: "Copy to S3 Release"
|
||||||
- provider: s3
|
stage: publish
|
||||||
access_key_id: ${AWS_STAGING_ACCESS_KEY}
|
# Nothing to build/install as we are just copying from S3 buckets
|
||||||
secret_access_key: ${AWS_STAGING_SECRET_KEY}
|
install: skip
|
||||||
bucket: "alfresco-artefacts-staging"
|
script: skip
|
||||||
region: "eu-west-1"
|
before_deploy: pip install awscli
|
||||||
skip_cleanup: true
|
deploy:
|
||||||
acl: private
|
- provider: script
|
||||||
local_dir: deploy_dir
|
script: bash scripts/travis/copy_to_release_bucket.sh
|
||||||
upload_dir: "alfresco-content-services-community/release/${TRAVIS_BRANCH}/${TRAVIS_BUILD_NUMBER}"
|
on:
|
||||||
on:
|
branch: master
|
||||||
all_branches: true
|
|
||||||
condition: $TRAVIS_BRANCH =~ ^(master|develop)$
|
|
||||||
|
|
||||||
- stage: "Publish"
|
|
||||||
name: "Copy to S3 Release"
|
|
||||||
if: commit_message ~= /\[publish\]/ AND fork = false AND branch = master AND type != pull_request
|
|
||||||
# Nothing to build/install as we are just copying from S3 buckets
|
|
||||||
install: skip
|
|
||||||
script: skip
|
|
||||||
before_deploy: pip install awscli
|
|
||||||
deploy:
|
|
||||||
- provider: script
|
|
||||||
script: ./scripts/travis/copy_to_release_bucket.sh ${TRAVIS_BUILD_NUMBER} ${TRAVIS_BRANCH}
|
|
||||||
on:
|
|
||||||
branch: master
|
|
||||||
|
|
||||||
|
|
||||||
|
@@ -1,174 +1,196 @@
|
|||||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<artifactId>alfresco-content-services-community-distribution</artifactId>
|
<artifactId>alfresco-content-services-community-distribution</artifactId>
|
||||||
<name>Alfresco Content Services Community Distribution zip</name>
|
<name>Alfresco Content Services Community Distribution zip</name>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>org.alfresco</groupId>
|
<groupId>org.alfresco</groupId>
|
||||||
<artifactId>acs-community-packaging</artifactId>
|
<artifactId>acs-community-packaging</artifactId>
|
||||||
<version>7.0.0-SNAPSHOT</version>
|
<version>7.0.0-TEST3-SNAPSHOT</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<!-- WAR files -->
|
<!-- WAR files -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.alfresco</groupId>
|
<groupId>org.alfresco</groupId>
|
||||||
<artifactId>content-services-community</artifactId>
|
<artifactId>content-services-community</artifactId>
|
||||||
<type>war</type>
|
<type>war</type>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.alfresco</groupId>
|
<groupId>org.alfresco</groupId>
|
||||||
<artifactId>alfresco-repository</artifactId>
|
<artifactId>alfresco-repository</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.alfresco</groupId>
|
<groupId>org.alfresco</groupId>
|
||||||
<artifactId>alfresco-data-model</artifactId>
|
<artifactId>alfresco-data-model</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.alfresco</groupId>
|
<groupId>org.alfresco</groupId>
|
||||||
<artifactId>alfresco-server-root</artifactId>
|
<artifactId>alfresco-server-root</artifactId>
|
||||||
<type>war</type>
|
<type>war</type>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.alfresco</groupId>
|
<groupId>org.alfresco</groupId>
|
||||||
<artifactId>alfresco-mmt</artifactId>
|
<artifactId>alfresco-mmt</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
<!-- 3rd party libs -->
|
<!-- 3rd party libs -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.postgresql</groupId>
|
<groupId>org.postgresql</groupId>
|
||||||
<artifactId>postgresql</artifactId>
|
<artifactId>postgresql</artifactId>
|
||||||
<version>${dependency.postgresql.version}</version>
|
<version>${dependency.postgresql.version}</version>
|
||||||
<scope>compile</scope>
|
<scope>compile</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<!-- Alfresco Pdf Renderer -->
|
<!-- Alfresco Pdf Renderer -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.alfresco</groupId>
|
<groupId>org.alfresco</groupId>
|
||||||
<artifactId>alfresco-pdf-renderer</artifactId>
|
<artifactId>alfresco-pdf-renderer</artifactId>
|
||||||
<classifier>linux</classifier>
|
<classifier>linux</classifier>
|
||||||
<type>tgz</type>
|
<type>tgz</type>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.alfresco</groupId>
|
<groupId>org.alfresco</groupId>
|
||||||
<artifactId>alfresco-pdf-renderer</artifactId>
|
<artifactId>alfresco-pdf-renderer</artifactId>
|
||||||
<classifier>win64</classifier>
|
<classifier>win64</classifier>
|
||||||
<type>tgz</type>
|
<type>tgz</type>
|
||||||
</dependency>
|
</dependency>
|
||||||
<!-- SHARE Distribution -->
|
<!-- SHARE Distribution -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.alfresco</groupId>
|
<groupId>org.alfresco</groupId>
|
||||||
<artifactId>alfresco-content-services-share-distribution</artifactId>
|
<artifactId>alfresco-content-services-share-distribution</artifactId>
|
||||||
<type>zip</type>
|
<type>zip</type>
|
||||||
<exclusions>
|
<exclusions>
|
||||||
<exclusion>
|
<exclusion>
|
||||||
<groupId>*</groupId>
|
<groupId>*</groupId>
|
||||||
<artifactId>*</artifactId>
|
<artifactId>*</artifactId>
|
||||||
</exclusion>
|
</exclusion>
|
||||||
</exclusions>
|
</exclusions>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<finalName>${project.artifactId}-${project.version}</finalName>
|
<finalName>${project.artifactId}-${project.version}</finalName>
|
||||||
<resources>
|
<resources>
|
||||||
<resource>
|
<resource>
|
||||||
<directory>src/main/resources</directory>
|
<directory>src/main/resources</directory>
|
||||||
<filtering>true</filtering>
|
<filtering>true</filtering>
|
||||||
</resource>
|
</resource>
|
||||||
</resources>
|
</resources>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-dependency-plugin</artifactId>
|
<artifactId>maven-dependency-plugin</artifactId>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>extract-keystore</id>
|
<id>extract-keystore</id>
|
||||||
<phase>generate-resources</phase>
|
<phase>generate-resources</phase>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>unpack</goal>
|
<goal>unpack</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
<artifactItems>
|
<artifactItems>
|
||||||
<!-- Extract keystore from alfresco-repository -->
|
<!-- Extract keystore from alfresco-repository -->
|
||||||
<artifactItem>
|
<artifactItem>
|
||||||
<groupId>org.alfresco</groupId>
|
<groupId>org.alfresco</groupId>
|
||||||
<artifactId>alfresco-repository</artifactId>
|
<artifactId>alfresco-repository</artifactId>
|
||||||
<includes>alfresco/keystore/**</includes>
|
<includes>alfresco/keystore/**</includes>
|
||||||
</artifactItem>
|
</artifactItem>
|
||||||
|
|
||||||
<artifactItem>
|
<artifactItem>
|
||||||
<groupId>org.alfresco</groupId>
|
<groupId>org.alfresco</groupId>
|
||||||
<artifactId>alfresco-content-services-share-distribution</artifactId>
|
<artifactId>alfresco-content-services-share-distribution</artifactId>
|
||||||
<type>zip</type>
|
<type>zip</type>
|
||||||
</artifactItem>
|
</artifactItem>
|
||||||
</artifactItems>
|
</artifactItems>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
<execution>
|
<execution>
|
||||||
<id>extract-jlan-dll</id>
|
<id>extract-jlan-dll</id>
|
||||||
<phase>generate-resources</phase>
|
<phase>generate-resources</phase>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>unpack</goal>
|
<goal>unpack</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
<artifactItems>
|
<artifactItems>
|
||||||
<artifactItem>
|
<artifactItem>
|
||||||
<groupId>org.alfresco</groupId>
|
<groupId>org.alfresco</groupId>
|
||||||
<artifactId>alfresco-jlan-embed</artifactId>
|
<artifactId>alfresco-jlan-embed</artifactId>
|
||||||
<classifier>windll</classifier>
|
<classifier>windll</classifier>
|
||||||
<includes>*.dll</includes>
|
<includes>*.dll</includes>
|
||||||
</artifactItem>
|
</artifactItem>
|
||||||
</artifactItems>
|
</artifactItems>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
|
|
||||||
<!-- Copy ROOT.war -->
|
<!-- Copy ROOT.war -->
|
||||||
<execution>
|
<execution>
|
||||||
<id>copy-resources</id>
|
<id>copy-resources</id>
|
||||||
<phase>generate-resources</phase>
|
<phase>generate-resources</phase>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>copy</goal>
|
<goal>copy</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
<artifactItems>
|
<artifactItems>
|
||||||
<artifactItem>
|
<artifactItem>
|
||||||
<groupId>org.alfresco</groupId>
|
<groupId>org.alfresco</groupId>
|
||||||
<artifactId>alfresco-server-root</artifactId>
|
<artifactId>alfresco-server-root</artifactId>
|
||||||
<type>war</type>
|
<type>war</type>
|
||||||
<outputDirectory>${project.build.outputDirectory}/web-server/webapps</outputDirectory>
|
<outputDirectory>${project.build.outputDirectory}/web-server/webapps</outputDirectory>
|
||||||
<destFileName>ROOT.war</destFileName>
|
<destFileName>ROOT.war</destFileName>
|
||||||
</artifactItem>
|
</artifactItem>
|
||||||
<artifactItem>
|
<artifactItem>
|
||||||
<groupId>org.alfresco.aos-module</groupId>
|
<groupId>org.alfresco.aos-module</groupId>
|
||||||
<artifactId>alfresco-vti-bin</artifactId>
|
<artifactId>alfresco-vti-bin</artifactId>
|
||||||
<type>war</type>
|
<type>war</type>
|
||||||
<outputDirectory>${project.build.outputDirectory}/web-server/webapps</outputDirectory>
|
<outputDirectory>${project.build.outputDirectory}/web-server/webapps</outputDirectory>
|
||||||
<destFileName>_vti_bin.war</destFileName>
|
<destFileName>_vti_bin.war</destFileName>
|
||||||
</artifactItem>
|
</artifactItem>
|
||||||
</artifactItems>
|
</artifactItems>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
|
||||||
</plugin>
|
<!-- Copy ROOT.war -->
|
||||||
|
<execution>
|
||||||
<plugin>
|
<id>copy-alfresco-war</id>
|
||||||
<artifactId>maven-assembly-plugin</artifactId>
|
<phase>generate-resources</phase>
|
||||||
<executions>
|
<goals>
|
||||||
<execution>
|
<goal>copy</goal>
|
||||||
<id>make-assembly</id>
|
</goals>
|
||||||
<phase>package</phase>
|
<configuration>
|
||||||
<goals>
|
<artifactItems>
|
||||||
<goal>single</goal>
|
<artifactItem>
|
||||||
</goals>
|
<groupId>org.alfresco</groupId>
|
||||||
<configuration>
|
<artifactId>content-services-community</artifactId>
|
||||||
<appendAssemblyId>false</appendAssemblyId>
|
<version>${dependency.alfresco-community-repo.version}</version>
|
||||||
<descriptors>
|
<type>war</type>
|
||||||
<descriptor>src/assembly/distribution.xml</descriptor>
|
<overWrite>false</overWrite>
|
||||||
</descriptors>
|
<outputDirectory>${project.build.directory}</outputDirectory>
|
||||||
</configuration>
|
<destFileName>alfresco.war</destFileName>
|
||||||
</execution>
|
</artifactItem>
|
||||||
</executions>
|
</artifactItems>
|
||||||
</plugin>
|
</configuration>
|
||||||
</plugins>
|
</execution>
|
||||||
</build>
|
</executions>
|
||||||
|
</plugin>
|
||||||
</project>
|
|
||||||
|
<plugin>
|
||||||
|
<artifactId>maven-assembly-plugin</artifactId>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>make-assembly</id>
|
||||||
|
<phase>package</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>single</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<appendAssemblyId>false</appendAssemblyId>
|
||||||
|
<descriptors>
|
||||||
|
<descriptor>src/assembly/distribution.xml</descriptor>
|
||||||
|
</descriptors>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
|
||||||
|
</project>
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
FROM alfresco/alfresco-community-repo-base:latest
|
FROM alfresco/alfresco-community-repo-base:${upstream.image.tag}
|
||||||
|
|
||||||
# Set default docker_context. Will / Can be overriden with maven.
|
# Set default docker_context. Will / Can be overriden with maven.
|
||||||
ARG resource_path=target
|
ARG resource_path=target
|
||||||
|
@@ -1,356 +1,330 @@
|
|||||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<artifactId>content-services-community-docker-alfresco</artifactId>
|
<artifactId>content-services-community-docker-alfresco</artifactId>
|
||||||
<name>ACS Community Docker Image Builder for Alfresco Community</name>
|
<name>ACS Community Docker Image Builder for Alfresco Community</name>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
|
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>org.alfresco</groupId>
|
<groupId>org.alfresco</groupId>
|
||||||
<artifactId>acs-community-packaging</artifactId>
|
<artifactId>acs-community-packaging</artifactId>
|
||||||
<version>7.0.0-SNAPSHOT</version>
|
<version>7.0.0-TEST3-SNAPSHOT</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<image.name>alfresco/alfresco-content-repository-community</image.name>
|
<image.name>alfresco/alfresco-content-repository-community</image.name>
|
||||||
<image.registry>quay.io</image.registry>
|
</properties>
|
||||||
</properties>
|
|
||||||
|
<!-- <dependencies>-->
|
||||||
<!-- <dependencies>-->
|
<!-- <dependency>-->
|
||||||
<!-- <dependency>-->
|
<!-- <groupId>org.alfresco</groupId>-->
|
||||||
<!-- <groupId>org.alfresco</groupId>-->
|
<!-- <artifactId>alfresco-mmt</artifactId>-->
|
||||||
<!-- <artifactId>alfresco-mmt</artifactId>-->
|
<!-- </dependency>-->
|
||||||
<!-- </dependency>-->
|
<!-- <dependency>-->
|
||||||
<!-- <dependency>-->
|
<!-- <groupId>org.alfresco</groupId>-->
|
||||||
<!-- <groupId>org.alfresco</groupId>-->
|
<!-- <artifactId>alfresco-server-root</artifactId>-->
|
||||||
<!-- <artifactId>alfresco-server-root</artifactId>-->
|
<!-- <type>war</type>-->
|
||||||
<!-- <type>war</type>-->
|
<!-- </dependency>-->
|
||||||
<!-- </dependency>-->
|
<!-- <dependency>-->
|
||||||
<!-- <dependency>-->
|
<!-- <groupId>org.postgresql</groupId>-->
|
||||||
<!-- <groupId>org.postgresql</groupId>-->
|
<!-- <artifactId>postgresql</artifactId>-->
|
||||||
<!-- <artifactId>postgresql</artifactId>-->
|
<!-- </dependency>-->
|
||||||
<!-- </dependency>-->
|
<!-- <dependency>-->
|
||||||
<!-- <dependency>-->
|
<!-- <groupId>org.alfresco.aos-module</groupId>-->
|
||||||
<!-- <groupId>org.alfresco.aos-module</groupId>-->
|
<!-- <artifactId>alfresco-aos-module</artifactId>-->
|
||||||
<!-- <artifactId>alfresco-aos-module</artifactId>-->
|
<!-- <type>amp</type>-->
|
||||||
<!-- <type>amp</type>-->
|
<!-- <exclusions>-->
|
||||||
<!-- <exclusions>-->
|
<!-- <exclusion>-->
|
||||||
<!-- <exclusion>-->
|
<!-- <groupId>org.alfresco.aos-module</groupId>-->
|
||||||
<!-- <groupId>org.alfresco.aos-module</groupId>-->
|
<!-- <artifactId>alfresco-aos-repo-binding</artifactId>-->
|
||||||
<!-- <artifactId>alfresco-aos-repo-binding</artifactId>-->
|
<!-- </exclusion>-->
|
||||||
<!-- </exclusion>-->
|
<!-- </exclusions>-->
|
||||||
<!-- </exclusions>-->
|
<!-- </dependency>-->
|
||||||
<!-- </dependency>-->
|
<!-- <dependency>-->
|
||||||
<!-- <dependency>-->
|
<!-- <groupId>org.alfresco.aos-module</groupId>-->
|
||||||
<!-- <groupId>org.alfresco.aos-module</groupId>-->
|
<!-- <artifactId>alfresco-vti-bin</artifactId>-->
|
||||||
<!-- <artifactId>alfresco-vti-bin</artifactId>-->
|
<!-- <type>war</type>-->
|
||||||
<!-- <type>war</type>-->
|
<!-- </dependency>-->
|
||||||
<!-- </dependency>-->
|
<!-- <dependency>-->
|
||||||
<!-- <dependency>-->
|
<!-- <groupId>org.alfresco.integrations</groupId>-->
|
||||||
<!-- <groupId>org.alfresco.integrations</groupId>-->
|
<!-- <artifactId>alfresco-googledrive-repo-community</artifactId>-->
|
||||||
<!-- <artifactId>alfresco-googledrive-repo-community</artifactId>-->
|
<!-- <type>amp</type>-->
|
||||||
<!-- <type>amp</type>-->
|
<!-- </dependency>-->
|
||||||
<!-- </dependency>-->
|
<!-- <dependency>-->
|
||||||
<!-- <dependency>-->
|
<!-- <groupId>org.alfresco</groupId>-->
|
||||||
<!-- <groupId>org.alfresco</groupId>-->
|
<!-- <artifactId>api-explorer</artifactId>-->
|
||||||
<!-- <artifactId>api-explorer</artifactId>-->
|
<!-- <version>${dependency.alfresco-api-explorer.version}</version>-->
|
||||||
<!-- <version>${dependency.alfresco-api-explorer.version}</version>-->
|
<!-- <type>war</type>-->
|
||||||
<!-- <type>war</type>-->
|
<!-- </dependency>-->
|
||||||
<!-- </dependency>-->
|
<!-- <dependency>-->
|
||||||
<!-- <dependency>-->
|
<!-- <groupId>org.alfresco</groupId>-->
|
||||||
<!-- <groupId>org.alfresco</groupId>-->
|
<!-- <artifactId>alfresco-share-services</artifactId>-->
|
||||||
<!-- <artifactId>alfresco-share-services</artifactId>-->
|
<!-- <type>amp</type>-->
|
||||||
<!-- <type>amp</type>-->
|
<!-- </dependency>-->
|
||||||
<!-- </dependency>-->
|
<!-- </dependencies>-->
|
||||||
<!-- </dependencies>-->
|
|
||||||
|
<build>
|
||||||
<build>
|
<plugins>
|
||||||
<plugins>
|
<plugin>
|
||||||
<plugin>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<artifactId>maven-resources-plugin</artifactId>
|
||||||
<artifactId>maven-resources-plugin</artifactId>
|
<executions>
|
||||||
<version>3.1.0</version>
|
<execution>
|
||||||
<executions>
|
<id>copy-licenses</id>
|
||||||
<execution>
|
<phase>process-resources</phase>
|
||||||
<id>copy-licenses</id>
|
<goals>
|
||||||
<phase>process-resources</phase>
|
<goal>copy-resources</goal>
|
||||||
<goals>
|
</goals>
|
||||||
<goal>copy-resources</goal>
|
<configuration>
|
||||||
</goals>
|
<resources>
|
||||||
<configuration>
|
<resource>
|
||||||
<resources>
|
<!-- Extract licenses directory -->
|
||||||
<resource>
|
<directory>../distribution/src/main/resources/licenses</directory>
|
||||||
<!-- Extract licenses directory -->
|
<filtering>false</filtering>
|
||||||
<directory>../distribution/src/main/resources/licenses</directory>
|
</resource>
|
||||||
<filtering>false</filtering>
|
</resources>
|
||||||
</resource>
|
<outputDirectory>${project.build.directory}/licenses</outputDirectory>
|
||||||
</resources>
|
</configuration>
|
||||||
<outputDirectory>${project.build.directory}/licenses</outputDirectory>
|
</execution>
|
||||||
</configuration>
|
</executions>
|
||||||
</execution>
|
</plugin>
|
||||||
</executions>
|
<plugin>
|
||||||
</plugin>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<plugin>
|
<artifactId>maven-dependency-plugin</artifactId>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<executions>
|
||||||
<artifactId>maven-dependency-plugin</artifactId>
|
<execution>
|
||||||
<version>3.1.2</version>
|
<id>unpack-war-files</id>
|
||||||
<executions>
|
<phase>process-resources</phase>
|
||||||
<execution>
|
<goals>
|
||||||
<id>unpack-war-files</id>
|
<goal>unpack</goal>
|
||||||
<phase>process-resources</phase>
|
</goals>
|
||||||
<goals>
|
<configuration>
|
||||||
<goal>unpack</goal>
|
<artifactItems>
|
||||||
</goals>
|
<!-- <artifactItem>-->
|
||||||
<configuration>
|
<!-- <groupId>org.alfresco</groupId>-->
|
||||||
<artifactItems>
|
<!-- <artifactId>content-services-community</artifactId>-->
|
||||||
<!-- <artifactItem>-->
|
<!-- <type>war</type>-->
|
||||||
<!-- <groupId>org.alfresco</groupId>-->
|
<!-- <overWrite>false</overWrite>-->
|
||||||
<!-- <artifactId>content-services-community</artifactId>-->
|
<!-- <outputDirectory>${project.build.directory}/war/alfresco</outputDirectory>-->
|
||||||
<!-- <type>war</type>-->
|
<!-- </artifactItem>-->
|
||||||
<!-- <overWrite>false</overWrite>-->
|
<artifactItem>
|
||||||
<!-- <outputDirectory>${project.build.directory}/war/alfresco</outputDirectory>-->
|
<groupId>org.alfresco</groupId>
|
||||||
<!-- </artifactItem>-->
|
<artifactId>api-explorer</artifactId>
|
||||||
<artifactItem>
|
<version>${dependency.alfresco-api-explorer.version}</version>
|
||||||
<groupId>org.alfresco</groupId>
|
<type>war</type>
|
||||||
<artifactId>api-explorer</artifactId>
|
<outputDirectory>${project.build.directory}/war/api-explorer</outputDirectory>
|
||||||
<version>${dependency.alfresco-api-explorer.version}</version>
|
</artifactItem>
|
||||||
<type>war</type>
|
<!-- <artifactItem>-->
|
||||||
<outputDirectory>${project.build.directory}/war/api-explorer</outputDirectory>
|
<!-- <groupId>org.alfresco</groupId>-->
|
||||||
</artifactItem>
|
<!-- <artifactId>alfresco-server-root</artifactId>-->
|
||||||
<!-- <artifactItem>-->
|
<!-- <version>${dependency.alfresco-server-root.version}</version>-->
|
||||||
<!-- <groupId>org.alfresco</groupId>-->
|
<!-- <type>war</type>-->
|
||||||
<!-- <artifactId>alfresco-server-root</artifactId>-->
|
<!-- <outputDirectory>${project.build.directory}/war/ROOT</outputDirectory>-->
|
||||||
<!-- <version>${dependency.alfresco-server-root.version}</version>-->
|
<!-- </artifactItem>-->
|
||||||
<!-- <type>war</type>-->
|
<!-- <artifactItem>-->
|
||||||
<!-- <outputDirectory>${project.build.directory}/war/ROOT</outputDirectory>-->
|
<!-- <groupId>org.alfresco.aos-module</groupId>-->
|
||||||
<!-- </artifactItem>-->
|
<!-- <artifactId>alfresco-vti-bin</artifactId>-->
|
||||||
<!-- <artifactItem>-->
|
<!-- <type>war</type>-->
|
||||||
<!-- <groupId>org.alfresco.aos-module</groupId>-->
|
<!-- <outputDirectory>${project.build.directory}/war/_vti_bin</outputDirectory>-->
|
||||||
<!-- <artifactId>alfresco-vti-bin</artifactId>-->
|
<!-- </artifactItem>-->
|
||||||
<!-- <type>war</type>-->
|
</artifactItems>
|
||||||
<!-- <outputDirectory>${project.build.directory}/war/_vti_bin</outputDirectory>-->
|
</configuration>
|
||||||
<!-- </artifactItem>-->
|
</execution>
|
||||||
</artifactItems>
|
<!-- <execution>-->
|
||||||
</configuration>
|
<!-- <id>copy-jdbc-connectors</id>-->
|
||||||
</execution>
|
<!-- <phase>process-resources</phase>-->
|
||||||
<!-- <execution>-->
|
<!-- <goals>-->
|
||||||
<!-- <id>copy-jdbc-connectors</id>-->
|
<!-- <goal>copy</goal>-->
|
||||||
<!-- <phase>process-resources</phase>-->
|
<!-- </goals>-->
|
||||||
<!-- <goals>-->
|
<!-- <configuration>-->
|
||||||
<!-- <goal>copy</goal>-->
|
<!-- <artifactItems>-->
|
||||||
<!-- </goals>-->
|
<!-- <artifactItem>-->
|
||||||
<!-- <configuration>-->
|
<!-- <groupId>org.postgresql</groupId>-->
|
||||||
<!-- <artifactItems>-->
|
<!-- <artifactId>postgresql</artifactId>-->
|
||||||
<!-- <artifactItem>-->
|
<!-- <version>${dependency.postgresql.version}</version>-->
|
||||||
<!-- <groupId>org.postgresql</groupId>-->
|
<!-- <type>jar</type>-->
|
||||||
<!-- <artifactId>postgresql</artifactId>-->
|
<!-- <overWrite>false</overWrite>-->
|
||||||
<!-- <version>${dependency.postgresql.version}</version>-->
|
<!-- <outputDirectory>${project.build.directory}/connector</outputDirectory>-->
|
||||||
<!-- <type>jar</type>-->
|
<!-- </artifactItem>-->
|
||||||
<!-- <overWrite>false</overWrite>-->
|
<!-- <artifactItem>-->
|
||||||
<!-- <outputDirectory>${project.build.directory}/connector</outputDirectory>-->
|
<!-- <groupId>org.alfresco</groupId>-->
|
||||||
<!-- </artifactItem>-->
|
<!-- <artifactId>alfresco-mmt</artifactId>-->
|
||||||
<!-- <artifactItem>-->
|
<!-- <version>${dependency.alfresco-mmt.version}</version>-->
|
||||||
<!-- <groupId>org.alfresco</groupId>-->
|
<!-- <type>jar</type>-->
|
||||||
<!-- <artifactId>alfresco-mmt</artifactId>-->
|
<!-- <overWrite>false</overWrite>-->
|
||||||
<!-- <version>${dependency.alfresco-mmt.version}</version>-->
|
<!-- <outputDirectory>${project.build.directory}/alfresco-mmt</outputDirectory>-->
|
||||||
<!-- <type>jar</type>-->
|
<!-- </artifactItem>-->
|
||||||
<!-- <overWrite>false</overWrite>-->
|
<!-- </artifactItems>-->
|
||||||
<!-- <outputDirectory>${project.build.directory}/alfresco-mmt</outputDirectory>-->
|
<!-- </configuration>-->
|
||||||
<!-- </artifactItem>-->
|
<!-- </execution>-->
|
||||||
<!-- </artifactItems>-->
|
|
||||||
<!-- </configuration>-->
|
<execution>
|
||||||
<!-- </execution>-->
|
<id>copy-amps</id>
|
||||||
|
<phase>process-resources</phase>
|
||||||
<execution>
|
<goals>
|
||||||
<id>copy-amps</id>
|
<goal>copy</goal>
|
||||||
<phase>process-resources</phase>
|
</goals>
|
||||||
<goals>
|
<configuration>
|
||||||
<goal>copy</goal>
|
<artifactItems>
|
||||||
</goals>
|
<artifactItem>
|
||||||
<configuration>
|
<groupId>org.alfresco</groupId>
|
||||||
<artifactItems>
|
<artifactId>alfresco-share-services</artifactId>
|
||||||
<artifactItem>
|
<version>${alfresco.alfresco-share-services.version}</version>
|
||||||
<groupId>org.alfresco</groupId>
|
<type>amp</type>
|
||||||
<artifactId>alfresco-share-services</artifactId>
|
<overWrite>false</overWrite>
|
||||||
<version>${alfresco.alfresco-share-services.version}</version>
|
<outputDirectory>${project.build.directory}/amps</outputDirectory>
|
||||||
<type>amp</type>
|
</artifactItem>
|
||||||
<overWrite>false</overWrite>
|
<!-- <artifactItem>-->
|
||||||
<outputDirectory>${project.build.directory}/amps</outputDirectory>
|
<!-- <groupId>org.alfresco.aos-module</groupId>-->
|
||||||
</artifactItem>
|
<!-- <artifactId>alfresco-aos-module</artifactId>-->
|
||||||
<!-- <artifactItem>-->
|
<!-- <type>amp</type>-->
|
||||||
<!-- <groupId>org.alfresco.aos-module</groupId>-->
|
<!-- <overWrite>false</overWrite>-->
|
||||||
<!-- <artifactId>alfresco-aos-module</artifactId>-->
|
<!-- <outputDirectory>${project.build.directory}/amps</outputDirectory>-->
|
||||||
<!-- <type>amp</type>-->
|
<!-- </artifactItem>-->
|
||||||
<!-- <overWrite>false</overWrite>-->
|
<!-- <artifactItem>-->
|
||||||
<!-- <outputDirectory>${project.build.directory}/amps</outputDirectory>-->
|
<!-- <groupId>org.alfresco.integrations</groupId>-->
|
||||||
<!-- </artifactItem>-->
|
<!-- <artifactId>alfresco-googledrive-repo-community</artifactId>-->
|
||||||
<!-- <artifactItem>-->
|
<!-- <type>amp</type>-->
|
||||||
<!-- <groupId>org.alfresco.integrations</groupId>-->
|
<!-- <overWrite>false</overWrite>-->
|
||||||
<!-- <artifactId>alfresco-googledrive-repo-community</artifactId>-->
|
<!-- <outputDirectory>${project.build.directory}/amps</outputDirectory>-->
|
||||||
<!-- <type>amp</type>-->
|
<!-- </artifactItem>-->
|
||||||
<!-- <overWrite>false</overWrite>-->
|
</artifactItems>
|
||||||
<!-- <outputDirectory>${project.build.directory}/amps</outputDirectory>-->
|
</configuration>
|
||||||
<!-- </artifactItem>-->
|
</execution>
|
||||||
</artifactItems>
|
</executions>
|
||||||
</configuration>
|
</plugin>
|
||||||
</execution>
|
</plugins>
|
||||||
</executions>
|
</build>
|
||||||
</plugin>
|
|
||||||
|
<profiles>
|
||||||
<plugin>
|
<profile>
|
||||||
<groupId>io.fabric8</groupId>
|
<id>communityDocker</id>
|
||||||
<artifactId>fabric8-maven-plugin</artifactId>
|
<!-- builds "image:latest" locally -->
|
||||||
<version>${dependency.fabric8.version}</version>
|
<build>
|
||||||
<configuration>
|
<plugins>
|
||||||
<images>
|
<plugin>
|
||||||
<image>
|
<groupId>io.fabric8</groupId>
|
||||||
<name>${image.name}</name>
|
<artifactId>fabric8-maven-plugin</artifactId>
|
||||||
<build>
|
<configuration>
|
||||||
<dockerFileDir>${project.basedir}/</dockerFileDir>
|
<images>
|
||||||
</build>
|
<image>
|
||||||
</image>
|
<name>${image.name}:${image.tag}</name>
|
||||||
</images>
|
<build>
|
||||||
</configuration>
|
<dockerFileDir>${project.basedir}/</dockerFileDir>
|
||||||
</plugin>
|
<buildOptions>
|
||||||
</plugins>
|
<squash>true</squash>
|
||||||
</build>
|
</buildOptions>
|
||||||
|
</build>
|
||||||
<profiles>
|
</image>
|
||||||
<profile>
|
</images>
|
||||||
<id>communityDocker</id>
|
</configuration>
|
||||||
<build>
|
<executions>
|
||||||
<plugins>
|
<execution>
|
||||||
<plugin>
|
<id>build-image</id>
|
||||||
<groupId>io.fabric8</groupId>
|
<phase>install</phase>
|
||||||
<artifactId>fabric8-maven-plugin</artifactId>
|
<goals>
|
||||||
<version>${dependency.fabric8.version}</version>
|
<goal>build</goal>
|
||||||
<executions>
|
</goals>
|
||||||
<execution>
|
</execution>
|
||||||
<id>build-image</id>
|
</executions>
|
||||||
<phase>install</phase>
|
</plugin>
|
||||||
<goals>
|
</plugins>
|
||||||
<goal>build</goal>
|
</build>
|
||||||
</goals>
|
</profile>
|
||||||
</execution>
|
|
||||||
</executions>
|
<profile>
|
||||||
</plugin>
|
<id>internal</id>
|
||||||
</plugins>
|
<!-- publishes "image:latest" on Quay & DockerHub -->
|
||||||
</build>
|
<build>
|
||||||
</profile>
|
<plugins>
|
||||||
|
<plugin>
|
||||||
<profile>
|
<groupId>io.fabric8</groupId>
|
||||||
<id>internal</id>
|
<artifactId>fabric8-maven-plugin</artifactId>
|
||||||
<build>
|
<configuration>
|
||||||
<plugins>
|
<images>
|
||||||
<plugin>
|
<!-- Quay image -->
|
||||||
<groupId>io.fabric8</groupId>
|
<image>
|
||||||
<artifactId>fabric8-maven-plugin</artifactId>
|
<name>${image.name}:${image.tag}</name>
|
||||||
<version>${dependency.fabric8.version}</version>
|
<registry>${image.registry}</registry>
|
||||||
<configuration>
|
<build>
|
||||||
<images>
|
<dockerFileDir>${project.basedir}/</dockerFileDir>
|
||||||
<image>
|
<buildOptions>
|
||||||
<name>${image.name}:${image.tag}</name>
|
<squash>true</squash>
|
||||||
<registry>${image.registry}</registry>
|
</buildOptions>
|
||||||
<build>
|
</build>
|
||||||
<dockerFileDir>${project.basedir}/</dockerFileDir>
|
</image>
|
||||||
</build>
|
<!-- DockerHub image -->
|
||||||
</image>
|
<image>
|
||||||
</images>
|
<name>${image.name}:${image.tag}</name>
|
||||||
</configuration>
|
<build>
|
||||||
<executions>
|
<dockerFileDir>${project.basedir}/</dockerFileDir>
|
||||||
<execution>
|
<buildOptions>
|
||||||
<id>build-push-image</id>
|
<squash>true</squash>
|
||||||
<phase>install</phase>
|
</buildOptions>
|
||||||
<goals>
|
</build>
|
||||||
<goal>build</goal>
|
</image>
|
||||||
<goal>push</goal>
|
</images>
|
||||||
</goals>
|
</configuration>
|
||||||
</execution>
|
<executions>
|
||||||
</executions>
|
<execution>
|
||||||
</plugin>
|
<id>build-push-image</id>
|
||||||
</plugins>
|
<phase>install</phase>
|
||||||
</build>
|
<goals>
|
||||||
</profile>
|
<goal>build</goal>
|
||||||
|
<goal>push</goal>
|
||||||
<profile>
|
</goals>
|
||||||
<id>master</id>
|
</execution>
|
||||||
<build>
|
</executions>
|
||||||
<plugins>
|
</plugin>
|
||||||
<plugin>
|
</plugins>
|
||||||
<groupId>io.fabric8</groupId>
|
</build>
|
||||||
<artifactId>fabric8-maven-plugin</artifactId>
|
</profile>
|
||||||
<version>${dependency.fabric8.version}</version>
|
|
||||||
<configuration>
|
<profile>
|
||||||
<images>
|
<id>release</id>
|
||||||
<image>
|
<!-- publishes "image:release_version" on Quay & DockerHub -->
|
||||||
<name>${image.name}</name>
|
<build>
|
||||||
<registry>${image.registry}</registry>
|
<plugins>
|
||||||
<build>
|
<plugin>
|
||||||
<dockerFileDir>${project.basedir}/</dockerFileDir>
|
<groupId>io.fabric8</groupId>
|
||||||
</build>
|
<artifactId>fabric8-maven-plugin</artifactId>
|
||||||
</image>
|
<configuration combine.self="override">
|
||||||
<image>
|
<images>
|
||||||
<name>${image.name}</name>
|
<!-- Quay image -->
|
||||||
<build>
|
<image>
|
||||||
<dockerFileDir>${project.basedir}/</dockerFileDir>
|
<name>${image.name}:${project.version}</name>
|
||||||
</build>
|
<registry>${image.registry}</registry>
|
||||||
</image>
|
<build>
|
||||||
</images>
|
<dockerFileDir>${project.basedir}/</dockerFileDir>
|
||||||
</configuration>
|
<buildOptions>
|
||||||
<executions>
|
<squash>true</squash>
|
||||||
<execution>
|
</buildOptions>
|
||||||
<id>build-push-image</id>
|
</build>
|
||||||
<phase>install</phase>
|
</image>
|
||||||
<goals>
|
<!-- DockerHub image -->
|
||||||
<goal>build</goal>
|
<image>
|
||||||
<goal>push</goal>
|
<name>${image.name}:${project.version}</name>
|
||||||
</goals>
|
<build>
|
||||||
</execution>
|
<dockerFileDir>${project.basedir}/</dockerFileDir>
|
||||||
</executions>
|
<buildOptions>
|
||||||
</plugin>
|
<squash>true</squash>
|
||||||
</plugins>
|
</buildOptions>
|
||||||
</build>
|
</build>
|
||||||
</profile>
|
</image>
|
||||||
|
</images>
|
||||||
<profile>
|
</configuration>
|
||||||
<id>release</id>
|
<executions>
|
||||||
<build>
|
<execution>
|
||||||
<plugins>
|
<id>build-push-image</id>
|
||||||
<plugin>
|
<phase>deploy</phase>
|
||||||
<groupId>io.fabric8</groupId>
|
<goals>
|
||||||
<artifactId>fabric8-maven-plugin</artifactId>
|
<goal>build</goal>
|
||||||
<version>${dependency.fabric8.version}</version>
|
<goal>push</goal>
|
||||||
<configuration>
|
</goals>
|
||||||
<images>
|
</execution>
|
||||||
<image>
|
</executions>
|
||||||
<alias>quay.io</alias>
|
</plugin>
|
||||||
<name>${image.name}:${project.version}</name>
|
</plugins>
|
||||||
<registry>${image.registry}</registry>
|
</build>
|
||||||
<build>
|
</profile>
|
||||||
<dockerFileDir>${project.basedir}/</dockerFileDir>
|
</profiles>
|
||||||
</build>
|
</project>
|
||||||
</image>
|
|
||||||
<image>
|
|
||||||
<alias>dockerhub</alias>
|
|
||||||
<name>${image.name}:${project.version}</name>
|
|
||||||
<build>
|
|
||||||
<dockerFileDir>${project.basedir}/</dockerFileDir>
|
|
||||||
</build>
|
|
||||||
</image>
|
|
||||||
</images>
|
|
||||||
</configuration>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<id>build-push-image</id>
|
|
||||||
<phase>deploy</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>build</goal>
|
|
||||||
<goal>push</goal>
|
|
||||||
</goals>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin>
|
|
||||||
</plugins>
|
|
||||||
</build>
|
|
||||||
</profile>
|
|
||||||
</profiles>
|
|
||||||
</project>
|
|
||||||
|
237
pom.xml
237
pom.xml
@@ -1,114 +1,123 @@
|
|||||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<artifactId>acs-community-packaging</artifactId>
|
<artifactId>acs-community-packaging</artifactId>
|
||||||
<name>Alfresco Content Services Community Packaging</name>
|
<name>Alfresco Content Services Community Packaging</name>
|
||||||
<version>7.0.0-SNAPSHOT</version>
|
<version>7.0.0-TEST3-SNAPSHOT</version>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
|
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>org.alfresco</groupId>
|
<groupId>org.alfresco</groupId>
|
||||||
<artifactId>alfresco-community-repo</artifactId>
|
<artifactId>alfresco-community-repo</artifactId>
|
||||||
<relativePath>../alfresco-community-repo/pom.xml</relativePath>
|
<relativePath>../alfresco-community-repo/pom.xml</relativePath>
|
||||||
<version>8.300-SNAPSHOT</version>
|
<version>8.300-TEST1-SNAPSHOT</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<scm>
|
<scm>
|
||||||
<connection>scm:git:https://github.com/Alfresco/acs-community-packaging.git</connection>
|
<connection>scm:git:https://github.com/Alfresco/acs-community-packaging.git</connection>
|
||||||
<developerConnection>scm:git:https://github.com/Alfresco/acs-community-packaging.git</developerConnection>
|
<developerConnection>scm:git:https://github.com/Alfresco/acs-community-packaging.git</developerConnection>
|
||||||
<url>https://github.com/Alfresco/acs-community-packaging</url>
|
<url>https://github.com/Alfresco/acs-community-packaging</url>
|
||||||
<tag>HEAD</tag>
|
<tag>HEAD</tag>
|
||||||
</scm>
|
</scm>
|
||||||
|
|
||||||
<distributionManagement>
|
<distributionManagement>
|
||||||
<repository>
|
<repository>
|
||||||
<id>alfresco-internal</id>
|
<id>alfresco-internal</id>
|
||||||
<url>https://artifacts.alfresco.com/nexus/content/repositories/releases</url>
|
<url>https://artifacts.alfresco.com/nexus/content/repositories/releases</url>
|
||||||
</repository>
|
</repository>
|
||||||
<snapshotRepository>
|
<snapshotRepository>
|
||||||
<id>alfresco-internal-snapshots</id>
|
<id>alfresco-internal-snapshots</id>
|
||||||
<url>https://artifacts.alfresco.com/nexus/content/repositories/snapshots</url>
|
<url>https://artifacts.alfresco.com/nexus/content/repositories/snapshots</url>
|
||||||
</snapshotRepository>
|
</snapshotRepository>
|
||||||
</distributionManagement>
|
</distributionManagement>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<dependency.alfresco-community-repo.version>8.300-SNAPSHOT</dependency.alfresco-community-repo.version>
|
<dependency.alfresco-community-repo.version>8.300-TEST1-SNAPSHOT</dependency.alfresco-community-repo.version>
|
||||||
|
|
||||||
<!-- Set to "Community Early Access" to add to the version.edition property in version.properties -->
|
<!-- Set to "Community Early Access" to add to the version.edition property in version.properties -->
|
||||||
<version.edition>Community</version.edition>
|
<version.edition>Community</version.edition>
|
||||||
<image.tag>latest</image.tag>
|
<image.tag>latest</image.tag>
|
||||||
|
<image.registry>quay.io</image.registry>
|
||||||
<alfresco.share.version>6.2.2</alfresco.share.version>
|
|
||||||
<alfresco.alfresco-share-services.version>6.2.2</alfresco.alfresco-share-services.version>
|
<upstream.image.tag>${dependency.alfresco-community-repo.version}</upstream.image.tag>
|
||||||
<dependency.alfresco-api-explorer.version>7.0.0-A1</dependency.alfresco-api-explorer.version>
|
|
||||||
|
<alfresco.share.version>6.2.2</alfresco.share.version>
|
||||||
<installer.version.name>${project.version}</installer.version.name>
|
<alfresco.alfresco-share-services.version>6.2.2</alfresco.alfresco-share-services.version>
|
||||||
<alfresco.package.name>alfresco-community</alfresco.package.name>
|
<dependency.alfresco-api-explorer.version>7.0.0-A1</dependency.alfresco-api-explorer.version>
|
||||||
<alfresco.distribution.name>${alfresco.package.name}-distribution</alfresco.distribution.name>
|
|
||||||
</properties>
|
<installer.version.name>${project.version}</installer.version.name>
|
||||||
|
<alfresco.package.name>alfresco-community</alfresco.package.name>
|
||||||
<profiles>
|
<alfresco.distribution.name>${alfresco.package.name}-distribution</alfresco.distribution.name>
|
||||||
<profile>
|
</properties>
|
||||||
<id>communityDocker</id>
|
|
||||||
<modules>
|
<profiles>
|
||||||
<module>docker-alfresco</module>
|
<profile>
|
||||||
</modules>
|
<id>fullBuild</id>
|
||||||
</profile>
|
<activation>
|
||||||
<profile>
|
<activeByDefault>true</activeByDefault>
|
||||||
<id>fullBuild</id>
|
</activation>
|
||||||
<activation>
|
<modules>
|
||||||
<activeByDefault>true</activeByDefault>
|
<module>distribution</module>
|
||||||
</activation>
|
<module>public-javadoc</module>
|
||||||
<modules>
|
<module>docker-alfresco</module>
|
||||||
<module>distribution</module>
|
</modules>
|
||||||
<module>public-javadoc</module>
|
</profile>
|
||||||
<module>docker-alfresco</module>
|
<profile>
|
||||||
</modules>
|
<id>communityDocker</id>
|
||||||
</profile>
|
<modules>
|
||||||
<profile>
|
<module>docker-alfresco</module>
|
||||||
<id>all-tas-tests</id>
|
</modules>
|
||||||
<modules>
|
</profile>
|
||||||
<module>tests</module>
|
<profile>
|
||||||
</modules>
|
<id>internal</id>
|
||||||
</profile>
|
<modules>
|
||||||
</profiles>
|
<module>docker-alfresco</module>
|
||||||
|
</modules>
|
||||||
<dependencyManagement>
|
</profile>
|
||||||
<dependencies>
|
<profile>
|
||||||
<dependency>
|
<id>all-tas-tests</id>
|
||||||
<groupId>org.alfresco</groupId>
|
<modules>
|
||||||
<artifactId>alfresco-content-services-share-distribution</artifactId>
|
<module>tests</module>
|
||||||
<version>${alfresco.share.version}</version>
|
</modules>
|
||||||
<type>zip</type>
|
</profile>
|
||||||
</dependency>
|
</profiles>
|
||||||
<dependency>
|
|
||||||
<groupId>org.alfresco</groupId>
|
<dependencyManagement>
|
||||||
<artifactId>alfresco-share-services</artifactId>
|
<dependencies>
|
||||||
<version>${alfresco.alfresco-share-services.version}</version>
|
<dependency>
|
||||||
<type>amp</type>
|
<groupId>org.alfresco</groupId>
|
||||||
</dependency>
|
<artifactId>alfresco-content-services-share-distribution</artifactId>
|
||||||
<dependency>
|
<version>${alfresco.share.version}</version>
|
||||||
<groupId>org.alfresco</groupId>
|
<type>zip</type>
|
||||||
<artifactId>share</artifactId>
|
</dependency>
|
||||||
<version>${alfresco.share.version}</version>
|
<dependency>
|
||||||
<type>war</type>
|
<groupId>org.alfresco</groupId>
|
||||||
</dependency>
|
<artifactId>alfresco-share-services</artifactId>
|
||||||
<dependency>
|
<version>${alfresco.alfresco-share-services.version}</version>
|
||||||
<groupId>org.alfresco</groupId>
|
<type>amp</type>
|
||||||
<artifactId>alfresco-wcmqs-distribution</artifactId>
|
</dependency>
|
||||||
<version>${alfresco.share.version}</version>
|
<dependency>
|
||||||
<type>zip</type>
|
<groupId>org.alfresco</groupId>
|
||||||
</dependency>
|
<artifactId>share</artifactId>
|
||||||
<dependency>
|
<version>${alfresco.share.version}</version>
|
||||||
<groupId>org.alfresco</groupId>
|
<type>war</type>
|
||||||
<artifactId>alfresco-wcmqs-web</artifactId>
|
</dependency>
|
||||||
<version>${alfresco.share.version}</version>
|
<dependency>
|
||||||
<classifier>classes</classifier>
|
<groupId>org.alfresco</groupId>
|
||||||
</dependency>
|
<artifactId>alfresco-wcmqs-distribution</artifactId>
|
||||||
<dependency>
|
<version>${alfresco.share.version}</version>
|
||||||
<groupId>org.alfresco</groupId>
|
<type>zip</type>
|
||||||
<artifactId>alfresco-wcmqs-client-api</artifactId>
|
</dependency>
|
||||||
<version>${alfresco.share.version}</version>
|
<dependency>
|
||||||
</dependency>
|
<groupId>org.alfresco</groupId>
|
||||||
</dependencies>
|
<artifactId>alfresco-wcmqs-web</artifactId>
|
||||||
</dependencyManagement>
|
<version>${alfresco.share.version}</version>
|
||||||
</project>
|
<classifier>classes</classifier>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.alfresco</groupId>
|
||||||
|
<artifactId>alfresco-wcmqs-client-api</artifactId>
|
||||||
|
<version>${alfresco.share.version}</version>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
</dependencyManagement>
|
||||||
|
</project>
|
||||||
|
@@ -5,7 +5,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.alfresco</groupId>
|
<groupId>org.alfresco</groupId>
|
||||||
<artifactId>acs-community-packaging</artifactId>
|
<artifactId>acs-community-packaging</artifactId>
|
||||||
<version>7.0.0-SNAPSHOT</version>
|
<version>7.0.0-TEST3-SNAPSHOT</version>
|
||||||
</parent>
|
</parent>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
|
|
||||||
|
34
scripts/travis/build.sh
Normal file
34
scripts/travis/build.sh
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -ev
|
||||||
|
pushd "$(dirname "${BASH_SOURCE[0]}")/../../"
|
||||||
|
|
||||||
|
source "$(dirname "${BASH_SOURCE[0]}")/build_functions.sh"
|
||||||
|
|
||||||
|
DEPENDENCY_VERSION="$(retrievePomProperty "dependency.alfresco-community-repo.version")"
|
||||||
|
|
||||||
|
# Either both the parent and the upstream dependency are the same, or else fail the build
|
||||||
|
if [ "${DEPENDENCY_VERSION}" != "$(retrievePomParentVersion)" ]; then
|
||||||
|
printf "Upstream dependency version (%s) is different then the project parent version!\n" "${DEPENDENCY_VERSION}"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Prevent merging of any SNAPSHOT dependencies into the master or the release/* branches
|
||||||
|
if [[ $(isPullRequestBuild) && "${DEPENDENCY_VERSION}" =~ ^.+-SNAPSHOT$ && "${TRAVIS_BRANCH}" =~ ^master$|^release/.+$ ]] ; then
|
||||||
|
printf "PRs with SNAPSHOT dependencies are not allowed into master or release branches\n"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
UPSTREAM_REPO="github.com/Alfresco/alfresco-community-repo.git"
|
||||||
|
# Search, checkout and build the same branch on the upstream project in case of SNAPSHOT dependencies
|
||||||
|
# Otherwise just checkout the upstream dependency sources
|
||||||
|
if [[ "${DEPENDENCY_VERSION}" =~ ^.+-SNAPSHOT$ ]] ; then
|
||||||
|
pullAndBuildSameBranchOnUpstream "${UPSTREAM_REPO}" "-PcommunityDocker"
|
||||||
|
else
|
||||||
|
pullUpstreamTag "${UPSTREAM_REPO}" "${DEPENDENCY_VERSION}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Build the current project
|
||||||
|
mvn -B -V -q install -DskipTests -Dmaven.javadoc.skip=true -PcommunityDocker \
|
||||||
|
$([[ "${DEPENDENCY_VERSION}" =~ ^.+-SNAPSHOT$ ]] && echo "-Dupstream.image.tag=latest")
|
||||||
|
|
||||||
|
|
104
scripts/travis/build_functions.sh
Normal file
104
scripts/travis/build_functions.sh
Normal file
@@ -0,0 +1,104 @@
|
|||||||
|
#!/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>/,/<\/parent>/p' pom.xml \
|
||||||
|
| sed -n '/<version>/,/<\/version>/p' \
|
||||||
|
| tr -d '\n' \
|
||||||
|
| grep -oP '(?<=<version>).*(?=</version>)' \
|
||||||
|
| xargs
|
||||||
|
|
||||||
|
popd >/dev/null
|
||||||
|
}
|
||||||
|
|
||||||
|
function retrievePomProperty() {
|
||||||
|
local KEY="${1}"
|
||||||
|
|
||||||
|
pushd "$(dirname "${BASH_SOURCE[0]}")/../../" >/dev/null
|
||||||
|
|
||||||
|
sed -n '/<properties>/,/<\/properties>/p' pom.xml \
|
||||||
|
| sed -n "/<${KEY}>/,/<\/${KEY}>/p" \
|
||||||
|
| tr -d '\n' \
|
||||||
|
| grep -oP "(?<=<${KEY}>).*(?=</${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
|
||||||
|
|
||||||
|
local SOURCE_BRANCH="${TRAVIS_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
|
||||||
|
# TODO remove this line and enable the previous "exit" commands:
|
||||||
|
local SOURCE_BRANCH="master"
|
||||||
|
|
||||||
|
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
|
||||||
|
}
|
||||||
|
|
19
scripts/travis/cleanup_cache.sh
Normal file
19
scripts/travis/cleanup_cache.sh
Normal file
@@ -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"
|
||||||
|
|
@@ -1,17 +1,24 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -ev
|
set -ev
|
||||||
|
|
||||||
if [ -z ${COMM_RELEASE_VERSION} ] || [ -z ${RELEASE_VERSION} ];
|
#
|
||||||
then
|
# Copy from S3 Release bucket to S3 eu.dl bucket
|
||||||
echo "Please provide a COMM_RELEASE_VERSION and RELEASE_VERSION in the format <acs-version>-<additional-info> (6.3.0-EA or 6.3.0-SNAPSHOT)"
|
#
|
||||||
exit -1
|
|
||||||
|
if [ -z "${RELEASE_VERSION}" ]; then
|
||||||
|
echo "Please provide a RELEASE_VERSION in the format <acs-version>-<additional-info> (6.3.0-EA or 6.3.0-SNAPSHOT)"
|
||||||
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
build_number=$1
|
SOURCE="s3://alfresco-artefacts-staging/alfresco-content-services-community/release/${TRAVIS_BRANCH}/${TRAVIS_BUILD_NUMBER}"
|
||||||
branch_name=$2
|
DESTINATION="s3://eu.dl.alfresco.com/release/community/${RELEASE_VERSION}-build-${TRAVIS_BUILD_NUMBER}"
|
||||||
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
|
printf "\n%s\n%s\n" "${SOURCE}" "${DESTINATION}"
|
||||||
aws s3 cp --acl private $SOURCE/alfresco-content-services-community-distribution-$RELEASE_VERSION.zip $DESTINATION/alfresco-content-services-community-distribution-$RELEASE_VERSION.zip
|
|
||||||
|
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"
|
18
scripts/travis/init.sh
Normal file
18
scripts/travis/init.sh
Normal file
@@ -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' ')
|
||||||
|
|
@@ -1,31 +1,26 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -e
|
set -ev
|
||||||
|
|
||||||
releaseVersion=$1
|
RELEASE_VERSION=${1}
|
||||||
developmentVersion=$2
|
DEVELOPMENT_VERSION=${2}
|
||||||
scm_path=$(mvn help:evaluate -Dexpression=project.scm.url -q -DforceStdout)
|
|
||||||
|
if [ -z "${RELEASE_VERSION}" ] || [ -z "${DEVELOPMENT_VERSION}" ]; then
|
||||||
|
echo "Please provide a Release and Development version in the format <acs-version>-<additional-info> (6.3.0-EA or 6.3.0-SNAPSHOT)"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
# Use full history for release
|
# Use full history for release
|
||||||
git checkout -B "${TRAVIS_BRANCH}"
|
git checkout -B "${TRAVIS_BRANCH}"
|
||||||
# Add email to link commits to user
|
# Add email to link commits to user
|
||||||
git config user.email "${GIT_EMAIL}"
|
git config user.email "${GIT_EMAIL}"
|
||||||
|
|
||||||
if [ -z ${releaseVersion} ] || [ -z ${developmentVersion} ];
|
mvn -B \
|
||||||
then echo "Please provide a Release and Development verison in the format <acs-version>-<additional-info> (6.3.0-EA or 6.3.0-SNAPSHOT)"
|
-Prelease,fullBuild,all-tas-tests \
|
||||||
exit -1
|
-DreleaseVersion="${RELEASE_VERSION}" \
|
||||||
else
|
-DdevelopmentVersion="${DEVELOPMENT_VERSION}" \
|
||||||
mvn --batch-mode \
|
"-Darguments=-Prelease,fullBuild,all-tas-tests -DskipTests -Dbuild-number=${TRAVIS_BUILD_NUMBER}" \
|
||||||
-PfullBuild,all-tas-tests \
|
release:clean release:prepare release:perform \
|
||||||
-Dusername="${GIT_USERNAME}" \
|
-DscmCommentPrefix="[maven-release-plugin][skip ci] " \
|
||||||
-Dpassword="${GIT_PASSWORD}" \
|
-Dusername="${GIT_USERNAME}" \
|
||||||
-DreleaseVersion=${releaseVersion} \
|
-Dpassword="${GIT_PASSWORD}"
|
||||||
-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
|
|
||||||
|
@@ -1,31 +1,38 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -e
|
set -ev
|
||||||
|
|
||||||
if [ -v ${RELEASE_VERSION} ]||[ -z ${RELEASE_VERSION} ]; then
|
#
|
||||||
echo "Please provide a RELEASE_VERSION in the format <acs-version>-<additional-info> (6.3.0-EA or 6.3.0-SNAPSHOT)"
|
# Check that the version to be released does not already have a docker tag.
|
||||||
exit -1
|
#
|
||||||
|
|
||||||
|
if [ -z "${RELEASE_VERSION}" ]; then
|
||||||
|
echo "Please provide a RELEASE_VERSION in the format <acs-version>-<additional-info> (6.3.0-EA or 6.3.0-SNAPSHOT)"
|
||||||
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# get the image name from the pom file
|
# get the image name from the pom file
|
||||||
alfresco_docker_image=$(mvn help:evaluate -f ./docker-alfresco/pom.xml -Dexpression=image.name -q -DforceStdout)
|
ALFRESCO_DOCKER_IMAGE="$(mvn -B -q help:evaluate -f ./docker-alfresco/pom.xml -Dexpression=image.name -DforceStdout)"
|
||||||
docker_image_full_name="$alfresco_docker_image:$RELEASE_VERSION"
|
DOCKER_IMAGE_FULL_NAME="${ALFRESCO_DOCKER_IMAGE}:${RELEASE_VERSION}"
|
||||||
|
|
||||||
function docker_image_exists() {
|
function docker_image_exists() {
|
||||||
local image_full_name="$1"; shift
|
local IMAGE_FULL_NAME="${1}"; shift
|
||||||
local wait_time="${1:-5}"
|
local WAIT_TIME="${1:-5}"
|
||||||
local search_term='Pulling|is up to date|not found'
|
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")"
|
echo "Looking to see if ${IMAGE_FULL_NAME} already exists..."
|
||||||
test "$result" || { echo "Timed out too soon. Try using a wait_time greater than $wait_time..."; return 1 ;}
|
local RESULT=$( (timeout --preserve-status "${WAIT_TIME}" docker 2>&1 pull "${IMAGE_FULL_NAME}" &) | grep -v 'Pulling repository' | grep -E -o "${SEARCH_TERM}")
|
||||||
if echo $result | grep -vq 'not found'; then
|
|
||||||
true
|
test "${RESULT}" || { echo "Timed out too soon. Try using a wait_time greater than ${WAIT_TIME}..."; return 1 ;}
|
||||||
else
|
if echo "${RESULT}" | grep -vq 'not found'; then
|
||||||
false
|
true
|
||||||
fi
|
else
|
||||||
|
false
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
if docker_image_exists $docker_image_full_name; then
|
if docker_image_exists "${DOCKER_IMAGE_FULL_NAME}" ; then
|
||||||
echo "Tag $RELEASE_VERSION already pushed, release process will interrupt."
|
echo "Tag ${RELEASE_VERSION} already pushed, release process will interrupt."
|
||||||
exit -1
|
exit 1
|
||||||
else
|
else
|
||||||
echo "The $RELEASE_VERSION tag was not found"
|
echo "The ${RELEASE_VERSION} tag was not found"
|
||||||
fi
|
fi
|
||||||
|
@@ -1,24 +1,24 @@
|
|||||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<artifactId>content-repository-community-tests</artifactId>
|
<artifactId>content-repository-community-tests</artifactId>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
|
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>org.alfresco</groupId>
|
<groupId>org.alfresco</groupId>
|
||||||
<artifactId>acs-community-packaging</artifactId>
|
<artifactId>acs-community-packaging</artifactId>
|
||||||
<version>7.0.0-SNAPSHOT</version>
|
<version>7.0.0-TEST3-SNAPSHOT</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<modules>
|
<modules>
|
||||||
<module>tas-restapi</module>
|
<module>tas-restapi</module>
|
||||||
<module>tas-cmis</module>
|
<module>tas-cmis</module>
|
||||||
<module>tas-email</module>
|
<module>tas-email</module>
|
||||||
<module>tas-webdav</module>
|
<module>tas-webdav</module>
|
||||||
<module>tas-integration</module>
|
<module>tas-integration</module>
|
||||||
</modules>
|
</modules>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<!-- TAS tests require an old version -->
|
<!-- TAS tests require an old version -->
|
||||||
<dependency.org-json.version>20170516</dependency.org-json.version>
|
<dependency.org-json.version>20170516</dependency.org-json.version>
|
||||||
</properties>
|
</properties>
|
||||||
</project>
|
</project>
|
@@ -1,70 +1,70 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>org.alfresco.tas</groupId>
|
<groupId>org.alfresco.tas</groupId>
|
||||||
<artifactId>content-repository-community-cmis-test</artifactId>
|
<artifactId>content-repository-community-cmis-test</artifactId>
|
||||||
<name>content-repository-community-cmis-test</name>
|
<name>content-repository-community-cmis-test</name>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>org.alfresco</groupId>
|
<groupId>org.alfresco</groupId>
|
||||||
<artifactId>content-repository-community-tests</artifactId>
|
<artifactId>content-repository-community-tests</artifactId>
|
||||||
<version>7.0.0-SNAPSHOT</version>
|
<version>7.0.0-TEST3-SNAPSHOT</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<developers>
|
<developers>
|
||||||
<developer>
|
<developer>
|
||||||
<name>Paul Brodner</name>
|
<name>Paul Brodner</name>
|
||||||
<roles>
|
<roles>
|
||||||
<role>Test Automation Architect</role>
|
<role>Test Automation Architect</role>
|
||||||
</roles>
|
</roles>
|
||||||
</developer>
|
</developer>
|
||||||
</developers>
|
</developers>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<suiteXmlFile>${project.basedir}/src/test/resources/cmis-suite.xml</suiteXmlFile>
|
<suiteXmlFile>${project.basedir}/src/test/resources/cmis-suite.xml</suiteXmlFile>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.alfresco.tas</groupId>
|
<groupId>org.alfresco.tas</groupId>
|
||||||
<artifactId>alfresco-community-repo-cmis-test</artifactId>
|
<artifactId>alfresco-community-repo-cmis-test</artifactId>
|
||||||
<classifier>tests</classifier>
|
<classifier>tests</classifier>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.alfresco.tas</groupId>
|
<groupId>org.alfresco.tas</groupId>
|
||||||
<artifactId>cmis</artifactId>
|
<artifactId>cmis</artifactId>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-surefire-plugin</artifactId>
|
<artifactId>maven-surefire-plugin</artifactId>
|
||||||
<configuration>
|
<configuration>
|
||||||
<suiteXmlFiles>
|
<suiteXmlFiles>
|
||||||
<suiteXmlFile>${suiteXmlFile}</suiteXmlFile>
|
<suiteXmlFile>${suiteXmlFile}</suiteXmlFile>
|
||||||
</suiteXmlFiles>
|
</suiteXmlFiles>
|
||||||
<argLine>
|
<argLine>
|
||||||
--illegal-access=warn
|
--illegal-access=warn
|
||||||
</argLine>
|
</argLine>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<!-- Build only test jar -->
|
<!-- Build only test jar -->
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-jar-plugin</artifactId>
|
<artifactId>maven-jar-plugin</artifactId>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>test-jar</goal>
|
<goal>test-jar</goal>
|
||||||
</goals>
|
</goals>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
</project>
|
</project>
|
||||||
|
@@ -1,71 +1,71 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>org.alfresco.tas</groupId>
|
<groupId>org.alfresco.tas</groupId>
|
||||||
<artifactId>content-repository-community-email-test</artifactId>
|
<artifactId>content-repository-community-email-test</artifactId>
|
||||||
<name>content-repository-community-email-test</name>
|
<name>content-repository-community-email-test</name>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>org.alfresco</groupId>
|
<groupId>org.alfresco</groupId>
|
||||||
<artifactId>content-repository-community-tests</artifactId>
|
<artifactId>content-repository-community-tests</artifactId>
|
||||||
<version>7.0.0-SNAPSHOT</version>
|
<version>7.0.0-TEST3-SNAPSHOT</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<developers>
|
<developers>
|
||||||
<developer>
|
<developer>
|
||||||
<name>Paul Brodner</name>
|
<name>Paul Brodner</name>
|
||||||
<roles>
|
<roles>
|
||||||
<role>Test Automation Architect</role>
|
<role>Test Automation Architect</role>
|
||||||
</roles>
|
</roles>
|
||||||
</developer>
|
</developer>
|
||||||
</developers>
|
</developers>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<suiteXmlFile>${project.basedir}/src/test/resources/email-suite.xml</suiteXmlFile>
|
<suiteXmlFile>${project.basedir}/src/test/resources/email-suite.xml</suiteXmlFile>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.alfresco.tas</groupId>
|
<groupId>org.alfresco.tas</groupId>
|
||||||
<artifactId>alfresco-community-repo-email-test</artifactId>
|
<artifactId>alfresco-community-repo-email-test</artifactId>
|
||||||
<classifier>tests</classifier>
|
<classifier>tests</classifier>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.alfresco.tas</groupId>
|
<groupId>org.alfresco.tas</groupId>
|
||||||
<artifactId>email</artifactId>
|
<artifactId>email</artifactId>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-surefire-plugin</artifactId>
|
<artifactId>maven-surefire-plugin</artifactId>
|
||||||
<configuration>
|
<configuration>
|
||||||
<suiteXmlFiles>
|
<suiteXmlFiles>
|
||||||
<suiteXmlFile>${suiteXmlFile}</suiteXmlFile>
|
<suiteXmlFile>${suiteXmlFile}</suiteXmlFile>
|
||||||
</suiteXmlFiles>
|
</suiteXmlFiles>
|
||||||
<argLine>
|
<argLine>
|
||||||
--illegal-access=warn
|
--illegal-access=warn
|
||||||
</argLine>
|
</argLine>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<!-- Build only test jar -->
|
<!-- Build only test jar -->
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-jar-plugin</artifactId>
|
<artifactId>maven-jar-plugin</artifactId>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>test-jar</goal>
|
<goal>test-jar</goal>
|
||||||
</goals>
|
</goals>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
</project>
|
</project>
|
||||||
|
@@ -1,139 +1,139 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>org.alfresco.tas</groupId>
|
<groupId>org.alfresco.tas</groupId>
|
||||||
<artifactId>content-repository-community-integration-test</artifactId>
|
<artifactId>content-repository-community-integration-test</artifactId>
|
||||||
<name>content-repository-community-integration-test</name>
|
<name>content-repository-community-integration-test</name>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>org.alfresco</groupId>
|
<groupId>org.alfresco</groupId>
|
||||||
<artifactId>content-repository-community-tests</artifactId>
|
<artifactId>content-repository-community-tests</artifactId>
|
||||||
<version>7.0.0-SNAPSHOT</version>
|
<version>7.0.0-TEST3-SNAPSHOT</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<developers>
|
<developers>
|
||||||
<developer>
|
<developer>
|
||||||
<name>Paul Brodner</name>
|
<name>Paul Brodner</name>
|
||||||
<roles>
|
<roles>
|
||||||
<role>Test Automation Architect</role>
|
<role>Test Automation Architect</role>
|
||||||
</roles>
|
</roles>
|
||||||
</developer>
|
</developer>
|
||||||
</developers>
|
</developers>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<suiteXmlFile>${project.basedir}/src/test/resources/integration-suite.xml</suiteXmlFile>
|
<suiteXmlFile>${project.basedir}/src/test/resources/integration-suite.xml</suiteXmlFile>
|
||||||
<dependency.groovy.version>2.5.9</dependency.groovy.version>
|
<dependency.groovy.version>2.5.9</dependency.groovy.version>
|
||||||
<dependency.javax.mail.version>1.6.2</dependency.javax.mail.version>
|
<dependency.javax.mail.version>1.6.2</dependency.javax.mail.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.alfresco.tas</groupId>
|
<groupId>org.alfresco.tas</groupId>
|
||||||
<artifactId>alfresco-community-repo-integration-test</artifactId>
|
<artifactId>alfresco-community-repo-integration-test</artifactId>
|
||||||
<classifier>tests</classifier>
|
<classifier>tests</classifier>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.alfresco.tas</groupId>
|
<groupId>org.alfresco.tas</groupId>
|
||||||
<artifactId>utility</artifactId>
|
<artifactId>utility</artifactId>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.rest-assured</groupId>
|
<groupId>io.rest-assured</groupId>
|
||||||
<artifactId>rest-assured</artifactId>
|
<artifactId>rest-assured</artifactId>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>javax.mail</groupId>
|
<groupId>javax.mail</groupId>
|
||||||
<artifactId>javax.mail-api</artifactId>
|
<artifactId>javax.mail-api</artifactId>
|
||||||
<version>${dependency.javax.mail.version}</version>
|
<version>${dependency.javax.mail.version}</version>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.sun.mail</groupId>
|
<groupId>com.sun.mail</groupId>
|
||||||
<artifactId>javax.mail</artifactId>
|
<artifactId>javax.mail</artifactId>
|
||||||
<version>${dependency.javax.mail.version}</version>
|
<version>${dependency.javax.mail.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.codehaus.groovy</groupId>
|
<groupId>org.codehaus.groovy</groupId>
|
||||||
<artifactId>groovy</artifactId>
|
<artifactId>groovy</artifactId>
|
||||||
<version>${dependency.groovy.version}</version>
|
<version>${dependency.groovy.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!-- FTP -->
|
<!-- FTP -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.alfresco.tas</groupId>
|
<groupId>org.alfresco.tas</groupId>
|
||||||
<artifactId>ftp</artifactId>
|
<artifactId>ftp</artifactId>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!-- REST API -->
|
<!-- REST API -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.alfresco.tas</groupId>
|
<groupId>org.alfresco.tas</groupId>
|
||||||
<artifactId>restapi</artifactId>
|
<artifactId>restapi</artifactId>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!-- CMIS -->
|
<!-- CMIS -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.alfresco.tas</groupId>
|
<groupId>org.alfresco.tas</groupId>
|
||||||
<artifactId>cmis</artifactId>
|
<artifactId>cmis</artifactId>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!-- EMAIL: IMAP & SMTP -->
|
<!-- EMAIL: IMAP & SMTP -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.alfresco.tas</groupId>
|
<groupId>org.alfresco.tas</groupId>
|
||||||
<artifactId>email</artifactId>
|
<artifactId>email</artifactId>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!-- WebDAV -->
|
<!-- WebDAV -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.alfresco.tas</groupId>
|
<groupId>org.alfresco.tas</groupId>
|
||||||
<artifactId>webdav</artifactId>
|
<artifactId>webdav</artifactId>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.jayway.jsonpath</groupId>
|
<groupId>com.jayway.jsonpath</groupId>
|
||||||
<artifactId>json-path</artifactId>
|
<artifactId>json-path</artifactId>
|
||||||
<version>2.4.0</version>
|
<version>2.4.0</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-surefire-plugin</artifactId>
|
<artifactId>maven-surefire-plugin</artifactId>
|
||||||
<configuration>
|
<configuration>
|
||||||
<suiteXmlFiles>
|
<suiteXmlFiles>
|
||||||
<suiteXmlFile>${suiteXmlFile}</suiteXmlFile>
|
<suiteXmlFile>${suiteXmlFile}</suiteXmlFile>
|
||||||
</suiteXmlFiles>
|
</suiteXmlFiles>
|
||||||
<argLine>
|
<argLine>
|
||||||
--illegal-access=warn
|
--illegal-access=warn
|
||||||
</argLine>
|
</argLine>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<!-- Build only test jar -->
|
<!-- Build only test jar -->
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-jar-plugin</artifactId>
|
<artifactId>maven-jar-plugin</artifactId>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>test-jar</goal>
|
<goal>test-jar</goal>
|
||||||
</goals>
|
</goals>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
</project>
|
</project>
|
||||||
|
@@ -1,106 +1,106 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>org.alfresco.tas</groupId>
|
<groupId>org.alfresco.tas</groupId>
|
||||||
<artifactId>content-repository-community-restapi-test</artifactId>
|
<artifactId>content-repository-community-restapi-test</artifactId>
|
||||||
<name>content-repository-community-restapi-test</name>
|
<name>content-repository-community-restapi-test</name>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>org.alfresco</groupId>
|
<groupId>org.alfresco</groupId>
|
||||||
<artifactId>content-repository-community-tests</artifactId>
|
<artifactId>content-repository-community-tests</artifactId>
|
||||||
<version>7.0.0-SNAPSHOT</version>
|
<version>7.0.0-TEST3-SNAPSHOT</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<developers>
|
<developers>
|
||||||
<developer>
|
<developer>
|
||||||
<name>Paul Brodner</name>
|
<name>Paul Brodner</name>
|
||||||
<roles>
|
<roles>
|
||||||
<role>Test Automation Architect</role>
|
<role>Test Automation Architect</role>
|
||||||
</roles>
|
</roles>
|
||||||
</developer>
|
</developer>
|
||||||
</developers>
|
</developers>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<suiteXmlFile>${project.basedir}/src/test/resources/restapi-suite.xml</suiteXmlFile>
|
<suiteXmlFile>${project.basedir}/src/test/resources/restapi-suite.xml</suiteXmlFile>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<profiles>
|
<profiles>
|
||||||
<profile>
|
<profile>
|
||||||
<id>run-restapi-part1</id>
|
<id>run-restapi-part1</id>
|
||||||
<properties>
|
<properties>
|
||||||
<suiteXmlFile>${project.basedir}/src/test/resources/test-suites/part1-suite.xml</suiteXmlFile>
|
<suiteXmlFile>${project.basedir}/src/test/resources/test-suites/part1-suite.xml</suiteXmlFile>
|
||||||
</properties>
|
</properties>
|
||||||
</profile>
|
</profile>
|
||||||
<profile>
|
<profile>
|
||||||
<id>run-restapi-part2</id>
|
<id>run-restapi-part2</id>
|
||||||
<properties>
|
<properties>
|
||||||
<suiteXmlFile>${project.basedir}/src/test/resources/test-suites/part2-suite.xml</suiteXmlFile>
|
<suiteXmlFile>${project.basedir}/src/test/resources/test-suites/part2-suite.xml</suiteXmlFile>
|
||||||
</properties>
|
</properties>
|
||||||
</profile>
|
</profile>
|
||||||
<profile>
|
<profile>
|
||||||
<id>run-restapi-part3</id>
|
<id>run-restapi-part3</id>
|
||||||
<properties>
|
<properties>
|
||||||
<suiteXmlFile>${project.basedir}/src/test/resources/test-suites/part3-suite.xml</suiteXmlFile>
|
<suiteXmlFile>${project.basedir}/src/test/resources/test-suites/part3-suite.xml</suiteXmlFile>
|
||||||
</properties>
|
</properties>
|
||||||
</profile>
|
</profile>
|
||||||
</profiles>
|
</profiles>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.alfresco.tas</groupId>
|
<groupId>org.alfresco.tas</groupId>
|
||||||
<artifactId>alfresco-community-repo-restapi-test</artifactId>
|
<artifactId>alfresco-community-repo-restapi-test</artifactId>
|
||||||
<classifier>tests</classifier>
|
<classifier>tests</classifier>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.alfresco.tas</groupId>
|
<groupId>org.alfresco.tas</groupId>
|
||||||
<artifactId>restapi</artifactId>
|
<artifactId>restapi</artifactId>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.rest-assured</groupId>
|
<groupId>io.rest-assured</groupId>
|
||||||
<artifactId>rest-assured</artifactId>
|
<artifactId>rest-assured</artifactId>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.glassfish</groupId>
|
<groupId>org.glassfish</groupId>
|
||||||
<artifactId>javax.json</artifactId>
|
<artifactId>javax.json</artifactId>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework</groupId>
|
<groupId>org.springframework</groupId>
|
||||||
<artifactId>spring-test</artifactId>
|
<artifactId>spring-test</artifactId>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-surefire-plugin</artifactId>
|
<artifactId>maven-surefire-plugin</artifactId>
|
||||||
<configuration>
|
<configuration>
|
||||||
<suiteXmlFiles>
|
<suiteXmlFiles>
|
||||||
<suiteXmlFile>${suiteXmlFile}</suiteXmlFile>
|
<suiteXmlFile>${suiteXmlFile}</suiteXmlFile>
|
||||||
</suiteXmlFiles>
|
</suiteXmlFiles>
|
||||||
<argLine>
|
<argLine>
|
||||||
--illegal-access=warn
|
--illegal-access=warn
|
||||||
</argLine>
|
</argLine>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<!-- Build only test jar -->
|
<!-- Build only test jar -->
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-jar-plugin</artifactId>
|
<artifactId>maven-jar-plugin</artifactId>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>test-jar</goal>
|
<goal>test-jar</goal>
|
||||||
</goals>
|
</goals>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
</project>
|
</project>
|
||||||
|
@@ -1,70 +1,70 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>org.alfresco.tas</groupId>
|
<groupId>org.alfresco.tas</groupId>
|
||||||
<artifactId>content-repository-community-webdav-test</artifactId>
|
<artifactId>content-repository-community-webdav-test</artifactId>
|
||||||
<name>content-repository-community-webdav-test</name>
|
<name>content-repository-community-webdav-test</name>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>org.alfresco</groupId>
|
<groupId>org.alfresco</groupId>
|
||||||
<artifactId>content-repository-community-tests</artifactId>
|
<artifactId>content-repository-community-tests</artifactId>
|
||||||
<version>7.0.0-SNAPSHOT</version>
|
<version>7.0.0-TEST3-SNAPSHOT</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<developers>
|
<developers>
|
||||||
<developer>
|
<developer>
|
||||||
<name>Paul Brodner</name>
|
<name>Paul Brodner</name>
|
||||||
<roles>
|
<roles>
|
||||||
<role>Test Automation Architect</role>
|
<role>Test Automation Architect</role>
|
||||||
</roles>
|
</roles>
|
||||||
</developer>
|
</developer>
|
||||||
</developers>
|
</developers>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<suiteXmlFile>${project.basedir}/src/test/resources/webdav-suite.xml</suiteXmlFile>
|
<suiteXmlFile>${project.basedir}/src/test/resources/webdav-suite.xml</suiteXmlFile>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.alfresco.tas</groupId>
|
<groupId>org.alfresco.tas</groupId>
|
||||||
<artifactId>webdav</artifactId>
|
<artifactId>webdav</artifactId>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.alfresco.tas</groupId>
|
<groupId>org.alfresco.tas</groupId>
|
||||||
<artifactId>alfresco-community-repo-webdav-test</artifactId>
|
<artifactId>alfresco-community-repo-webdav-test</artifactId>
|
||||||
<classifier>tests</classifier>
|
<classifier>tests</classifier>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-surefire-plugin</artifactId>
|
<artifactId>maven-surefire-plugin</artifactId>
|
||||||
<configuration>
|
<configuration>
|
||||||
<suiteXmlFiles>
|
<suiteXmlFiles>
|
||||||
<suiteXmlFile>${suiteXmlFile}</suiteXmlFile>
|
<suiteXmlFile>${suiteXmlFile}</suiteXmlFile>
|
||||||
</suiteXmlFiles>
|
</suiteXmlFiles>
|
||||||
<argLine>
|
<argLine>
|
||||||
--illegal-access=warn
|
--illegal-access=warn
|
||||||
</argLine>
|
</argLine>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<!-- Build only test jar -->
|
<!-- Build only test jar -->
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-jar-plugin</artifactId>
|
<artifactId>maven-jar-plugin</artifactId>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>test-jar</goal>
|
<goal>test-jar</goal>
|
||||||
</goals>
|
</goals>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
</project>
|
</project>
|
||||||
|
Reference in New Issue
Block a user