How to use this plugin?

There are fundamentally two methods to use this plugin:

  1. Using Archetypes provided in the Alfresco SDK
  2. Via direct configuration in your POM

Method 1 - Using Alfresco SDK Archetypes

Two sample archetypes already use the plugin and provide best practice example on how to use it:

  1. The Alfresco Platform JAR Archetype provides a sample of JAR packaging with AMP as an optional assembly for 3rd party dependencies
  2. The Alfresco All-in-One Archetype provides a sample using JARs for both Alfresco Platform and Share

Method 3 - Direct configuration in POM

If you want more control over the plugin behavior you can use it directly in your POM.