You are here

Introduction to Maven archetypes

There are three Maven archetypes that can be used to generate Alfresco extension projects.

The following project types, and archetypes, are available:

  • Alfresco Repository AMP: this archetype is used to create extensions for the Alfresco Repository Web Application (alfresco.war) in the form of Alfresco Module Packages (AMP).
  • Alfresco Share AMP: this archetype is used to create extensions for the Alfresco Share Web Application (share.war) in the form of AMPs.
  • Alfresco all-in-one (AIO): this archetype is a multi-module project that leverages the Alfresco SDK's powerful capabilities to customize and run the full Alfresco platform embedded with all its components. The archetype does not require additional downloads and provides a perfect starting point for full-blown Alfresco projects.

You can view these archetypes when you obtain a list of archetypes from Maven Central:

mvn archetype:generate -Dfilter=org.alfresco:
Note: Note the use of a filter to display only archetypes in the namespace org.alfresco.