@Mojo(name="package",
requiresDependencyResolution=COMPILE_PLUS_RUNTIME,
defaultPhase=PACKAGE)
public final class BuildBootableJarMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
static String |
BOOTABLE_SUFFIX |
static String |
JAR |
static String |
WAR |
| Constructor and Description |
|---|
BuildBootableJarMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addExtraLayer(String layer) |
protected void |
configureCli(List<String> commands) |
void |
execute() |
protected Path |
getDeploymentsDir() |
protected List<String> |
getExcludedLayers() |
protected List<String> |
getLayers() |
protected Path |
getProvisioningFile() |
protected boolean |
hasLayers() |
protected File |
validateProjectFile() |
public static final String BOOTABLE_SUFFIX
public static final String JAR
public static final String WAR
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
execute in interface org.apache.maven.plugin.Mojoorg.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected void addExtraLayer(String layer)
protected Path getDeploymentsDir()
protected File validateProjectFile() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected Path getProvisioningFile()
protected boolean hasLayers()
Copyright © 2019–2020 JBoss by Red Hat. All rights reserved.