Alfresco Module packages are software modules to be added on top of the Alfresco ECM platform. As opposed to Alfresco Extensions (which can be generated with maven-alfresco-extension-archetype ) which are meant to mainly produce a single customized build of Alfresco, an AMP is a small ZIP file primary product of the build lifecyle defined by the
<packaging>amp</packaging>
POM property. Use this build to create and modules which then can be used as dependencies by a maven-alfresco-extension generated project (e.g. enterprise Alfresco WAR customization).
$ MAVEN_OPTS="-Xms256m -Xmx512m -XX:PermSize=128m" mvn clean integration-test -P webapp
will runns the jetty embedded with overlayed the currently developed AMP
AMP archetype + plugin features:
Specific dependencies and different Alfresco versions can be specified in 'webapp' profile dependecies. Alfresco test webapp is overlayed (apart with all AMP and WAR dependencies specified) also with a sensible default 'alfresco/extension' folder to have a clean safe reproduceable and portable default alfresco run. Find these test configuaration files in 'src/test/resources' and environment dependent properties in src/test/properties/env/application.properties