Class GeneratorMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.camunda.community.bpmndt.GeneratorMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="generator", defaultPhase=GENERATE_TEST_SOURCES) public class GeneratorMojo extends org.apache.maven.plugin.AbstractMojo
Maven plugin goal, which runs a Generator.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected String
    Package name of the generated Java test case files.
    protected org.apache.maven.project.MavenProject
     

    Fields inherited from interface org.apache.maven.plugin.Mojo

    ROLE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     

    Methods inherited from class org.apache.maven.plugin.AbstractMojo

    getLog, getPluginContext, setLog, setPluginContext

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • project

      @Parameter(defaultValue="${project}", required=true, readonly=true) protected org.apache.maven.project.MavenProject project
    • packageName

      @Parameter(defaultValue="generated", required=true) protected String packageName
      Package name of the generated Java test case files.
  • Constructor Details

    • GeneratorMojo

      public GeneratorMojo()
  • Method Details

    • execute

      public void execute() throws org.apache.maven.plugin.MojoFailureException
      Throws:
      org.apache.maven.plugin.MojoFailureException