Package ca.uhn.fhir.tinder
Class AbstractGeneratorMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
ca.uhn.fhir.tinder.AbstractGeneratorMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
TinderResourceGeneratorMojo,TinderSourcesGeneratorMojo
public abstract class AbstractGeneratorMojo
extends org.apache.maven.plugin.AbstractMojo
Base class for mojo generatorss.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected org.apache.maven.project.MavenProjectprotected final org.slf4j.Loggerprotected Stringprotected Stringprotected StringFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voiddoExecute(Configuration mavenGeneratorConfiguration) final voidexecute()protected abstract FileMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
ourLog
protected final org.slf4j.Logger ourLog -
baseDir
-
packageBase
-
baseResourceNames
-
excludeResourceNames
-
templateName
-
version
-
myProject
@Component protected org.apache.maven.project.MavenProject myProject
-
-
Constructor Details
-
AbstractGeneratorMojo
public AbstractGeneratorMojo()
-
-
Method Details
-
execute
public final void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-
doExecute
protected abstract void doExecute(Configuration mavenGeneratorConfiguration) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException - Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-
getTargetDirectory
-