Quick tips for migrating SDK3 projects to ACS 6

Showing results for 
Search instead for 
Did you mean: 

Quick tips for migrating SDK3 projects to ACS 6

Alfresco Employee
9 12 9,248

This article is about modules for the ACS repository and does not cover Share. Share modules from previous Alfresco versions can be deployed to ACS 6 without modifications.

This article describes how to migrate Alfresco SDK 3 based projects alfresco-platform-jar-archetype to Alfresco SDK 3 projects including the new dependencies from ACS 6. However, as a third party developer, it might be a lot easier for you to wait for the next version of the official Alfresco SDK.

Step 1: Upgrade Alfresco and Share versions

Find following properties in your original pom.xml file...


... and replace the values with the following numbers...


Step 2: Change Alfresco distribution dependency name

Identify Alfresco distribution dependency in your original pom.xml file...


...and replace the name by using the following entry...


From this point you can compile and package your addon for ACS 6. 

Step 3: Refactor your code where required

Updates that might affect your custom code are (among others):

  • Spring
  • Quartz
  • POI
  • Jackson
  • multiple commons-* libraries

Removed libraries:

  • Hibernate

ACS 6 Migration Guide wiki page collects useful information about updating Java code to work with the ACS6 repository.


These simple instructions can be applied to upgrade your repository addons to ACS 6, but Alfresco will release a detailed guide for migration procedures in the future. 

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 http://angelborroy.wordpress.com. He is (proud) member of the Order of the Bee.