@Mojo(name="add-resource",
threadSafe=true)
public class AddResourceMojo
extends AbstractServerConnection
force is set to false and the resource has already been added to the server, an error will
occur and the operation will fail.
| Modifier and Type | Field and Description |
|---|---|
static String |
GOAL |
DEBUG_MESSAGE_NO_CREDS, DEBUG_MESSAGE_NO_ID, DEBUG_MESSAGE_NO_SERVER_SECTION, DEBUG_MESSAGE_NO_SETTINGS_FILE, DEBUG_MESSAGE_POM_HAS_CREDS, DEBUG_MESSAGE_SETTINGS_HAS_CREDS, DEBUG_MESSAGE_SETTINGS_HAS_ID, timeout| Constructor and Description |
|---|
AddResourceMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
String |
goal()
The goal of the deployment.
|
createClient, getClientConfigurationpublic static final String GOAL
public String goal()
AbstractServerConnectiongoal in class AbstractServerConnectionpublic void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionCopyright © 2016 JBoss by Red Hat. All rights reserved.