org.apache.sling.maven.projectsupport
Class CreateBundleJarMojo

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.AbstractUsingBundleListMojo
              extended by org.apache.sling.maven.projectsupport.AbstractLaunchpadFrameworkMojo
                  extended by org.apache.sling.maven.projectsupport.CreateBundleJarMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class CreateBundleJarMojo
extends AbstractLaunchpadFrameworkMojo

Create and attach a JAR file containing the resolved artifacts from the bundle list.


Field Summary
static java.lang.String[] DEFAULT_INCLUDES
           
 
Fields inherited from class org.apache.sling.maven.projectsupport.AbstractLaunchpadFrameworkMojo
baseDestination
 
Fields inherited from class org.apache.sling.maven.projectsupport.AbstractUsingBundleListMojo
BUNDLE_PATH_PREFIX, CONFIG_PATH_PREFIX, defaultBundleList, JAR, mavenFileFilter, WAR
 
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
 
Constructor Summary
CreateBundleJarMojo()
           
 
Method Summary
protected  void executeWithArtifacts()
          Execute the logic of the plugin after the default artifacts have been initialized.
 
Methods inherited from class org.apache.sling.maven.projectsupport.AbstractLaunchpadFrameworkMojo
copy, copy, copyBundles, getPathForArtifact
 
Methods inherited from class org.apache.sling.maven.projectsupport.AbstractUsingBundleListMojo
execute, getConfigDirectory, getInitializedBundleList, getSlingBootstrap, getSlingProperties, initArtifactDefinitions, initBundleList, shouldCopy
 
Methods inherited from class org.apache.sling.maven.projectsupport.AbstractBundleListMojo
getArtifact, getArtifact
 
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

DEFAULT_INCLUDES

public static final java.lang.String[] DEFAULT_INCLUDES
Constructor Detail

CreateBundleJarMojo

public CreateBundleJarMojo()
Method Detail

executeWithArtifacts

protected void executeWithArtifacts()
                             throws org.apache.maven.plugin.MojoExecutionException,
                                    org.apache.maven.plugin.MojoFailureException
Description copied from class: AbstractUsingBundleListMojo
Execute the logic of the plugin after the default artifacts have been initialized.

Specified by:
executeWithArtifacts in class AbstractUsingBundleListMojo
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException


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