|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
com.gridsystems.maven.furabuild.AbstractFuraBuildMojo
public abstract class AbstractFuraBuildMojo
Base class for all fura-build mojos.
This class holds all configuration fields, in order to ensure that a single configuration can be specified for all possible goals.
Field Summary | |
---|---|
protected java.lang.String |
defaultTag
TagVersionMojo configuration: Version used if no tag.txt file is found. |
protected org.apache.maven.artifact.factory.ArtifactFactory |
factory
Used to look up Artifacts in the remote repository. |
protected org.apache.maven.artifact.repository.ArtifactRepository |
local
Location of the local repository. |
protected java.io.File |
location
TagVersionMojo configuration: Tag file location. |
protected java.util.List<java.lang.String> |
locations
TagVersionMojo configuration: List of "locations" to parse. |
protected java.io.File |
outputDirectory
PluginGenMojo configuration: Generated resource output directory. |
protected org.apache.maven.project.MavenProject |
project
Reference to the Maven project. |
protected org.apache.maven.project.MavenProjectHelper |
projectHelper
|
protected org.apache.maven.artifact.resolver.ArtifactResolver |
resolver
Used to look up Artifacts in the remote repository. |
protected org.apache.maven.artifact.metadata.ArtifactMetadataSource |
source
The artifact metadata source used to resolve dependencies. |
Fields inherited from interface org.apache.maven.plugin.Mojo |
---|
ROLE |
Constructor Summary | |
---|---|
AbstractFuraBuildMojo()
|
Method Summary | |
---|---|
protected void |
processLocation(java.util.Properties props,
java.io.File loc,
java.lang.String prefix,
java.lang.String defTag)
Processes a tag.txt location and puts the obtained information into props. |
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 |
---|
protected java.io.File location
protected java.lang.String defaultTag
protected java.util.List<java.lang.String> locations
protected java.io.File outputDirectory
protected org.apache.maven.project.MavenProject project
protected org.apache.maven.project.MavenProjectHelper projectHelper
protected org.apache.maven.artifact.repository.ArtifactRepository local
protected org.apache.maven.artifact.resolver.ArtifactResolver resolver
protected org.apache.maven.artifact.factory.ArtifactFactory factory
protected org.apache.maven.artifact.metadata.ArtifactMetadataSource source
Constructor Detail |
---|
public AbstractFuraBuildMojo()
Method Detail |
---|
protected final void processLocation(java.util.Properties props, java.io.File loc, java.lang.String prefix, java.lang.String defTag) throws org.apache.maven.plugin.MojoExecutionException
Processes a tag.txt location and puts the obtained information into props.
props
- Destination of all obtained informationloc
- Folder containing the tag.txt file to processprefix
- Prefix used for generated propertiesdefTag
- Default tag used if no tag.txt file is found
org.apache.maven.plugin.MojoExecutionException
- If an error occurs
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |