@Mojo(name="package",
defaultPhase=PACKAGE,
requiresDependencyResolution=COMPILE)
public class VaultMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
static String |
FILTER_FILE |
static String |
MF_KEY_PACKAGE_ID |
static String |
MF_KEY_PACKAGE_ROOTS |
static String |
MF_KEY_PACKAGE_TYPE |
static String |
PROPERTIES_FILE |
| Constructor and Description |
|---|
VaultMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Executes this mojo
|
void |
setPackageType(String type)
Sets the package type.
|
public static final String PROPERTIES_FILE
public static final String FILTER_FILE
public static final String MF_KEY_PACKAGE_TYPE
public static final String MF_KEY_PACKAGE_ID
public static final String MF_KEY_PACKAGE_ROOTS
public void setPackageType(String type) throws org.apache.maven.plugin.MojoFailureException
type - the string representation of the package typeorg.apache.maven.plugin.MojoFailureException - if an error occurrspublic void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.