See SDK Pre-Requisites to successfully run this archetype.
The archetype generated project should look like:
pom.xml src/main/amp |-> module.properties |-> file-mapping.properties (optional) |-> config/ |-> web/ |-> licenses/ src/main/java //Java classes to be packaged in the AMP embedded JAR) src/main/resources //resources to the packaged in the AMP embedded JAR src/main/resources/META-INF/resources //web resources to the packaged in the AMP embedded JAR, mapped to the root of the webapp as of Servlet 3.0) src/test/java // Unit tests src/test/resources // Unit test resources src/test/properties/<env> // Environment aware alfresco-global.properties. By default <env>=local
Basically by default the folder src/main/amp maps the AMP structure and it's where you can build your module.
This project manages an AMP and provides support for typical development lifecycle use cases like:
The AMPs produced with this project are fully compatible with Alfresco MMT, in fact the Maven Alfresco plugin used to manage AMPs in this SDK embeds the official Alfresco MMT to install depdended AMPs.
run.sh will automatically set up the SDK and run the AMP on an Alfresco repo embedded to enable rapid development
Also, common AMP Maven lifecycle commands you want to run are: