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.AbstractMojo
This mojo creates a bdm module and its submodules in the current project with a Business Object Model descriptor sample file.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringSpecify the Bonita project id that will determine the artifact ids of the generated modules.protected org.apache.maven.project.MavenProjectFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
ConstructorsConstructorDescriptionCreateBdmModuleMojo(BdmModuleGeneratorImpl moduleGenerator, DefaultBomFactory defaultBomProvider, org.sonatype.plexus.build.incremental.BuildContext buildContext) -
Method Summary
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
project
@Parameter(defaultValue="${project}", required=true, readonly=true) protected org.apache.maven.project.MavenProject project -
bonitaProjectId
Specify the Bonita project id that will determine the artifact ids of the generated modules. This id must be consistent with the parent project.
-
-
Constructor Details
-
CreateBdmModuleMojo
@Inject public CreateBdmModuleMojo(BdmModuleGeneratorImpl moduleGenerator, DefaultBomFactory defaultBomProvider, org.sonatype.plexus.build.incremental.BuildContext buildContext)
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-