|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.plugin.AbstractMojo org.apache.maven.plugin.plugin.AbstractGeneratorMojo
public abstract class AbstractGeneratorMojo
Abstract class for this Plugin.
Field Summary | |
---|---|
protected Set<org.apache.maven.artifact.Artifact> |
dependencies
The set of dependencies for the current project |
protected String |
encoding
The file encoding of the source files. |
protected Set<String> |
extractors
The role names of mojo extractors to use. |
protected String |
goalPrefix
The goal prefix that will appear before the ":". |
protected org.apache.maven.artifact.repository.ArtifactRepository |
local
Location of the local repository. |
protected MojoScanner |
mojoScanner
The component used for scanning the source tree for mojos. |
protected org.apache.maven.project.MavenProject |
project
The project currently being built. |
protected List<org.apache.maven.artifact.repository.ArtifactRepository> |
remoteRepos
List of Remote Repositories used by the resolver |
protected boolean |
skip
Set this to "true" to skip invoking any goals or reports of the plugin. |
protected boolean |
skipErrorNoDescriptorsFound
By default an exception is throw if no mojo descriptor is found. |
Fields inherited from interface org.apache.maven.plugin.Mojo |
---|
ROLE |
Constructor Summary | |
---|---|
AbstractGeneratorMojo()
|
Method Summary | |
---|---|
protected abstract Generator |
createGenerator()
|
void |
execute()
|
protected abstract File |
getOutputDirectory()
|
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 org.apache.maven.project.MavenProject project
protected MojoScanner mojoScanner
protected String encoding
protected String goalPrefix
protected boolean skipErrorNoDescriptorsFound
protected Set<String> extractors
<!-- Use all mojo extractors --> <extractors/> <!-- Use no mojo extractors --> <extractors> <extractor/> </extractors> <!-- Use only bsh mojo extractor --> <extractors> <extractor>bsh</extractor> </extractors>
protected boolean skip
protected Set<org.apache.maven.artifact.Artifact> dependencies
protected List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepos
protected org.apache.maven.artifact.repository.ArtifactRepository local
Constructor Detail |
---|
public AbstractGeneratorMojo()
Method Detail |
---|
protected abstract File getOutputDirectory()
protected abstract Generator createGenerator()
Generator
implementation.public void execute() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |