Package org.bonitasoft.plugin.bdm.module
Class CreateBdmModuleMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.bonitasoft.plugin.bdm.module.CreateBdmModuleMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="create-bdm-module", defaultPhase=NONE) public class CreateBdmModuleMojo extends org.apache.maven.plugin.AbstractMojoThis mojo creates a bdm module and its submodules in the current project with a Business Object Model descriptor sample file.
-
-
Field Summary
Fields Modifier and Type Field Description protected StringbonitaProjectIdSpecify the Bonita project id that will determine the artifact ids of the generated modules.protected org.apache.maven.project.MavenProjectproject
-
Constructor Summary
Constructors Constructor Description CreateBdmModuleMojo(BdmModuleGeneratorImpl moduleGenerator, DefaultBomFactory defaultBomProvider, org.sonatype.plexus.build.incremental.BuildContext buildContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()
-
-
-
Field Detail
-
project
@Parameter(defaultValue="${project}", required=true, readonly=true) protected org.apache.maven.project.MavenProject project
-
bonitaProjectId
@Parameter(required=true, property="bonitaProjectId") protected String bonitaProjectIdSpecify the Bonita project id that will determine the artifact ids of the generated modules. This id must be consistent with the parent project.
-
-
Constructor Detail
-
CreateBdmModuleMojo
@Inject public CreateBdmModuleMojo(BdmModuleGeneratorImpl moduleGenerator, DefaultBomFactory defaultBomProvider, org.sonatype.plexus.build.incremental.BuildContext buildContext)
-
-