Package com.fluxtion.maven
Class FluxtionGeneratorMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
com.fluxtion.maven.FluxtionGeneratorMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="generate",
requiresProject=true,
requiresDependencyResolution=COMPILE,
defaultPhase=COMPILE)
public class FluxtionGeneratorMojo
extends org.apache.maven.plugin.AbstractMojo
A mojo to wrap the invocation of the Fluxtion executable.
- Author:
- Greg Higgins (greg.higgins@v12technology.com)
-
Field Summary
Fields Modifier and Type Field Description booleanassignNonPublicMembersOverride whether the generated static event processor supports reflection based assignment for initialisation.booleancompileGeneratedCompile the source artifacts, placing the results in the build directorybooleanformatSourceFormat the generated source files.booleangenerateDebugPrepGenerate a debug version of the static event processor for use with the fluxtion graphical debugger tool.booleangenerateDescriptionGenerate meta data for the generated static event processor.booleangenerateTestDecoratorGenerate a test decorator for the static event processorbooleanignoreErrorscontinue build even if fluxtion tool returns an errorbooleanlogDebugSet log level to debug for fluxtion generation. -
Constructor Summary
Constructors Constructor Description FluxtionGeneratorMojo() -
Method Summary
Modifier and Type Method Description voidexecute()
-
Field Details
-
generateDebugPrep
@Parameter(property="generateDebugPrep", defaultValue="false") public boolean generateDebugPrepGenerate a debug version of the static event processor for use with the fluxtion graphical debugger tool. -
generateDescription
@Parameter(property="generateDescription", defaultValue="true") public boolean generateDescriptionGenerate meta data for the generated static event processor. The meta includes a png and graphml describing the SEP. -
generateTestDecorator
@Parameter(property="generateTestDecorator", defaultValue="false") public boolean generateTestDecoratorGenerate a test decorator for the static event processor -
assignNonPublicMembers
@Parameter(property="assignNonPublicMembers", defaultValue="false") public boolean assignNonPublicMembersOverride whether the generated static event processor supports reflection based assignment for initialisation. -
compileGenerated
@Parameter(property="compileGenerated", defaultValue="true") public boolean compileGeneratedCompile the source artifacts, placing the results in the build directory -
formatSource
@Parameter(property="formatSource", defaultValue="true") public boolean formatSourceFormat the generated source files. -
logDebug
@Parameter(property="logDebug", defaultValue="false") public boolean logDebugSet log level to debug for fluxtion generation. -
ignoreErrors
@Parameter(property="ignoreErrors", defaultValue="false") public boolean ignoreErrorscontinue build even if fluxtion tool returns an error
-
-
Constructor Details
-
FluxtionGeneratorMojo
public FluxtionGeneratorMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-