public abstract class AbstractLaunchpadStartingMojo extends AbstractUsingBundleListMojo implements org.apache.sling.launchpad.base.shared.Notifiable
BUNDLE_PATH_PREFIX, CONFIG_PATH_PREFIX, defaultBundleList, JAR, mavenFileFilter, WARbundleListFile, 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, shouldCopycopyDirectory, getArtifact, getArtifactpublic void stopped()
stopped in interface org.apache.sling.launchpad.base.shared.Notifiablepublic void updated(File updateFile)
updated in interface org.apache.sling.launchpad.base.shared.Notifiableprotected void executeWithArtifacts()
throws org.apache.maven.plugin.MojoExecutionException
executeWithArtifacts in class AbstractUsingBundleListMojoorg.apache.maven.plugin.MojoExecutionExceptionprotected 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.BundleExceptionprotected void stopSling()
protected void initArtifactDefinitions(Properties dependencies)
AbstractUsingBundleListMojoinitArtifactDefinitions in class AbstractUsingBundleListMojodependencies - the dependency properties loaded from the JAR fileprotected void initBundleList(BundleList bundleList)
initBundleList in class AbstractUsingBundleListMojoCopyright © 2007–2015 The Apache Software Foundation. All rights reserved.