Welcome to the Maven Alfresco AMP Archetype home

You've reached the Maven Alfresco AMP archetype version 1.9.1 ) home page.

Description

This archetype aims to provide a standardized approach to development, release and deployment of Alfresco AMPs (as opposed to Alfresco extensions, released as a different artifact ). Using standard m2 lifecycle commands (mvn compile package deploy) and generally available plugins (cargo, release, assembly) we are able to cover a very high percentage of Alfresco lifecycle common use cases. You are able within minutes to have a compatible AMP module built and its lifecycle supported by Maven, in a fully transparent way also with open source available AMPs.

You can use this Archetype to build and add AMPs to Alfresco WAR packages in conjunction with the maven-alfresco-extension-archetype. Using Maven you will benefit of a more structured and scalable way of using AMPs without the Module Management Tool (MMT).

Quick Start (maven2)

For a quick start you can a maven alfresco AMP project created by just running (maven 2.1+ required):

mvn archetype:generate -DarchetypeCatalog=http://maven.alfresco.com/nexus/content/repositories/releases/archetype-catalog.xml

and then choose the option 'maven-alfresco-amp-archetype'

Usage

You can package and install your AMP module in the local Maven repo by just running

mvn install

You can then use the AMP by depending on it using the Maven Alfresco Extension Archetype, without any external tool (e.g. MMT). See available profiles for Extension archetypes