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.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 String[] DEFAULT_INCLUDES
           
 
Fields inherited from class org.apache.sling.maven.projectsupport.AbstractLaunchpadFrameworkMojo
baseDestination, bundlesDirectory
 
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
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
 
Methods inherited from class org.apache.sling.maven.projectsupport.AbstractBundleListMojo
execute, 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

DEFAULT_INCLUDES

public static final 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: AbstractBundleListMojo
Execute the logic of the plugin after the default artifacts have been initialized.

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


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