Package org.alfresco.maven.plugin
Class InstallMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.alfresco.maven.plugin.InstallMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
public class InstallMojo extends org.apache.maven.plugin.AbstractMojoPerforms 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 Summary
Constructors Constructor Description InstallMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()voidsetAmpLocation(File ampLocation)voidsetForce(boolean force)voidsetWarLocation(File warLocation)
-
-
-
Method Detail
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-
setWarLocation
public void setWarLocation(File warLocation)
-
setAmpLocation
public void setAmpLocation(File ampLocation)
-
setForce
public void setForce(boolean force)
-
-