public abstract class AbstractLaunchpadStartingMojo extends AbstractUsingBundleListMojo implements org.apache.sling.launchpad.base.shared.Notifiable
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 |
---|
AbstractLaunchpadStartingMojo() |
Modifier and Type | Method and Description |
---|---|
protected void |
executeWithArtifacts()
Execute the logic of the plugin after the default artifacts have been
initialized.
|
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 abstract org.apache.sling.launchpad.base.impl.Sling |
startSling(org.apache.sling.launchpad.api.LaunchpadContentProvider resourceProvider,
Map<String,String> props,
org.apache.felix.framework.Logger logger) |
void |
stopped() |
protected void |
stopSling() |
void |
updated(File updateFile) |
execute, getConfigDirectory, getInitializedBundleList, getSlingBootstrap, getSlingProperties, shouldCopy
copyDirectory, getArtifact, getArtifact
public void stopped()
stopped
in interface org.apache.sling.launchpad.base.shared.Notifiable
public void updated(File updateFile)
updated
in interface org.apache.sling.launchpad.base.shared.Notifiable
protected void executeWithArtifacts() throws org.apache.maven.plugin.MojoExecutionException
executeWithArtifacts
in class AbstractUsingBundleListMojo
org.apache.maven.plugin.MojoExecutionException
protected abstract org.apache.sling.launchpad.base.impl.Sling startSling(org.apache.sling.launchpad.api.LaunchpadContentProvider resourceProvider, Map<String,String> props, org.apache.felix.framework.Logger logger) throws org.osgi.framework.BundleException
org.osgi.framework.BundleException
protected void stopSling()
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
Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.