@Mojo(name="prepare-package", defaultPhase=PREPARE_PACKAGE, requiresDependencyResolution=TEST) public class PreparePackageMojo extends AbstractLaunchpadFrameworkMojo
baseDestination
BUNDLE_PATH_PREFIX, CONFIG_PATH_PREFIX, defaultBundleList, JAR, mavenFileFilter, WAR
bundleListFile, 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, getPathForArtifact
execute, getConfigDirectory, getInitializedBundleList, getSlingBootstrap, getSlingProperties, shouldCopy
copyDirectory, getArtifact, getArtifact
public void executeWithArtifacts() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
AbstractUsingBundleListMojo
executeWithArtifacts
in class AbstractUsingBundleListMojo
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
protected void initArtifactDefinitions(Properties dependencies)
AbstractUsingBundleListMojo
initArtifactDefinitions
in class AbstractUsingBundleListMojo
dependencies
- the dependency properties loaded from the JAR fileprotected void initBundleList(BundleList bundleList)
initBundleList
in class AbstractUsingBundleListMojo
protected File getOutputDirectory()
protected void unpackBaseArtifact() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.