Class ModuleDependency

java.lang.Object
org.alfresco.maven.plugin.config.MavenDependency
org.alfresco.maven.plugin.config.ModuleDependency

public class ModuleDependency extends MavenDependency

Defines an Alfresco extension module dependency (JAR or AMP) to be overlayed on an Alfresco webapp file.

This is so we can skip the WAR projects in the AIO project, and so we can include the Share Services AMP when running with a simple platform JAR.

This class is used by the RunMojo class.

Alfresco Maven Plugin config looks something like this:
    
    <platformModules>
      <moduleDependency>
          <groupId>${alfresco.groupId}</groupId>
          <artifactId>alfresco-share-services</artifactId>
          <version>${alfresco.share.version}</version>
          <type>amp</type>
      </moduleDependency>
      <moduleDependency>
          <groupId>${project.groupId}</groupId>
          <artifactId>${project.artifactId}</artifactId>
          <version>${project.version}</version>
      </moduleDependency>
    </platformModules>
    
 
Since:
3.0.0
Version:
1.0
Author:
martin.bergljung@alfresco.com