Class ProvisionServerMojo

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

    @Mojo(name="provision",
          requiresDependencyResolution=COMPILE_PLUS_RUNTIME,
          defaultPhase=PACKAGE)
    public class ProvisionServerMojo
    extends org.apache.maven.plugin.AbstractMojo
    Provision a server.
    Since:
    3.0
    Author:
    jfdenise
    • Field Detail

      • artifactResolver

        protected org.jboss.galleon.universe.maven.repo.MavenRepoManager artifactResolver
    • Constructor Detail

      • ProvisionServerMojo

        public ProvisionServerMojo()
    • Method Detail

      • getGoal

        protected String getGoal()
      • serverProvisioned

        protected void serverProvisioned​(Path jbossHome)
                                  throws org.apache.maven.plugin.MojoExecutionException,
                                         org.apache.maven.plugin.MojoFailureException
        Throws:
        org.apache.maven.plugin.MojoExecutionException
        org.apache.maven.plugin.MojoFailureException
      • 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
      • enrichRepositories

        protected void enrichRepositories()
                                   throws org.apache.maven.plugin.MojoExecutionException
        Throws:
        org.apache.maven.plugin.MojoExecutionException
      • getDefaultConfig

        protected org.jboss.galleon.config.ProvisioningConfig getDefaultConfig()
                                                                        throws org.jboss.galleon.ProvisioningDescriptionException
        Throws:
        org.jboss.galleon.ProvisioningDescriptionException