

If you are using a version of Alfresco older than 6.2 but greater than or equal to 6.0.1, you can use version 4.0 of the SDK.

If you are using a version of Alfresco older than 7.0 but greater than or equal to 6.2, you can use version 4.1 of the SDK. This tutorial assumes you are using Alfresco Maven SDK 4.2 which works with Alfresco 7.0.
ALFRESCO MAVEN SDK ECLIPSE HOW TO INSTALL CODE
But if you intend to write code that runs within either of those web applications, the Alfresco Maven SDK is where you need to start. If you are writing your own custom application that is separate from the Alfresco and Share WARs you don't need the Alfresco Maven SDK. It consists of a project template (an 'archetype' in Maven parlance) and some built-in smarts that make Maven understand how to create AMPs and deploy them to Alfresco. The goal of the Maven-based SDK is to make it extremely easy for you to get started with Alfresco development. It is quite common for a project to require changes in both tiers, so in that case you will create two AMPs. If your project is about making customizations to the Share tier (the /share web application) you will create a 'share' AMP. If your project is about making customizations to the repository tier (the /alfresco web application) you will create a 'repo' AMP. AMP files are used to make it easy to share and deploy customizations to the Alfresco platform.
ALFRESCO MAVEN SDK ECLIPSE HOW TO INSTALL ZIP FILE
Īn AMP is a ZIP file with a folder structure that follows a specific convention. If you've ever spent time chasing down JAR file after JAR file, the value of such a tool will be immediately obvious. Maven can then retrieve and cache those dependencies for you. It has many features, but the primary time-saving feature is its ability to understand the dependencies your project relies on (and the dependencies of those dependencies and so on). Apache Maven is essentially a build management tool. You don't need to know much about Maven, Alfresco, or why this SDK exists before jumping in but it kind of helps set the scene, so let me take you through those three concepts quickly. Later, if you decide you want to change things up or explore other paths, that's great. In this tutorial, I'm going to take you through the most direct, safest route that will get you up-and-going quickly.

īefore we jump in, a quick disclaimer: There are almost always multiple routes to a given solution. This tutorial should be considered a pre-requisite before moving on to more detailed tutorials on things like content modeling, custom actions, behaviors, advanced workflows, or web scripts. How to produce an artifact suitable for deploying to your environment or sharing with the community. What goes where depending on the type of customization you are doing How to create a new Alfresco project using the Alfresco Maven SDK This tutorial is for people who have been handed a project that requires you to customize Alfresco in some way and you're thinking, 'Now what?'. To view a copy of this license, visit or send a letter to Creative Commons, 444 Castro Street, Suite 900, Mountain View, California, 94041, USA. This work is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License. Getting Started with the Alfresco Maven SDK Getting Started with the Alfresco Maven SDK | ECMĪrchitect | Alfresco Developer Tutorials
