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 void
addCompileSourceRoot(String path)
void
execute()
protected abstract File
getGeneratedDirectory()
protected abstract File
getOutputDirectory()
protected abstract File
getSourceDirectory()
-
-
-
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.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
-
-