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/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 Alfresco Maven plugin used to manage AMPs in this SDK embeds the official Alfresco MMT to install depdended AMPs.
Common AMP project lifecycle commands you want to run are: