Class Antlr4TestGeneratorMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.antlr.mojo.antlr4.testgen.Antlr4TestGeneratorMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="antlr4.testgen", defaultPhase=GENERATE_TEST_SOURCES, requiresDependencyResolution=TEST, requiresProject=true) public class Antlr4TestGeneratorMojo extends org.apache.maven.plugin.AbstractMojo
  • Field Details

    • encoding

      @Parameter(property="project.build.sourceEncoding") private String encoding
    • project

      @Parameter(property="project", readonly=true) private org.apache.maven.project.MavenProject project
    • runtimeTemplates

      @Parameter(property="runtimeTemplates", required=true) private File runtimeTemplates
    • outputDirectory

      @Parameter(defaultValue="${project.build.directory}/generated-test-sources/antlr4-tests") private File outputDirectory
    • visualize

      @Parameter private boolean visualize
  • Constructor Details

    • Antlr4TestGeneratorMojo

      public Antlr4TestGeneratorMojo()
  • Method Details

    • 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