Alfresco Source Code Walkthrough

Showing results for 
Search instead for 
Did you mean: 

Alfresco Source Code Walkthrough

Alfresco Employee
4 1 1,768

Alfresco Content Service deployment includes several services in order to provide different features for the product.


Alfresco Content Service DeploymentAlfresco Content Service Deployment

This blog post describes how these services are deployed, packaged and built from source code.



This service is a WAR application deployed in Tomcat.


This service is an standard ActiveMQ with some customizations available in


This Spring Boot service runs as a standalone application.


This Spring Boot service runs as a standalone application.


This Spring Boot service runs as a standalone application.


This Spring Boot service runs as a standalone application.


This Spring Boot service runs as a standalone application.


This service is a WAR deployed in a Jetty server.


This service is a WAR deployed in Tomcat server.


This service is an Angular app deployed on an NGINX or Apache Httpd server


This service is a customized NGINX server with some customizations available in


Building Alfresco from Source Code

In order to build the projects, following software needs to be installed in your computer:

  • Java 11
  • Maven 3
  • Docker (only to build Docker Images)
  • Node.js (only for content-app)

Every service is built from source code, packaged and published to Docker Hub as Docker Image or to Nexus Repository as ZIP Distribution file. Every GitHub project includes instructions on how to perform these operations.

Let's take SearchServices project as sample in order to build this service from source code.

Step 1: Clone the source code from GitHub

$ git clone

Step 2: Build the Maven Project

$ cd SearchServices/search-services
$ mvn clean package -DskipTests

Step 3: ZIP Distribution file is produced by this Maven build in the following path


Step 4: Docker Image can be built from packaging folder

$ cd packaging/target/docker-resources
$ docker build . -t searchservices:local
Successfully built a656068d4ec3
Successfully tagged searchservices:local

In case you want to build an specific version instead of master branch, just checkout the version tag (2.0.1 in the sample below) after cloning the project from GitHub.

$ git checkout 2.0.1


About the Author
Angel Borroy is Hyland Developer Evangelist. Over the last 15 years, he has been working as a software architect on Java, BPM, document management and electronic signatures. He has been working with Alfresco during the last years to customize several implementations in large organizations and to provide add-ons to the Community based on Record Management and Electronic Signature. He writes (sometimes) on his personal blog He is (proud) member of the Order of the Bee.
1 Comment

Thanks for this useful post. I am trying to compare these community and enterprise image references:

These are using "alfresco-transform-core-aio (transform-core-aio)" instead of individual images.

Is there a difference between using "transform-core-aio" than using "alfresco-pdf-renderer, tika, imagemagick, libreoffice" ?