Class AbstractConfigGeneratorMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.jvnet.hk2.config.generator.maven.AbstractConfigGeneratorMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
ConfigGeneratorMojo,TestConfigGeneratorMojo
public abstract class AbstractConfigGeneratorMojo extends org.apache.maven.plugin.AbstractMojo- Author:
- jwells Abstract Mojo for config generator
-
-
Constructor Summary
Constructors Constructor Description AbstractConfigGeneratorMojo()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract voidaddCompileSourceRoot(String path)voidexecute()protected abstract FilegetGeneratedDirectory()protected abstract FilegetOutputDirectory()protected abstract FilegetSourceDirectory()
-
-
-
Field Detail
-
GENERATED_SOURCES
protected static final String GENERATED_SOURCES
- See Also:
- Constant Field Values
-
MAIN_NAME
protected static final String MAIN_NAME
- See Also:
- Constant Field Values
-
TEST_NAME
protected static final String TEST_NAME
- See Also:
- Constant Field Values
-
JAVA_NAME
protected static final String JAVA_NAME
- See Also:
- Constant Field Values
-
project
protected org.apache.maven.project.MavenProject project
The maven project.
-
-
Method Detail
-
getSourceDirectory
protected abstract File getSourceDirectory()
-
getGeneratedDirectory
protected abstract File getGeneratedDirectory()
-
getOutputDirectory
protected abstract File getOutputDirectory()
-
addCompileSourceRoot
protected abstract void addCompileSourceRoot(String path)
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-
-