You are here

AMP archetype

The Alfresco AMP Archetype generates a sample project to manage AMP (Alfresco Module Package) projects.

This archetype can be used for Alfresco Repository projects. For Share projects, please refer to the Share AMP archetype.

The main features of this archetype are:

  • AMP packaging support for your projects.
  • AMP dependency management in Maven.
  • Installation of AMPs into an Alfresco WAR.
  • AMP Unit Testing support. Just run the standard mvn test and see your src/test/java Alfresco unit tests run. An sample Unit Test is provided in this archetype.
  • Run embedded in Tomcat with an embedded H2 database for demo purposes, rapid application development and integration testing.
    Attention: This is not a supported stack, so it should only be used for development purposes.
  • Support for (remote) Junit and integration testing and Rapid Application Development. This uses spring-loaded. Project can easily be launched for this scenario using
  • Seamless IDE integration with Eclipse and IntelliJ IDEA.

Sending feedback to the Alfresco documentation team

You don't appear to have JavaScript enabled in your browser. With JavaScript enabled, you can provide feedback to us using our simple form. Here are some instructions on how to enable JavaScript in your web browser.