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
  • Field Details

    • targetDirectory

      @Parameter(required=true, defaultValue="${project.build.directory}/generated-resources/tinder") protected File targetDirectory
    • fileName

      @Parameter(required=true) protected String 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:
      doExecute in class AbstractGeneratorMojo
      Throws:
      org.apache.maven.plugin.MojoExecutionException
      org.apache.maven.plugin.MojoFailureException
    • getTargetDirectory

      public File getTargetDirectory()
      Specified by:
      getTargetDirectory in class AbstractGeneratorMojo