Class GenerateBdmModelSourceMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.bonitasoft.plugin.bdm.codegen.AbstractGenerateBdmMojo
org.bonitasoft.plugin.bdm.codegen.GenerateBdmModelSourceMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="generate-bdm-model",
defaultPhase=GENERATE_SOURCES,
threadSafe=true)
public class GenerateBdmModelSourceMojo
extends AbstractGenerateBdmMojo
This mojo generates the BDM model java source code from the given Business Object Model descriptor file.
-
Field Summary
Fields inherited from class org.bonitasoft.plugin.bdm.codegen.AbstractGenerateBdmMojo
bdmModelFile, outputFolder, projectFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
ConstructorsConstructorDescriptionGenerateBdmModelSourceMojo(BusinessDataModelParser businessDataModelReader, BusinessDataModelGenerator generator, org.sonatype.plexus.build.incremental.BuildContext buildContext) -
Method Summary
Modifier and TypeMethodDescriptionOnly keep source files relevant for the bdm-model module.Methods inherited from class org.bonitasoft.plugin.bdm.codegen.AbstractGenerateBdmMojo
executeMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
GenerateBdmModelSourceMojo
@Inject public GenerateBdmModelSourceMojo(BusinessDataModelParser businessDataModelReader, BusinessDataModelGenerator generator, org.sonatype.plexus.build.incremental.BuildContext buildContext)
-
-
Method Details
-
excludedGeneratedSources
Only keep source files relevant for the bdm-model module.- Specified by:
excludedGeneratedSourcesin classAbstractGenerateBdmMojo
-