org.apache.sling.maven.projectsupport
Class AbstractBundleListMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.sling.maven.projectsupport.AbstractBundleListMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
- AbstractUsingBundleListMojo, AttachPartialBundleListMojo
public abstract class AbstractBundleListMojo
- extends org.apache.maven.plugin.AbstractMojo
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Method Summary |
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 java.io.File |
getConfigDirectory()
|
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 |
Methods inherited from interface org.apache.maven.plugin.Mojo |
execute |
PARTIAL
protected static final java.lang.String PARTIAL
- Partial Bundle List type
- See Also:
- Constant Field Values
bundleListFile
protected java.io.File bundleListFile
project
protected org.apache.maven.project.MavenProject project
- The Maven project.
projectHelper
protected org.apache.maven.project.MavenProjectHelper projectHelper
commonSlingProps
protected java.io.File commonSlingProps
commonSlingBootstrap
protected java.io.File commonSlingBootstrap
webappSlingProps
protected java.io.File webappSlingProps
webappSlingBootstrap
protected java.io.File webappSlingBootstrap
standaloneSlingProps
protected java.io.File standaloneSlingProps
standaloneSlingBootstrap
protected java.io.File standaloneSlingBootstrap
ignoreBundleListConfig
protected boolean ignoreBundleListConfig
mavenSession
protected org.apache.maven.execution.MavenSession mavenSession
AbstractBundleListMojo
public AbstractBundleListMojo()
getConfigDirectory
protected java.io.File getConfigDirectory()
getArtifact
protected org.apache.maven.artifact.Artifact getArtifact(ArtifactDefinition def)
throws org.apache.maven.plugin.MojoExecutionException
- Get a resolved Artifact from the coordinates found in the artifact
definition.
- Parameters:
def
- the artifact definition
- Returns:
- the artifact, which has been resolved
- Throws:
org.apache.maven.plugin.MojoExecutionException
getArtifact
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
- Get a resolved Artifact from the coordinates provided
- Returns:
- the artifact, which has been resolved.
- Throws:
org.apache.maven.plugin.MojoExecutionException
Copyright © 2007-2012 The Apache Software Foundation. All Rights Reserved.