org.apache.sling.maven.projectsupport
Class AbstractLaunchpadFrameworkMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.sling.maven.projectsupport.AbstractBundleListMojo
org.apache.sling.maven.projectsupport.AbstractUsingBundleListMojo
org.apache.sling.maven.projectsupport.AbstractLaunchpadFrameworkMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
- CreateBundleJarMojo, PreparePackageMojo
public abstract class AbstractLaunchpadFrameworkMojo
- extends AbstractUsingBundleListMojo
This class contains the Launchpad-framework specific utility methods.
Field Summary |
protected java.lang.String |
baseDestination
The name of the directory within the output directory into which the base
JAR should be installed. |
Fields inherited from class org.apache.sling.maven.projectsupport.AbstractBundleListMojo |
bundleListFile, commonSlingBootstrap, commonSlingProps, ignoreBundleListConfig, mavenSession, PARTIAL, project, projectHelper, standaloneSlingBootstrap, standaloneSlingProps, webappSlingBootstrap, webappSlingProps |
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Method Summary |
protected void |
copy(ArtifactDefinition additionalBundle,
java.io.File outputDirectory)
|
protected void |
copy(java.io.File file,
int startLevel,
java.io.File outputDirectory)
|
protected void |
copyBundles(BundleList bundles,
java.io.File outputDirectory)
|
protected java.lang.String |
getPathForArtifact(int startLevel,
java.lang.String artifactName)
|
Methods inherited from class org.apache.maven.plugin.AbstractMojo |
getLog, getPluginContext, setLog, setPluginContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
baseDestination
protected java.lang.String baseDestination
- The name of the directory within the output directory into which the base
JAR should be installed.
AbstractLaunchpadFrameworkMojo
public AbstractLaunchpadFrameworkMojo()
getPathForArtifact
protected java.lang.String getPathForArtifact(int startLevel,
java.lang.String artifactName)
copyBundles
protected void copyBundles(BundleList bundles,
java.io.File outputDirectory)
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
copy
protected void copy(ArtifactDefinition additionalBundle,
java.io.File outputDirectory)
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
copy
protected void copy(java.io.File file,
int startLevel,
java.io.File outputDirectory)
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
Copyright © 2007-2012 The Apache Software Foundation. All Rights Reserved.