Class CreateContainerMojo

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

    @Mojo(name="create-container",
          defaultPhase=DEPLOY,
          threadSafe=true,
          requiresProject=true)
    public class CreateContainerMojo
    extends KieControllerMojo
    Create new container on server template
    • Field Detail

      • templateId

        @Parameter(property="kie-ctrl.template-id",
                   required=true)
        protected String templateId
      • container

        @Parameter(property="kie-ctrl.container")
        protected String container
      • project

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

      • CreateContainerMojo

        public CreateContainerMojo()
    • Method Detail

      • executeCommand

        public void executeCommand()
                            throws org.apache.maven.plugin.MojoExecutionException,
                                   org.apache.maven.plugin.MojoFailureException
        Specified by:
        executeCommand in class KieControllerMojo
        Throws:
        org.apache.maven.plugin.MojoExecutionException
        org.apache.maven.plugin.MojoFailureException