org.apache.sling.maven.projectsupport
Class AbstractBundleListMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by 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


Field Summary
protected  java.io.File bundleListFile
           
protected  java.io.File commonSlingBootstrap
           
protected  java.io.File commonSlingProps
           
protected  boolean ignoreBundleListConfig
           
protected  org.apache.maven.execution.MavenSession mavenSession
           
protected static java.lang.String PARTIAL
          Partial Bundle List type
protected  org.apache.maven.project.MavenProject project
          The Maven project.
protected  org.apache.maven.project.MavenProjectHelper projectHelper
           
protected  java.io.File standaloneSlingBootstrap
           
protected  java.io.File standaloneSlingProps
           
protected  java.io.File webappSlingBootstrap
           
protected  java.io.File webappSlingProps
           
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AbstractBundleListMojo()
           
 
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
 

Field Detail

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
Constructor Detail

AbstractBundleListMojo

public AbstractBundleListMojo()
Method Detail

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.