mirror of
https://github.com/Alfresco/alfresco-sdk.git
synced 2025-08-07 17:49:34 +00:00
Added skipAmpInstallation parameter which exits the InstallMojo execution before validation
git-svn-id: http://maven-alfresco-archetypes.googlecode.com/svn/trunk@703 04253f4f-3451-0410-a141-5562f1e59037
This commit is contained in:
@@ -71,11 +71,21 @@ public class InstallMojo extends AbstractMojo {
|
|||||||
*/
|
*/
|
||||||
private boolean skipWarManifestCheck;
|
private boolean skipWarManifestCheck;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Whether or not to skip the attempt to install the AMP in the warLocation altogether
|
||||||
|
*
|
||||||
|
* @parameter property="maven.alfresco.skipAmpInstallation" default-value="false"
|
||||||
|
*/
|
||||||
|
private boolean skipAmpInstallation;
|
||||||
|
|
||||||
public InstallMojo() {
|
public InstallMojo() {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void execute() throws MojoExecutionException, MojoFailureException {
|
public void execute() throws MojoExecutionException, MojoFailureException {
|
||||||
|
if (skipAmpInstallation) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
// Checks appropriate input params are in place
|
// Checks appropriate input params are in place
|
||||||
checkParams();
|
checkParams();
|
||||||
ModuleManagementTool mmt = new ModuleManagementTool();
|
ModuleManagementTool mmt = new ModuleManagementTool();
|
||||||
|
Reference in New Issue
Block a user