jboss-as:deploy-artifact

Full name:

org.jboss.as.plugins:jboss-as-maven-plugin:7.0.1.Final:deploy-artifact

Description:

Deploys an arbitrary artifact to the JBoss application server

Attributes:

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

Optional Parameters

Name Type Since Description
artifactId String - The artifact to deploys artifactId
filename String - The file name of the application to be deployed.
Default value is: ${project.build.finalName}.${project.packaging}.
force boolean - Specifies whether force mode should be used or not.

If force mode is disabled, the deploy goal will cause a build failure if the application being deployed already exists.
Default value is: true.
groupId String - The artifact to deploys groupId
hostname String - Specifies the host name of the server where the deployment plan should be executed.
Default value is: localhost.
name String - The deployment name
packaging String - Specifies the packaging type.
Default value is: ${project.packaging}.
port int - Specifies the port number the server is listening on.
Default value is: 9999.
targetDir File - The target directory the application to be deployed is located.
Default value is: ${project.build.directory}/.

Parameter Details

artifactId:

The artifact to deploys artifactId
  • Type: java.lang.String
  • Required: No

filename:

The file name of the application to be deployed.
  • Type: java.lang.String
  • Required: No
  • Default: ${project.build.finalName}.${project.packaging}

force:

Specifies whether force mode should be used or not.

If force mode is disabled, the deploy goal will cause a build failure if the application being deployed already exists.
  • Type: boolean
  • Required: No
  • Default: true

groupId:

The artifact to deploys groupId
  • Type: java.lang.String
  • Required: No

hostname:

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

name:

The deployment name
  • Type: java.lang.String
  • Required: No

packaging:

Specifies the packaging type.
  • Type: java.lang.String
  • Required: No
  • Default: ${project.packaging}

port:

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

targetDir:

The target directory the application to be deployed is located.
  • Type: java.io.File
  • Required: No
  • Default: ${project.build.directory}/