Class CreateExtensionsModuleMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.bonitasoft.plugin.extension.CreateExtensionsModuleMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="create-extensions-module", defaultPhase=NONE) public class CreateExtensionsModuleMojo extends org.apache.maven.plugin.AbstractMojo
This mojo creates an extensions module in the current project.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected String
    Specify the Bonita project id that will determine the artifact ids of the generated modules.
    protected org.apache.maven.project.MavenProject
     

    Fields inherited from interface org.apache.maven.plugin.Mojo

    ROLE
  • Constructor Summary

    Constructors
    Constructor
    Description
    CreateExtensionsModuleMojo(ExtensionsModuleGeneratorImpl moduleGenerator, org.sonatype.plexus.build.incremental.BuildContext buildContext)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     

    Methods inherited from class org.apache.maven.plugin.AbstractMojo

    getLog, getPluginContext, setLog, setPluginContext

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • project

      @Parameter(defaultValue="${project}", required=true, readonly=true) protected org.apache.maven.project.MavenProject project
    • bonitaProjectId

      @Parameter(required=true, property="bonitaProjectId") protected String 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

    • CreateExtensionsModuleMojo

      @Inject public CreateExtensionsModuleMojo(ExtensionsModuleGeneratorImpl moduleGenerator, 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.MojoExecutionException
      org.apache.maven.plugin.MojoFailureException