jboss:hard-undeploy

Full name:

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

Description:

Delete file form $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
fileName File 1.4 The name of the file or directory to 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 undeploy. 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.

Parameter Details

fileName:

The name of the file or directory to 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 undeploy. 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