Package org.wildfly.plugin.provision
Class PackageServerMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.wildfly.plugin.provision.PackageServerMojo
-
- All Implemented Interfaces:
ContextEnabled,Mojo
- Direct Known Subclasses:
ApplicationImageMojo
@Mojo(name="package", requiresDependencyResolution=COMPILE_PLUS_RUNTIME, defaultPhase=PACKAGE) public class PackageServerMojo extends AbstractMojo
Provision a server, copy extra content and deploy primary artifact if it exists- Since:
- 3.0
- Author:
- jfdenise
-
-
Constructor Summary
Constructors Constructor Description PackageServerMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcopyExtraContent(Path target)voidexecute()-
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
-
-
-
Field Detail
-
JAR
public static final String JAR
- See Also:
- Constant Field Values
-
BOOTABLE_JAR_NAME_RADICAL
public static final String BOOTABLE_JAR_NAME_RADICAL
- See Also:
- Constant Field Values
-
-
Method Detail
-
execute
public void execute() throws MojoExecutionException, MojoFailureException- Specified by:
executein interfaceMojo- Throws:
MojoExecutionExceptionMojoFailureException
-
copyExtraContent
public void copyExtraContent(Path target) throws MojoExecutionException, IOException
- Throws:
MojoExecutionExceptionIOException
-
-