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.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)
-
Field Summary
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()voidsetAmpLocation(File ampLocation) voidsetForce(boolean force) voidsetWarLocation(File warLocation) Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
InstallMojo
public InstallMojo()
-
-
Method Details
-
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
-
setAmpLocation
-
setForce
public void setForce(boolean force)
-