Class InstallMojo

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

    public class InstallMojo
    extends org.apache.maven.plugin.AbstractMojo

    Performs a AMP to WAR overlay invoking the Alfresco Repository ModuleManagementTool. It therefore wraps and emulates the same WAR overlay performed by Alfresco MMT.

    This goal will install the AMP file(s) found in ${ampLocation} onto the WAR (or exploded WAR) found in ${warLocation}
    Since:
    1.0
    Version:
    $Id:$
    Goal:
    install
    Requires Dependency Resolution:
    Description:
    Installs one or more AMPs onto an Alfresco / Share WAR (or exploded WAR folder)
    • Constructor Detail

      • InstallMojo

        public InstallMojo()
    • Method Detail

      • execute

        public void execute()
                     throws org.apache.maven.plugin.MojoExecutionException,
                            org.apache.maven.plugin.MojoFailureException
        Throws:
        org.apache.maven.plugin.MojoExecutionException
        org.apache.maven.plugin.MojoFailureException
      • setWarLocation

        public void setWarLocation​(File warLocation)
      • setAmpLocation

        public void setAmpLocation​(File ampLocation)
      • setForce

        public void setForce​(boolean force)