|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.apache.sling.maven.projectsupport.AbstractBundleListMojo
org.apache.sling.maven.projectsupport.AbstractUsingBundleListMojo
public abstract class AbstractUsingBundleListMojo
| Field Summary | |
|---|---|
protected static java.lang.String |
BUNDLE_PATH_PREFIX
|
protected static java.lang.String |
CONFIG_PATH_PREFIX
|
protected ArtifactDefinition |
defaultBundleList
The definition of the defaultBundleList artifact. |
protected static java.lang.String |
JAR
JAR Packaging type. |
protected org.apache.maven.shared.filtering.MavenFileFilter |
mavenFileFilter
|
protected static java.lang.String |
WAR
WAR Packaging type. |
| 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 | |
|---|---|
AbstractUsingBundleListMojo()
|
|
| Method Summary | |
|---|---|
void |
execute()
|
protected abstract void |
executeWithArtifacts()
Execute the logic of the plugin after the default artifacts have been initialized. |
protected java.io.File |
getConfigDirectory()
|
protected BundleList |
getInitializedBundleList()
|
protected java.lang.String |
getSlingBootstrap(boolean standalone)
Try to read the bootstrap command file and return its content The filter is copied to a tmp location to apply filtering. |
protected java.util.Properties |
getSlingProperties(boolean standalone)
|
protected void |
initArtifactDefinitions(java.util.Properties dependencies)
Hook methods for subclasses to initialize any additional artifact definitions. |
protected void |
initBundleList(BundleList bundleList)
Hook methods for subclasses to initialize the bundle list. |
protected static boolean |
shouldCopy(java.io.File source,
java.io.File dest)
|
| 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 |
|---|
protected static final java.lang.String JAR
protected static final java.lang.String WAR
protected static final java.lang.String CONFIG_PATH_PREFIX
protected static final java.lang.String BUNDLE_PATH_PREFIX
protected ArtifactDefinition defaultBundleList
protected org.apache.maven.shared.filtering.MavenFileFilter mavenFileFilter
| Constructor Detail |
|---|
public AbstractUsingBundleListMojo()
| Method Detail |
|---|
protected static boolean shouldCopy(java.io.File source,
java.io.File dest)
public final void execute()
throws org.apache.maven.plugin.MojoFailureException,
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionprotected java.io.File getConfigDirectory()
getConfigDirectory in class AbstractBundleListMojo
protected abstract void executeWithArtifacts()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureExceptionprotected BundleList getInitializedBundleList()
protected void initArtifactDefinitions(java.util.Properties dependencies)
dependencies - the dependency properties loaded from the JAR fileprotected void initBundleList(BundleList bundleList)
protected java.util.Properties getSlingProperties(boolean standalone)
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected java.lang.String getSlingBootstrap(boolean standalone)
throws org.apache.maven.plugin.MojoExecutionException
null
org.apache.maven.plugin.MojoExecutionException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||