Class KieServerAbstactMojo

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
    Direct Known Subclasses:
    DeployMojo, DisposeMojo, UpdateMojo

    public abstract class KieServerAbstactMojo
    extends org.apache.maven.plugin.AbstractMojo
    • Field Detail

      • project

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

        @Parameter(property="deploy.container")
        protected String container
      • hostname

        @Parameter(property="deploy.hostname",
                   defaultValue="localhost")
        protected String hostname
      • port

        @Parameter(property="deploy.port",
                   defaultValue="8080")
        protected Integer port
      • protocol

        @Parameter(property="deploy.protocol",
                   defaultValue="http")
        protected String protocol
      • contextPath

        @Parameter(property="deploy.context-path",
                   defaultValue="kie-server")
        protected String contextPath
      • username

        @Parameter(property="deploy.username",
                   required=true,
                   readonly=true)
        protected String username
      • password

        @Parameter(property="deploy.password",
                   required=true,
                   readonly=true)
        protected String password
      • timeout

        @Parameter(property="deploy.timeout",
                   defaultValue="30000")
        protected Integer timeout
    • Constructor Detail

      • KieServerAbstactMojo

        public KieServerAbstactMojo()
    • 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
      • excecuteCommand

        public abstract void excecuteCommand()
                                      throws org.apache.maven.plugin.MojoExecutionException,
                                             org.apache.maven.plugin.MojoFailureException
        Throws:
        org.apache.maven.plugin.MojoExecutionException
        org.apache.maven.plugin.MojoFailureException