diff --git a/.gitattributes b/.gitattributes
index 8303247a3..6f960b2ff 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,8 +1,8 @@
-.* eol=crlf
-*.html eol=crlf
-*.java eol=crlf
-*.txt eol=crlf
-*.css eol=crlf
-*.xml eol=crlf
-*.js eol=crlf
-*.properties eol=crlf
\ No newline at end of file
+# .* eol=crlf
+# *.html eol=crlf
+# *.java eol=crlf
+# *.txt eol=crlf
+# *.css eol=crlf
+# *.xml eol=crlf
+# *.js eol=crlf
+# *.properties eol=crlf
\ No newline at end of file
diff --git a/docker-alfresco/Dockerfile b/docker-alfresco/Dockerfile
index a9132655d..11174fe07 100644
--- a/docker-alfresco/Dockerfile
+++ b/docker-alfresco/Dockerfile
@@ -1,5 +1,3 @@
-# Fetch image based on Tomcat 8.5.43 and Java 11
-# More infos about this image: https://github.com/Alfresco/alfresco-docker-base-tomcat
FROM alfresco/alfresco-community-repo-base:latest
# Set default docker_context. Will / Can be overriden with maven.
@@ -16,8 +14,11 @@ ARG TOMCAT_DIR=/usr/local/tomcat
USER root
-# Copy the amps from build context to the appropriate location for your application server
-COPY ${resource_path}/amps ${TOMCAT_DIR}/amps
+# Copy api-explorer war
+COPY ${resource_path}/war/* ${TOMCAT_DIR}/webapps/
+
+# Copy in the share-services amp
+COPY ${resource_path}/amps/* ${TOMCAT_DIR}/amps/
# Install amps on alfresco.war
RUN java -jar ${TOMCAT_DIR}/alfresco-mmt/alfresco-mmt*.jar install \
@@ -40,9 +41,4 @@ RUN chgrp -R ${GROUPNAME} ${TOMCAT_DIR} && \
chmod g+rwx ${TOMCAT_DIR}/work && \
chmod o-w ${TOMCAT_DIR}/work
-EXPOSE 10001
-
-# For remote debug
-EXPOSE 8000
-
USER ${IMAGEUSERNAME}
\ No newline at end of file
diff --git a/docker-alfresco/pom.xml b/docker-alfresco/pom.xml
index 0eb2bba71..2bd7d2b8d 100644
--- a/docker-alfresco/pom.xml
+++ b/docker-alfresco/pom.xml
@@ -1,366 +1,356 @@
-
- 4.0.0
- content-services-community-docker-alfresco
- ACS Community Docker Image Builder for Alfresco Community
- pom
-
-
- org.alfresco
- acs-community-packaging
- 7.0.0-SNAPSHOT
-
-
-
- alfresco/alfresco-content-repository-community
- quay.io
-
-
-
-
- org.alfresco
- api-explorer
- ${dependency.alfresco-api-explorer.version}
- war
-
-
- org.alfresco
- alfresco-server-root
- ${dependency.alfresco-server-root.version}
- war
-
-
- org.postgresql
- postgresql
- ${dependency.postgresql.version}
-
-
- org.alfresco
- alfresco-mmt
- ${dependency.alfresco-mmt.version}
-
-
- org.alfresco
- alfresco-share-services
- ${alfresco.alfresco-share-services.version}
- amp
-
-
- org.alfresco.aos-module
- alfresco-aos-module
- ${alfresco.aos-module.version}
- amp
-
-
- org.alfresco.aos-module
- alfresco-aos-repo-binding
-
-
-
-
- org.alfresco.aos-module
- alfresco-vti-bin
- ${alfresco.aos-module.version}
- war
-
-
- org.alfresco.integrations
- alfresco-googledrive-repo-community
- ${alfresco.googledrive.version}
- amp
-
-
-
-
-
-
- org.apache.maven.plugins
- maven-resources-plugin
- 3.1.0
-
-
- copy-licenses
- process-resources
-
- copy-resources
-
-
-
-
-
- ../distribution/src/main/resources/licenses
- false
-
-
- ${project.build.directory}/licenses
-
-
-
-
-
- org.apache.maven.plugins
- maven-dependency-plugin
- 3.1.2
-
-
- unpack-war-files
- process-resources
-
- unpack
-
-
-
-
- org.alfresco
- content-services-community
- war
- false
- ${project.build.directory}/war/alfresco
-
-
- org.alfresco
- api-explorer
- ${dependency.alfresco-api-explorer.version}
- war
- ${project.build.directory}/war/api-explorer
-
-
- org.alfresco
- alfresco-server-root
- ${dependency.alfresco-server-root.version}
- war
- ${project.build.directory}/war/ROOT
-
-
- org.alfresco.aos-module
- alfresco-vti-bin
- ${alfresco.aos-module.version}
- war
- ${project.build.directory}/war/_vti_bin
-
-
-
-
-
- copy-jdbc-connectors
- process-resources
-
- copy
-
-
-
-
- org.postgresql
- postgresql
- ${dependency.postgresql.version}
- jar
- false
- ${project.build.directory}/connector
-
-
- org.alfresco
- alfresco-mmt
- ${dependency.alfresco-mmt.version}
- jar
- false
- ${project.build.directory}/alfresco-mmt
-
-
-
-
-
-
- copy-amps
- process-resources
-
- copy
-
-
-
-
- org.alfresco
- alfresco-share-services
- ${alfresco.alfresco-share-services.version}
- amp
- false
- ${project.build.directory}/amps
-
-
- org.alfresco.aos-module
- alfresco-aos-module
- ${alfresco.aos-module.version}
- amp
- false
- ${project.build.directory}/amps
-
-
- org.alfresco.integrations
- alfresco-googledrive-repo-community
- ${alfresco.googledrive.version}
- amp
- false
- ${project.build.directory}/amps
-
-
-
-
-
-
-
-
- io.fabric8
- fabric8-maven-plugin
- ${dependency.fabric8.version}
-
-
-
- ${image.name}
-
- ${project.basedir}/
-
-
-
-
-
-
-
-
-
-
- communityDocker
-
-
-
- io.fabric8
- fabric8-maven-plugin
- ${dependency.fabric8.version}
-
-
- build-image
- install
-
- build
-
-
-
-
-
-
-
-
-
- internal
-
-
-
- io.fabric8
- fabric8-maven-plugin
- ${dependency.fabric8.version}
-
-
-
- ${image.name}:${image.tag}
- ${image.registry}
-
- ${project.basedir}/
-
-
-
-
-
-
- build-push-image
- install
-
- build
- push
-
-
-
-
-
-
-
-
-
- master
-
-
-
- io.fabric8
- fabric8-maven-plugin
- ${dependency.fabric8.version}
-
-
-
- ${image.name}
- ${image.registry}
-
- ${project.basedir}/
-
-
-
- ${image.name}
-
- ${project.basedir}/
-
-
-
-
-
-
- build-push-image
- install
-
- build
- push
-
-
-
-
-
-
-
-
-
- release
-
-
-
- io.fabric8
- fabric8-maven-plugin
- ${dependency.fabric8.version}
-
-
-
- quay.io
- ${image.name}:${project.version}
- ${image.registry}
-
- ${project.basedir}/
-
-
-
- dockerhub
- ${image.name}:${project.version}
-
- ${project.basedir}/
-
-
-
-
-
-
- build-push-image
- deploy
-
- build
- push
-
-
-
-
-
-
-
-
-
+
+ 4.0.0
+ content-services-community-docker-alfresco
+ ACS Community Docker Image Builder for Alfresco Community
+ pom
+
+
+ org.alfresco
+ acs-community-packaging
+ 7.0.0-SNAPSHOT
+
+
+
+ alfresco/alfresco-content-repository-community
+ quay.io
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-resources-plugin
+ 3.1.0
+
+
+ copy-licenses
+ process-resources
+
+ copy-resources
+
+
+
+
+
+ ../distribution/src/main/resources/licenses
+ false
+
+
+ ${project.build.directory}/licenses
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-dependency-plugin
+ 3.1.2
+
+
+ unpack-war-files
+ process-resources
+
+ unpack
+
+
+
+
+
+
+
+
+
+
+
+ org.alfresco
+ api-explorer
+ ${dependency.alfresco-api-explorer.version}
+ war
+ ${project.build.directory}/war/api-explorer
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ copy-amps
+ process-resources
+
+ copy
+
+
+
+
+ org.alfresco
+ alfresco-share-services
+ ${alfresco.alfresco-share-services.version}
+ amp
+ false
+ ${project.build.directory}/amps
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ io.fabric8
+ fabric8-maven-plugin
+ ${dependency.fabric8.version}
+
+
+
+ ${image.name}
+
+ ${project.basedir}/
+
+
+
+
+
+
+
+
+
+
+ communityDocker
+
+
+
+ io.fabric8
+ fabric8-maven-plugin
+ ${dependency.fabric8.version}
+
+
+ build-image
+ install
+
+ build
+
+
+
+
+
+
+
+
+
+ internal
+
+
+
+ io.fabric8
+ fabric8-maven-plugin
+ ${dependency.fabric8.version}
+
+
+
+ ${image.name}:${image.tag}
+ ${image.registry}
+
+ ${project.basedir}/
+
+
+
+
+
+
+ build-push-image
+ install
+
+ build
+ push
+
+
+
+
+
+
+
+
+
+ master
+
+
+
+ io.fabric8
+ fabric8-maven-plugin
+ ${dependency.fabric8.version}
+
+
+
+ ${image.name}
+ ${image.registry}
+
+ ${project.basedir}/
+
+
+
+ ${image.name}
+
+ ${project.basedir}/
+
+
+
+
+
+
+ build-push-image
+ install
+
+ build
+ push
+
+
+
+
+
+
+
+
+
+ release
+
+
+
+ io.fabric8
+ fabric8-maven-plugin
+ ${dependency.fabric8.version}
+
+
+
+ quay.io
+ ${image.name}:${project.version}
+ ${image.registry}
+
+ ${project.basedir}/
+
+
+
+ dockerhub
+ ${image.name}:${project.version}
+
+ ${project.basedir}/
+
+
+
+
+
+
+ build-push-image
+ deploy
+
+ build
+ push
+
+
+
+
+
+
+
+
+
diff --git a/pom.xml b/pom.xml
index 1450e9a7e..5de3be6ee 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,156 +1,157 @@
-
- 4.0.0
- acs-community-packaging
- Alfresco Content Services Community Packaging
- 7.0.0-SNAPSHOT
- pom
-
-
- org.alfresco
- alfresco-community-repo
- ../alfresco-community-repo/pom.xml
- 8.300-SNAPSHOT
-
-
-
- scm:git:https://github.com/Alfresco/acs-community-packaging.git
- scm:git:https://github.com/Alfresco/acs-community-packaging.git
- https://github.com/Alfresco/acs-community-packaging
- HEAD
-
-
-
-
- alfresco-internal
- https://artifacts.alfresco.com/nexus/content/repositories/releases
-
-
- alfresco-internal-snapshots
- https://artifacts.alfresco.com/nexus/content/repositories/snapshots
-
-
-
-
-
- Community
- latest
-
- 8.300-SNAPSHOT
- 6.2.2
- 6.2.2
-
- ${project.version}
- alfresco-community
- ${alfresco.package.name}-distribution
-
-
-
-
- communityDocker
-
- docker-alfresco
-
-
-
- fullBuild
-
- true
-
-
- distribution
- public-javadoc
- docker-alfresco
-
-
-
- all-tas-tests
-
- tests
-
-
-
-
-
-
-
- org.alfresco
- alfresco-core
- ${dependency.alfresco-community-repo.version}
-
-
- org.alfresco
- alfresco-core
- ${dependency.alfresco-community-repo.version}
- tests
-
-
- org.alfresco
- alfresco-data-model
- ${dependency.alfresco-community-repo.version}
-
-
- org.alfresco
- alfresco-remote-api
- ${dependency.alfresco-community-repo.version}
-
-
- org.alfresco
- alfresco-remote-api
- ${dependency.alfresco-community-repo.version}
- tests
-
-
- org.alfresco
- alfresco-repository
- ${dependency.alfresco-community-repo.version}
-
-
- org.alfresco
- alfresco-repository
- ${dependency.alfresco-community-repo.version}
- tests
-
-
- org.alfresco
- content-services-community
- ${dependency.alfresco-community-repo.version}
- war
-
-
- org.alfresco
- alfresco-content-services-share-distribution
- ${alfresco.share.version}
- zip
-
-
- org.alfresco
- alfresco-share-services
- ${alfresco.alfresco-share-services.version}
- amp
-
-
- org.alfresco
- share
- ${alfresco.share.version}
- war
-
-
- org.alfresco
- alfresco-wcmqs-distribution
- ${alfresco.share.version}
- zip
-
-
- org.alfresco
- alfresco-wcmqs-web
- ${alfresco.share.version}
- classes
-
-
- org.alfresco
- alfresco-wcmqs-client-api
- ${alfresco.share.version}
-
-
-
-
+
+ 4.0.0
+ acs-community-packaging
+ Alfresco Content Services Community Packaging
+ 7.0.0-SNAPSHOT
+ pom
+
+
+ org.alfresco
+ alfresco-community-repo
+ ../alfresco-community-repo/pom.xml
+ 8.300-SNAPSHOT
+
+
+
+ scm:git:https://github.com/Alfresco/acs-community-packaging.git
+ scm:git:https://github.com/Alfresco/acs-community-packaging.git
+ https://github.com/Alfresco/acs-community-packaging
+ HEAD
+
+
+
+
+ alfresco-internal
+ https://artifacts.alfresco.com/nexus/content/repositories/releases
+
+
+ alfresco-internal-snapshots
+ https://artifacts.alfresco.com/nexus/content/repositories/snapshots
+
+
+
+
+
+ Community
+ latest
+
+ 8.300-SNAPSHOT
+ 6.2.2
+ 6.2.2
+ 7.0.0-A1
+
+ ${project.version}
+ alfresco-community
+ ${alfresco.package.name}-distribution
+
+
+
+
+ communityDocker
+
+ docker-alfresco
+
+
+
+ fullBuild
+
+ true
+
+
+ distribution
+ public-javadoc
+ docker-alfresco
+
+
+
+ all-tas-tests
+
+ tests
+
+
+
+
+
+
+
+ org.alfresco
+ alfresco-core
+ ${dependency.alfresco-community-repo.version}
+
+
+ org.alfresco
+ alfresco-core
+ ${dependency.alfresco-community-repo.version}
+ tests
+
+
+ org.alfresco
+ alfresco-data-model
+ ${dependency.alfresco-community-repo.version}
+
+
+ org.alfresco
+ alfresco-remote-api
+ ${dependency.alfresco-community-repo.version}
+
+
+ org.alfresco
+ alfresco-remote-api
+ ${dependency.alfresco-community-repo.version}
+ tests
+
+
+ org.alfresco
+ alfresco-repository
+ ${dependency.alfresco-community-repo.version}
+
+
+ org.alfresco
+ alfresco-repository
+ ${dependency.alfresco-community-repo.version}
+ tests
+
+
+ org.alfresco
+ content-services-community
+ ${dependency.alfresco-community-repo.version}
+ war
+
+
+ org.alfresco
+ alfresco-content-services-share-distribution
+ ${alfresco.share.version}
+ zip
+
+
+ org.alfresco
+ alfresco-share-services
+ ${alfresco.alfresco-share-services.version}
+ amp
+
+
+ org.alfresco
+ share
+ ${alfresco.share.version}
+ war
+
+
+ org.alfresco
+ alfresco-wcmqs-distribution
+ ${alfresco.share.version}
+ zip
+
+
+ org.alfresco
+ alfresco-wcmqs-web
+ ${alfresco.share.version}
+ classes
+
+
+ org.alfresco
+ alfresco-wcmqs-client-api
+ ${alfresco.share.version}
+
+
+
+
diff --git a/tests/pom.xml b/tests/pom.xml
index a57849208..ed4f00da3 100644
--- a/tests/pom.xml
+++ b/tests/pom.xml
@@ -1,20 +1,24 @@
-
- 4.0.0
- content-repository-community-tests
- pom
-
-
- org.alfresco
- acs-community-packaging
- 7.0.0-SNAPSHOT
-
-
-
- tas-restapi
- tas-cmis
- tas-email
- tas-webdav
- tas-integration
-
-
+
+ 4.0.0
+ content-repository-community-tests
+ pom
+
+
+ org.alfresco
+ acs-community-packaging
+ 7.0.0-SNAPSHOT
+
+
+
+ tas-restapi
+ tas-cmis
+ tas-email
+ tas-webdav
+ tas-integration
+
+
+
+
+ 20170516
+
\ No newline at end of file
diff --git a/tests/scripts/start-compose.sh b/tests/scripts/start-compose.sh
index ace065bb0..27affe337 100755
--- a/tests/scripts/start-compose.sh
+++ b/tests/scripts/start-compose.sh
@@ -8,6 +8,9 @@ then
exit 1
fi
+# remove old version if it exists
+docker image rm -f environment_alfresco
+
echo "Starting ACS stack in ${DOCKER_COMPOSE_PATH}"
# .env files are picked up from project directory correctly on docker-compose 1.23.0+