jboss-as:add-resource

Full name:

org.jboss.as.plugins:jboss-as-maven-plugin:7.0.1.Final:add-resource

Description:

Adds a resource

If force is set to false and the resource has already been deployed to the server, an error will occur and the operation will fail.

Attributes:

  • Requires a Maven 2.0 project to be executed.
  • Requires dependency resolution of artifacts in scope: runtime.

Optional Parameters

Name Type Since Description
address String - The operation address, as a comma separated string
force boolean - Specifies whether force mode should be used or not.

If force mode is disabled, the add-resource goal will cause a build failure if the resource is already present on the server
Default value is: true.
hostname String - Specifies the host name of the server where the deployment plan should be executed.
Default value is: localhost.
port int - Specifies the port number the server is listening on.
Default value is: 9999.
properties Map - The operation properties

Parameter Details

address:

The operation address, as a comma separated string
  • Type: java.lang.String
  • Required: No

force:

Specifies whether force mode should be used or not.

If force mode is disabled, the add-resource goal will cause a build failure if the resource is already present on the server
  • Type: boolean
  • Required: No
  • Default: true

hostname:

Specifies the host name of the server where the deployment plan should be executed.
  • Type: java.lang.String
  • Required: No
  • Default: localhost

port:

Specifies the port number the server is listening on.
  • Type: int
  • Required: No
  • Default: 9999

properties:

The operation properties
  • Type: java.util.Map
  • Required: No