public abstract class AbstractPackageMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
static String |
FILTER_FILE |
protected org.apache.jackrabbit.vault.packaging.PackageType |
packageType
Defines the content package type.
|
protected org.apache.maven.project.MavenProject |
project
The Maven project.
|
static String |
PROPERTIES_FILE |
| Constructor and Description |
|---|
AbstractPackageMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
setPackageType(String type)
Sets the package type.
|
void |
setPrefix(String prefix) |
getLog, getPluginContext, setLog, setPluginContextpublic static final String PROPERTIES_FILE
public static final String FILTER_FILE
@Parameter(property="project",
readonly=true,
required=true)
protected org.apache.maven.project.MavenProject project
@Parameter(property="vault.packageType") protected org.apache.jackrabbit.vault.packaging.PackageType packageType
application: An application package consists purely of application content. It serializes
entire subtrees with no inclusion or exclusion filters. it does not contain any subpackages nor OSGi
configuration or bundles.content: A content package consists only of content and user defined configuration.
It usually serializes entire subtrees but can contain inclusion or exclusion filters. it does not contain
any subpackages nor OSGi configuration or bundles.container: A container package only contains sub packages and OSGi configuration and bundles.
The container package is only used as container for deployment.mixed: Catch all type for a combination of the above.public void setPrefix(String prefix)
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 occurrsCopyright © 2019 The Apache Software Foundation. All rights reserved.