|
||||||||||
| 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
public abstract class AbstractBundleListMojo
| Field Summary | |
|---|---|
protected java.io.File |
bundleListFile
|
protected ArtifactDefinition |
defaultBundleList
The definition of the defaultBundleList artifact. |
protected static java.lang.String |
JAR
JAR Packaging type. |
protected org.apache.maven.execution.MavenSession |
mavenSession
|
protected org.apache.maven.project.MavenProject |
project
The Maven project. |
protected org.apache.maven.project.MavenProjectHelper |
projectHelper
|
protected static java.lang.String |
WAR
WAR Packaging type. |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
AbstractBundleListMojo()
|
|
| Method Summary | |
|---|---|
void |
execute()
|
protected abstract void |
executeWithArtifacts()
Execute the logic of the plugin after the default artifacts have been initialized. |
protected org.apache.maven.artifact.Artifact |
getArtifact(ArtifactDefinition def)
Get a resolved Artifact from the coordinates found in the artifact definition. |
protected org.apache.maven.artifact.Artifact |
getArtifact(java.lang.String groupId,
java.lang.String artifactId,
java.lang.String version,
java.lang.String type,
java.lang.String classifier)
Get a resolved Artifact from the coordinates provided |
protected BundleList |
getBundleList()
|
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 boolean |
isCurrentArtifact(ArtifactDefinition def)
|
protected static boolean |
shouldCopy(java.io.File source,
java.io.File dest)
|
| 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 java.io.File bundleListFile
protected ArtifactDefinition defaultBundleList
protected org.apache.maven.project.MavenProject project
protected org.apache.maven.project.MavenProjectHelper projectHelper
protected org.apache.maven.execution.MavenSession mavenSession
| Constructor Detail |
|---|
public AbstractBundleListMojo()
| 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.MojoExecutionException
protected abstract void executeWithArtifacts()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
protected org.apache.maven.artifact.Artifact getArtifact(ArtifactDefinition def)
throws org.apache.maven.plugin.MojoExecutionException
def - the artifact definition
org.apache.maven.plugin.MojoExecutionException
protected org.apache.maven.artifact.Artifact getArtifact(java.lang.String groupId,
java.lang.String artifactId,
java.lang.String version,
java.lang.String type,
java.lang.String classifier)
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected BundleList getBundleList()
protected void initArtifactDefinitions(java.util.Properties dependencies)
dependencies - the dependency properties loaded from the JAR fileprotected void initBundleList(BundleList bundleList)
protected boolean isCurrentArtifact(ArtifactDefinition def)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||