Package ca.uhn.fhir.tinder
Class TinderResourceGeneratorMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
ca.uhn.fhir.tinder.AbstractGeneratorMojo
ca.uhn.fhir.tinder.TinderResourceGeneratorMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="generate-resource",
defaultPhase=GENERATE_RESOURCES)
public class TinderResourceGeneratorMojo
extends AbstractGeneratorMojo
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class ca.uhn.fhir.tinder.AbstractGeneratorMojo
baseDir, baseResourceNames, excludeResourceNames, myProject, ourLog, packageBase, templateName, versionFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ca.uhn.fhir.tinder.AbstractGeneratorMojo
executeMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
targetDirectory
@Parameter(required=true, defaultValue="${project.build.directory}/generated-resources/tinder") protected File targetDirectory -
fileName
-
-
Constructor Details
-
TinderResourceGeneratorMojo
public TinderResourceGeneratorMojo()
-
-
Method Details
-
doExecute
protected void doExecute(Configuration configuration) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException - Specified by:
doExecutein classAbstractGeneratorMojo- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-
getTargetDirectory
- Specified by:
getTargetDirectoryin classAbstractGeneratorMojo
-