@Mojo(name="prepare-package",
defaultPhase=PREPARE_PACKAGE,
requiresDependencyResolution=TEST)
public class PreparePackageMojo
extends AbstractLaunchpadFrameworkMojo
baseDestinationBUNDLE_PATH_PREFIX, CONFIG_PATH_PREFIX, defaultBundleList, JAR, mavenFileFilter, WARbundleListFile, commonSlingBootstrap, commonSlingProps, ignoreBundleListConfig, mavenSession, PARTIAL, project, projectHelper, standaloneSlingBootstrap, standaloneSlingProps, webappSlingBootstrap, webappSlingProps| Constructor and Description |
|---|
PreparePackageMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
executeWithArtifacts()
Execute the logic of the plugin after the default artifacts have been
initialized.
|
protected File |
getOutputDirectory() |
protected void |
initArtifactDefinitions(Properties dependencies)
Hook methods for subclasses to initialize any additional artifact
definitions.
|
protected void |
initBundleList(BundleList bundleList)
Add the JAR Web Support bundle to the bundle list.
|
protected void |
unpackBaseArtifact() |
copy, copy, copyBundles, getPathForArtifactexecute, getConfigDirectory, getInitializedBundleList, getSlingBootstrap, getSlingProperties, shouldCopycopyDirectory, getArtifact, getArtifactpublic void executeWithArtifacts()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
AbstractUsingBundleListMojoexecuteWithArtifacts in class AbstractUsingBundleListMojoorg.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected void initArtifactDefinitions(Properties dependencies)
AbstractUsingBundleListMojoinitArtifactDefinitions in class AbstractUsingBundleListMojodependencies - the dependency properties loaded from the JAR fileprotected void initBundleList(BundleList bundleList)
initBundleList in class AbstractUsingBundleListMojoprotected File getOutputDirectory()
protected void unpackBaseArtifact()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionCopyright © 2007–2015 The Apache Software Foundation. All rights reserved.