diff --git a/README.md b/README.md
index 846049e2a..6e342bd04 100644
--- a/README.md
+++ b/README.md
@@ -1,11 +1,17 @@
-# Full Community Packaging for Alfresco Content Services
+
+# Alfresco Content Services Community Packaging
+This project is producing packaging for [Alfresco Content Services Repository](https://community.alfresco.com/docs/DOC-6385-project-overview-repository).
+
+The SNAPSHOT version of the artifacts is **never** published.
+
+### Contributing guide
+Please use [this guide](CONTRIBUTING.md) to make a contribution to the project.
This project contains the code for packaging the entire Alfresco Content Services product Community edition.
## General
### Build:
* ```mvn clean install``` in the root of the project will build everything.
-Note: It is not easy to build the full installer locally (and impossible on Windows) so, most likely you don't want to create the installer locally. Comment out the installer in the root pom.xml in order to avoid building the installer locally.
## Docker-compose & Kubernetes
Build and start Alfresco Content Services Community using docker-compose or Kubernetes, containing:
@@ -68,7 +74,6 @@ helm install alfresco-incubator/alfresco-content-services \
## Docker images
These images are used to build the images used by the docker-compose.yml project to bring up an ACS Community, similar to what the installer did/does.
-The images are based on *pure* _content services_ and _share_ images done by the _acs-packaging_ and _share_ projects and adds the amps and settings necessary for running the images in a similar fashion to what the ACS deployment with the installer did/does.
### Docker Alfresco
1. Go to docker-alfreco folder
@@ -87,6 +92,4 @@ The images are based on *pure* _content services_ and _share_ images done by the
In this folder the distribution zip is build. It contains all the war files, libraries, certificates and settings files you need to deploy alfresco on the supported application servers.
-## Installer
-In this folder the installer binaries are built for all the supported platforms.
diff --git a/distribution/pom.xml b/distribution/pom.xml
index 9691a05a2..7341f1df3 100644
--- a/distribution/pom.xml
+++ b/distribution/pom.xml
@@ -2,7 +2,7 @@
4.0.0
org.alfresco
- full-community-packaging
+ acs-community-packaging
6.0.4-SNAPSHOT
../pom.xml
@@ -19,6 +19,7 @@
org.alfresco
alfresco-content-services-community-distribution
+ ${project.version}
zip
diff --git a/docker-alfresco/.dockerignore b/docker-alfresco/.dockerignore
new file mode 100644
index 000000000..30d74d258
--- /dev/null
+++ b/docker-alfresco/.dockerignore
@@ -0,0 +1 @@
+test
\ No newline at end of file
diff --git a/docker-alfresco/Dockerfile b/docker-alfresco/Dockerfile
index 79455806a..69200204f 100644
--- a/docker-alfresco/Dockerfile
+++ b/docker-alfresco/Dockerfile
@@ -1,4 +1,58 @@
-FROM quay.io/alfresco/alfresco-content-services-community:latest
+FROM quay.io/alfresco/alfresco-base-tomcat:0.1.0
+
+# Base ACS Repository Image includes transformation commands:
+# /usr/bin/alfresco-pdf-renderer - alfresco-pdf-renderer
+# /usr/bin/convert - imagemagick
+# /opt/libreoffice5.4/program/soffice - LibreOffice
+
+ENV ALFRESCO_PDF_RENDERER_LIB_RPM_URL=https://nexus.alfresco.com/nexus/service/local/repositories/releases/content/org/alfresco/alfresco-pdf-renderer/1.0/alfresco-pdf-renderer-1.0-linux.tgz
+ENV LIBREOFFICE_RPM_URL=http://download.documentfoundation.org/libreoffice/stable/5.4.5/rpm/x86_64/LibreOffice_5.4.5_Linux_x86-64_rpm.tar.gz
+ENV IMAGEMAGICK_RPM_URL=https://www.imagemagick.org/download/linux/CentOS/x86_64/ImageMagick-7.0.7-25.x86_64.rpm
+ENV IMAGEMAGICK_LIB_RPM_URL=https://www.imagemagick.org/download/linux/CentOS/x86_64/ImageMagick-libs-7.0.7-25.x86_64.rpm
+
+RUN wget $ALFRESCO_PDF_RENDERER_LIB_RPM_URL && \
+ tar xf alfresco-pdf-renderer-*-linux.tgz -C /usr/bin && \
+ rm -f alfresco-pdf-renderer-*-linux.tgz && \
+ \
+ yum install -y cairo cups-libs libSM && \
+ wget $LIBREOFFICE_RPM_URL && \
+ tar xzf LibreOffice_*_Linux_x86-64_rpm.tar.gz && \
+ yum localinstall -y LibreOffice*/RPMS/*.rpm && \
+ rm -rf LibreOffice_*_Linux_x86-64_rpm.tar.gz LibreOffice_*_Linux_x86-64_rpm && \
+ \
+ wget $IMAGEMAGICK_RPM_URL && \
+ wget $IMAGEMAGICK_LIB_RPM_URL && \
+ yum localinstall -y ImageMagick-*.x86_64.rpm && \
+ rm -f ImageMagick-*.x86_64.rpm && \
+ \
+ yum clean all
+
+RUN mkdir -p /usr/local/tomcat/shared/classes && \
+ mkdir /usr/local/tomcat/alfresco-mmt
+
+RUN touch /usr/local/tomcat/shared/classes/alfresco-global.properties
+
+COPY target/war /usr/local/tomcat/webapps
+COPY target/connector/* /usr/local/tomcat/lib/
+COPY target/alfresco-mmt/* /usr/local/tomcat/alfresco-mmt/
+RUN rm -rf /usr/local/tomcat/webapps/ROOT
+COPY target/server-root/* /usr/local/tomcat/webapps
+
+RUN sed -i "s/shared.loader=/shared.loader=\${catalina.base}\/shared\/classes/" /usr/local/tomcat/conf/catalina.properties
+
+RUN echo -e '\n\
+alfresco-pdf-renderer.root=/usr/bin/\n\
+alfresco-pdf-renderer.exe=${alfresco-pdf-renderer.root}/alfresco-pdf-renderer\n\
+\n\
+jodconverter.enabled=true\n\
+jodconverter.portNumbers=8100\n\
+jodconverter.officeHome=/opt/libreoffice5.4/\n\
+\n\
+img.root=/usr/lib64/ImageMagick-7.0.7\n\
+img.coders=/usr/lib64/ImageMagick-7.0.7/modules-Q16HDRI/coders\n\
+img.config=/usr/lib64/ImageMagick-7.0.7/config-Q16HDRI\n\
+img.exe=/usr/bin/convert\n\
+' >> /usr/local/tomcat/shared/classes/alfresco-global.properties
RUN mkdir -p /usr/local/tomcat/amps
diff --git a/docker-alfresco/pom.xml b/docker-alfresco/pom.xml
index eac9c59af..1e13e77bb 100644
--- a/docker-alfresco/pom.xml
+++ b/docker-alfresco/pom.xml
@@ -1,17 +1,39 @@
4.0.0
- content-services-community-full-docker-alfresco
- ACS Community full Docker image builder for Alfresco
+ content-services-community-docker-alfresco
+ ACS Community Docker image builder for Alfresco
pom
org.alfresco
- full-community-packaging
+ acs-community-packaging
6.0.4-SNAPSHOT
../pom.xml
+
+ org.alfresco
+ content-services-community
+ ${project.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
@@ -46,7 +68,64 @@
3.0.2
- copy-resources
+ unpack-resources
+ process-resources
+
+ unpack
+
+
+
+
+ org.alfresco
+ content-services-community
+ ${project.version}
+ war
+ false
+ ${project.build.directory}/war/alfresco
+ alfresco.war
+
+
+
+
+
+ copy-resources-war
+ 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
+
+
+ org.alfresco
+ alfresco-server-root
+ ${dependency.alfresco-server-root.version}
+ war
+ false
+ ${project.build.directory}/server-root
+ ROOT.war
+
+
+
+
+
+
+ copy-resources-amps
process-resources
copy
diff --git a/docker-alfresco/test/.env b/docker-alfresco/test/.env
new file mode 100644
index 000000000..2256ab425
--- /dev/null
+++ b/docker-alfresco/test/.env
@@ -0,0 +1 @@
+ALFRESCO_TAG=latest
\ No newline at end of file
diff --git a/docker-alfresco/test/docker-compose.yml b/docker-alfresco/test/docker-compose.yml
new file mode 100644
index 000000000..55b08b6e9
--- /dev/null
+++ b/docker-alfresco/test/docker-compose.yml
@@ -0,0 +1,51 @@
+version: "3"
+
+services:
+ alfresco:
+ image: quay.io/alfresco/alfresco-content-services-community:${ALFRESCO_TAG}
+ environment:
+ JAVA_OPTS : "
+ -Ddb.driver=org.postgresql.Driver
+ -Ddb.username=alfresco
+ -Ddb.password=alfresco
+ -Ddb.url=jdbc:postgresql://postgres:5432/alfresco
+ -Dsolr.host=solr6
+ -Dsolr.port=8983
+ -Dsolr.secureComms=none
+ -Dsolr.base.url=/solr
+ -Dindex.subsystem.name=solr6
+ -Dalfresco.restApi.basicAuthScheme=true
+ -Dimap.server.enabled=true
+ -Dftp.enabled=true
+ -Dftp.dataPortFrom=30000
+ -Dftp.dataPortTo=30099
+ "
+ ports:
+ - 8080:8080
+ - 445:445
+ - 143:143
+ - "21:21"
+ - "30000-30099:30000-30099"
+
+ postgres:
+ image: docker.io/library/postgres:9.4.12
+ environment:
+ - POSTGRES_PASSWORD=alfresco
+ - POSTGRES_USER=alfresco
+ - POSTGRES_DB=alfresco
+ ports:
+ - 5432:5432
+
+ solr6:
+ image: quay.io/alfresco/search-services:1.2.0-SNAPSHOT
+ environment:
+ #Solr needs to know how to register itself with Alfresco
+ - SOLR_ALFRESCO_HOST=alfresco
+ - SOLR_ALFRESCO_PORT=8080
+ #Alfresco needs to know how to call solr
+ - SOLR_SOLR_HOST=solr6
+ - SOLR_SOLR_PORT=8983
+ #Create the default alfresco and archive cores
+ - SOLR_CREATE_ALFRESCO_DEFAULTS=alfresco,archive
+ ports:
+ - 8083:8983 #Browser port
\ No newline at end of file
diff --git a/docker-compose/docker-compose.yml b/docker-compose/docker-compose.yml
index 30e6bbe00..b633cb5d6 100644
--- a/docker-compose/docker-compose.yml
+++ b/docker-compose/docker-compose.yml
@@ -2,7 +2,7 @@ version: "3"
services:
alfresco:
- image: quay.io/alfresco/alfresco-full-content-services-community:${ALFRESCO_TAG}
+ image: quay.io/alfresco/alfresco-content-services-community:${ALFRESCO_TAG}
environment:
JAVA_OPTS : "
-Ddb.driver=org.postgresql.Driver
diff --git a/docker-share/pom.xml b/docker-share/pom.xml
index 28721647f..2401bf271 100644
--- a/docker-share/pom.xml
+++ b/docker-share/pom.xml
@@ -1,12 +1,12 @@
4.0.0
- content-services-community-full-docker-share
- ACS Community full Docker image builder for Share
+ content-services-community-docker-share
+ ACS Community Docker image builder for Share
pom
org.alfresco
- full-community-packaging
+ acs-community-packaging
6.0.4-SNAPSHOT
../pom.xml
diff --git a/pom.xml b/pom.xml
index 7895bb992..33afadf4a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -14,7 +14,10 @@
war
zip
- docker
+ distribution
+ public-javadoc
+ docker-alfresco
+ docker-share
@@ -53,8 +56,22 @@
5.0.4.RELEASE
9.4.1212
- 5.1.40
- 2.0.1
+
+
+ 5.2.f
+
+
+ 3.0.4.2
+
+
+ 1.1.7
+
+ 6.1
+ 6.6
+
+ ${project.version}
+ alfresco-community
+ ${alfresco.package.name}-distribution
@@ -326,6 +343,85 @@
4.12
test
+
+
+ org.alfresco.aos-module
+ alfresco-aos-module
+ ${alfresco.aos-module.version}
+ amp
+
+
+ org.alfresco.aos-module
+ alfresco-aos-module-distributionzip
+ ${alfresco.aos-module.version}
+ zip
+
+
+ org.alfresco.aos-module
+ alfresco-vti-bin
+ ${alfresco.aos-module.version}
+ war
+
+
+ org.alfresco
+ alfresco-content-services-share-distribution
+ ${alfresco.share.version}
+ zip
+
+
+ org.alfresco
+ alfresco-share-services
+ ${alfresco.share.version}
+ amp
+
+
+ org.alfresco
+ share
+ ${alfresco.share.version}
+ war
+
+
+ org.alfresco
+ alfresco-solr1-distribution
+ ${alfresco.solr.version}
+ zip
+
+
+ org.alfresco
+ alfresco-solr4-distribution
+ ${alfresco.solr4.version}
+ zip
+
+
+ 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}
+
+
+ org.alfresco.integrations
+ alfresco-googledocs-repo
+ ${alfresco.googledocs.version}
+ amp
+
+
+ org.alfresco.integrations
+ alfresco-googledocs-share
+ ${alfresco.googledocs.version}
+ amp
+
+
diff --git a/public-javadoc/pom.xml b/public-javadoc/pom.xml
index de218a101..2d9a92f2b 100644
--- a/public-javadoc/pom.xml
+++ b/public-javadoc/pom.xml
@@ -4,7 +4,7 @@
Alfresco Content Services Public API Javadoc
org.alfresco
- full-community-packaging
+ acs-community-packaging
6.0.4-SNAPSHOT
../pom.xml