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 AbstractGenerateBdmMojoThis 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, project
-
-
Constructor Summary
Constructors Constructor Description GenerateBdmModelSourceMojo(BusinessDataModelParser businessDataModelReader, BusinessDataModelGenerator generator, org.sonatype.plexus.build.incremental.BuildContext buildContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Predicate<Path>excludedGeneratedSources()Only keep source files relevant for the bdm-model module.-
Methods inherited from class org.bonitasoft.plugin.bdm.codegen.AbstractGenerateBdmMojo
execute
-
-
-
-
Constructor Detail
-
GenerateBdmModelSourceMojo
@Inject public GenerateBdmModelSourceMojo(BusinessDataModelParser businessDataModelReader, BusinessDataModelGenerator generator, org.sonatype.plexus.build.incremental.BuildContext buildContext)
-
-
Method Detail
-
excludedGeneratedSources
protected Predicate<Path> excludedGeneratedSources()
Only keep source files relevant for the bdm-model module.- Specified by:
excludedGeneratedSourcesin classAbstractGenerateBdmMojo
-
-