jboss:hard-deploy

Full name:

org.codehaus.mojo:jboss-maven-plugin:1.5.0:hard-deploy

Description:

Hard deploys the file by copying it to the $JBOSS_HOME/server/[serverName]/deploy directory.

Attributes:

  • Requires a Maven 2.0 project to be executed.
  • Since version: 1.4.

Required Parameters

Name Type Since Description
jbossHome File 1.4 The location of JBoss Home. This is a required configuration parameter (unless JBOSS_HOME is set).

Optional Parameters

Name Type Since Description
deploySubDir String 1.4 An optional name of a subdirectory on the deploy directory to be used
fileName File 1.4 The name of the file or directory to deploy or undeploy.
Default value is: ${project.build.directory}/${project.build.finalName}.${project.packaging}.
fileNames File[] 1.4.1 The names of the files or directories to deploy. If this is set, the fileName parameter will be ignored.
serverId String 1.4 The id of the server configuration found in Maven settings.xml. This configuration will determine the username/password to use when authenticating with the JBoss server. If no value is specified, a default username and password will be used.
serverName String 1.4 The name of the configuration profile to use when starting the server. This might be something like "all", "default", or "minimal".
Default value is: default.
unpack boolean 1.4 A boolean indicating if the artifact should be unpacked when deployed
Default value is: false.

Parameter Details

deploySubDir:

An optional name of a subdirectory on the deploy directory to be used
  • Type: java.lang.String
  • Since: 1.4
  • Required: No

fileName:

The name of the file or directory to deploy or undeploy.
  • Type: java.io.File
  • Since: 1.4
  • Required: No
  • Default: ${project.build.directory}/${project.build.finalName}.${project.packaging}

fileNames:

The names of the files or directories to deploy. If this is set, the fileName parameter will be ignored.
  • Type: java.io.File[]
  • Since: 1.4.1
  • Required: No

jbossHome:

The location of JBoss Home. This is a required configuration parameter (unless JBOSS_HOME is set).
  • Type: java.io.File
  • Since: 1.4
  • Required: Yes
  • Expression: ${env.JBOSS_HOME}

serverId:

The id of the server configuration found in Maven settings.xml. This configuration will determine the username/password to use when authenticating with the JBoss server. If no value is specified, a default username and password will be used.
  • Type: java.lang.String
  • Since: 1.4
  • Required: No
  • Expression: ${jboss.serverId}

serverName:

The name of the configuration profile to use when starting the server. This might be something like "all", "default", or "minimal".
  • Type: java.lang.String
  • Since: 1.4
  • Required: No
  • Expression: ${jboss.serverName}
  • Default: default

unpack:

A boolean indicating if the artifact should be unpacked when deployed
  • Type: boolean
  • Since: 1.4
  • Required: No
  • Default: false