Package org.wildfly.plugin.provision
Class PackageServerMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.wildfly.plugin.provision.PackageServerMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="package", requiresDependencyResolution=COMPILE_PLUS_RUNTIME, defaultPhase=PACKAGE) public class PackageServerMojo extends org.apache.maven.plugin.AbstractMojoProvision a server, copy extra content and deploy primary artifact if it exists- Since:
- 3.0
- Author:
- jfdenise
-
-
Field Summary
Fields Modifier and Type Field Description protected org.jboss.galleon.universe.maven.repo.MavenRepoManagerartifactResolver
-
Constructor Summary
Constructors Constructor Description PackageServerMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcopyExtraContent(Path target)protected voidenrichRepositories()voidexecute()protected org.jboss.galleon.config.ProvisioningConfiggetDefaultConfig()protected StringgetGoal()protected voidserverProvisioned(Path jbossHome)
-
-
-
Method Detail
-
getDefaultConfig
protected org.jboss.galleon.config.ProvisioningConfig getDefaultConfig() throws org.jboss.galleon.ProvisioningDescriptionException- Throws:
org.jboss.galleon.ProvisioningDescriptionException
-
getGoal
protected String getGoal()
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Specified by:
executein interfaceorg.apache.maven.plugin.Mojo- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-
serverProvisioned
protected void serverProvisioned(Path jbossHome) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-
copyExtraContent
public void copyExtraContent(Path target) throws org.apache.maven.plugin.MojoExecutionException, IOException
- Throws:
org.apache.maven.plugin.MojoExecutionExceptionIOException
-
enrichRepositories
protected void enrichRepositories() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-
-