Class 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 Detail

      • 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 Detail

      • CreateExtensionsModuleMojo

        @Inject
        public CreateExtensionsModuleMojo​(ExtensionsModuleGeneratorImpl moduleGenerator,
                                          org.sonatype.plexus.build.incremental.BuildContext buildContext)
    • Method Detail

      • 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