Class GenerateTestSourcesMojo

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

    @Mojo(name="testGenerate",
          defaultPhase=GENERATE_TEST_SOURCES,
          instantiationStrategy=PER_LOOKUP)
    public class GenerateTestSourcesMojo
    extends BaseGenerateSourcesMojo
    Generate providence test sources from thrift definitions.
    • Field Detail

      • skipTestGenerate

        @Parameter(alias="skip",
                   property="providence.skip",
                   defaultValue="false")
        protected boolean skipTestGenerate
        Skip the providence test compile step for this module.
      • testInput

        @Parameter(alias="testInputFiles")
        protected org.codehaus.plexus.components.io.fileselectors.IncludeExcludeFileSelector testInput
        Files to compile. By default will select all '.thrift' files in 'src/test/providence/' and subdirectories. Simple includes can be specified by property providence.test.input.
    • Constructor Detail

      • GenerateTestSourcesMojo

        public GenerateTestSourcesMojo()
    • Method Detail

      • 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