public abstract class AbstractBundleListMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
protected File |
bundleListFile |
protected File |
commonSlingBootstrap |
protected File |
commonSlingProps |
protected boolean |
ignoreBundleListConfig |
protected org.apache.maven.execution.MavenSession |
mavenSession |
protected static String |
PARTIAL
Partial Bundle List type
|
protected org.apache.maven.project.MavenProject |
project
The Maven project.
|
protected org.apache.maven.project.MavenProjectHelper |
projectHelper |
protected File |
standaloneSlingBootstrap |
protected File |
standaloneSlingProps |
protected File |
webappSlingBootstrap |
protected File |
webappSlingProps |
| Constructor and Description |
|---|
AbstractBundleListMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
copyDirectory(File source,
File target,
String[] includes,
String[] excludes)
Helper method to copy a whole directory
|
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 File |
getConfigDirectory() |
getLog, getPluginContext, setLog, setPluginContextprotected static final String PARTIAL
@Parameter(defaultValue="${basedir}/src/main/bundles/list.xml")
protected File bundleListFile
@Parameter(defaultValue="${project}",
readonly=true)
protected org.apache.maven.project.MavenProject project
@Component protected org.apache.maven.project.MavenProjectHelper projectHelper
@Parameter(property="commonSlingProps",
defaultValue="src/main/sling/common.properties")
protected File commonSlingProps
@Parameter(property="commonSlingBootstrap",
defaultValue="src/main/sling/common.bootstrap.txt")
protected File commonSlingBootstrap
@Parameter(property="webappSlingProps",
defaultValue="src/main/sling/webapp.properties")
protected File webappSlingProps
@Parameter(property="webappSlingBootstrap",
defaultValue="src/main/sling/webapp.bootstrap.txt")
protected File webappSlingBootstrap
@Parameter(property="standaloneSlingProps",
defaultValue="src/main/sling/standalone.properties")
protected File standaloneSlingProps
@Parameter(property="standaloneSlingBootstrap",
defaultValue="src/main/sling/standalone.bootstrap.txt")
protected File standaloneSlingBootstrap
@Parameter(property="ignoreBundleListConfig",
defaultValue="false")
protected boolean ignoreBundleListConfig
@Parameter(defaultValue="${session}",
readonly=true)
protected org.apache.maven.execution.MavenSession mavenSession
protected File getConfigDirectory()
protected org.apache.maven.artifact.Artifact getArtifact(ArtifactDefinition def) throws org.apache.maven.plugin.MojoExecutionException
def - the artifact definitionorg.apache.maven.plugin.MojoExecutionExceptionprotected 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.MojoExecutionExceptionprotected void copyDirectory(File source, File target, String[] includes, String[] excludes) throws IOException
IOExceptionCopyright © 2007–2015 The Apache Software Foundation. All rights reserved.