Updated to work with Alfresco SDK 4 and Alfresco community 6.1.2
mvn clean install
for generate the amp packages, after that use the alfresco offical tool for the installation on the alfresco.war and share.war or the following command with the assembly plugin
mvn clean source:jar install package assembly:single
Modified by Dercioink
All right of these code belong to rouxemmanuel.