* Builds an AMP archive of the current project's contents.
* The location of the AMP contents is ${project.build.directory}/${project.build.finalName}.
* Java resources (in src/main/java and src/main/resources) are packaged in a standard JAR file
* that is automatically bundled in the /lib folder of the AMP archive and it's treated as build artifact
* (i.e. distributed on Maven repositories during deploy).
* Maven transitive dependencies are by default added into the /lib folder of the AMP archive
*
* @author Gabriele Columbro, Maurizio Pillitu
* @version $Id:$
* @goal amp
* @phase package
* @requiresProject
* @threadSafe
* @since 1.0
* @requiresDependencyResolution runtime
* @description Packages an Alfresco AMP file in ${project.build.directory} using the content found in ${project.build.directory}/${project.build.finalName}
We might want to selectively exclude the /web folder to packaged in the AMP, since we want to "hot" load this directly from sources using tomcat7 virtual
webapp features (from context.xml). While the "Loader" tag allows a searchVirtualFirst (so we can have both classes in the WAR and in a duplicate location which
takes precedence, we can't do that for the "Resources" which either need to be in the webapp or outside.
In the default packaging it's not excluded so the excludes are empty, but this property is set to exclude the /web folder -->