jboss-as:redeploy

Full name:

org.jboss.as.plugins:jboss-as-maven-plugin:7.0.0.Final:redeploy

Description:

Redeploys the application 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
filename String - The file name of the application to be deployed.
Default value is: ${project.build.finalName}.${project.packaging}.
hostname String - Specifies the host name of the server where the deployment plan should be executed.
Default value is: localhost.
name String - Specifies the name used for the deployment.
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

filename:

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

hostname:

Specifies the host name of the server where the deployment plan should be executed.
  • Type: java.lang.String
  • Required: No
  • Expression: ${echo.hostname}
  • Default: localhost

name:

Specifies the name used for the deployment.
  • Type: java.lang.String
  • Required: No
  • Expression: ${echo.name}

packaging:

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

port:

Specifies the port number the server is listening on.
  • Type: int
  • Required: No
  • Expression: ${echo.port}
  • Default: 9999

targetDir:

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