org.apache.sling.maven.projectsupport
Class AbstractLaunchpadFrameworkMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.sling.maven.projectsupport.AbstractBundleListMojo
          extended by 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 AbstractBundleListMojo

This class contains the Launchpad-framework specific utility methods.


Field Summary
protected  String baseDestination
          The name of the directory within the output directory into which the base JAR should be installed.
protected  String bundlesDirectory
          The directory which contains the start-level bundle directories.
 
Fields inherited from class org.apache.sling.maven.projectsupport.AbstractBundleListMojo
BUNDLE_PATH_PREFIX, bundleListFile, CONFIG_PATH_PREFIX, configDirectory, defaultBundleList, JAR, mavenSession, project, projectHelper, WAR
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AbstractLaunchpadFrameworkMojo()
           
 
Method Summary
protected  void copy(ArtifactDefinition additionalBundle, File outputDirectory)
           
protected  void copy(File file, int startLevel, File outputDirectory)
           
protected  void copyBundles(BundleList bundles, File outputDirectory)
           
 
Methods inherited from class org.apache.sling.maven.projectsupport.AbstractBundleListMojo
execute, executeWithArtifacts, getArtifact, getArtifact, getBundleList, initArtifactDefinitions, initBundleList, isCurrentArtifact, shouldCopy
 
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
 

Field Detail

baseDestination

protected String baseDestination
The name of the directory within the output directory into which the base JAR should be installed.


bundlesDirectory

protected String bundlesDirectory
The directory which contains the start-level bundle directories.

Constructor Detail

AbstractLaunchpadFrameworkMojo

public AbstractLaunchpadFrameworkMojo()
Method Detail

copyBundles

protected void copyBundles(BundleList bundles,
                           File outputDirectory)
                    throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException

copy

protected void copy(ArtifactDefinition additionalBundle,
                    File outputDirectory)
             throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException

copy

protected void copy(File file,
                    int startLevel,
                    File outputDirectory)
             throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException


Copyright © 2007-2013 The Apache Software Foundation. All Rights Reserved.