Class GenerateTestSourcesMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- net.morimekta.providence.maven.plugin.BaseGenerateSourcesMojo
-
- net.morimekta.providence.maven.plugin.GenerateTestSourcesMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="testGenerate", defaultPhase=GENERATE_TEST_SOURCES, instantiationStrategy=PER_LOOKUP, threadSafe=true) public class GenerateTestSourcesMojo extends BaseGenerateSourcesMojo
Generate providence test sources from thrift definitions.
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
skipTestGenerate
Skip the providence test compile step for this module.protected org.codehaus.plexus.components.io.fileselectors.IncludeExcludeFileSelector
testInput
Files to compile.-
Fields inherited from class net.morimekta.providence.maven.plugin.BaseGenerateSourcesMojo
allow_language_reserved_names, buildDir, compileOutput, generate_providence_core_types, generated_annotation_date, generated_annotation_version, hazelcast_portable, jackson, print_debug, project, require_enum_value, require_field_id, rw_binary, serializable, skipIfMissingNamespace
-
-
Constructor Summary
Constructors Constructor Description GenerateTestSourcesMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
-
-
-
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 propertyprovidence.test.input
.
-
-