|
||||||||||
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 static String |
BUNDLE_PATH_PREFIX
|
protected File |
bundleListFile
|
protected static String |
CONFIG_PATH_PREFIX
|
protected File |
configDirectory
|
protected ArtifactDefinition |
defaultBundleList
The definition of the defaultBundleList artifact. |
protected static 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 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(String groupId,
String artifactId,
String version,
String type,
String classifier)
Get a resolved Artifact from the coordinates provided |
protected BundleList |
getBundleList()
|
protected void |
initArtifactDefinitions(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(File source,
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 File configDirectory
protected static final String JAR
protected static final String WAR
protected static final String CONFIG_PATH_PREFIX
protected static final String BUNDLE_PATH_PREFIX
protected 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(File source, 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(String groupId, String artifactId, String version, String type, String classifier) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected BundleList getBundleList()
protected void initArtifactDefinitions(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 |