Creating the default project structure for AMP
In order to create the project structure for an AMP, we will use the project template provided by the Alfresco Maven SDK. This default project template is basically known as AMP archetype. This project template helps to have a standardized development, deployment, and the release approach for the Alfresco extensions you will develop for your project. The Alfresco AMP archetype can be used to create both repositories as well as share AMPs when required. In this chapter, we are going to use the AMP archetype for repository web scripts.
Note
The Alfresco Maven SDK also provides another useful archetype known as All-in-One archetype, which is basically a multi-module project and gives a complete installation of the Alfresco platform along with its components without requiring additional downloads. While exploring archetype-catalog.xml
, you might have observed that there are a lot of archetypes available. The important archetypes, the Alfresco AMP...