was6:wsAdmin

Full name:

org.codehaus.mojo:was6-maven-plugin:1.0:wsAdmin

Description:

The wsadmin goal executes the WebSphere command-line administration tool with the specified arguments.

Attributes:

  • Requires a Maven 2.0 project to be executed.

Required Parameters

Name Type Since Description
wasHome File - Root install location of WebSphere 6.1 Default value is: ${env.WAS_HOME}.
workingDirectory File - Working directory for plugin.

Optional Parameters

Name Type Since Description
args String[] - Arguments passed to the script.
command String - A single command to be passed to the script processor. Either specify this or script
conntype String - The Default type is SOAP. Valid values are SOAP, RMI, and NONE. NONE means that no server connection is made. Default value is: SOAP.
failOnError boolean - Keep on going even if calling task fails. Default value is: true.
host String - The host attribute is optional and only specified if the conntype is specified. It contains the hostname of the machine to connect to Default value is: localhost.
jvmMaxMemory String - sets maximum size of the memory for the underlying VM. Default value is: 256M.
language String - The language to be used to interpret scripts. Valid values are: "jacl", "javascript" or "jpython".
logFile File - Optional log file to log execution of ws_ant to.
password String - Contains the password to authenticate with.
port Integer - The port on the host to connect to.
profile File - A script file to be executed before the main command or file
profileName String - Name of the server profile to use
properties File - A java properties file containing attributes to set in the JVM System properties
script File - A file containing a set of commands in a file to be passed to the script processor. Either specify this parameter or command
user String - Contains the user ID to authenticate with.
verbose boolean - Specifies a verbose execution to help debug. Default value is: false.

Parameter Details

args:

Arguments passed to the script.
  • Type: java.lang.String[]
  • Required: No
  • Expression: ${was6.args}

command:

A single command to be passed to the script processor. Either specify this or script
  • Type: java.lang.String
  • Required: No
  • Expression: ${was6.command}

conntype:

The Default type is SOAP. Valid values are SOAP, RMI, and NONE. NONE means that no server connection is made.
  • Type: java.lang.String
  • Required: No
  • Expression: ${was6.conntype}
  • Default: SOAP

failOnError:

Keep on going even if calling task fails.
  • Type: boolean
  • Required: No
  • Expression: ${was6.failOnError}
  • Default: true

host:

The host attribute is optional and only specified if the conntype is specified. It contains the hostname of the machine to connect to
  • Type: java.lang.String
  • Required: No
  • Expression: ${was6.host}
  • Default: localhost

jvmMaxMemory:

sets maximum size of the memory for the underlying VM.
  • Type: java.lang.String
  • Required: No
  • Expression: ${was6.jvmMaxMemory}
  • Default: 256M

language:

The language to be used to interpret scripts. Valid values are: "jacl", "javascript" or "jpython".
  • Type: java.lang.String
  • Required: No
  • Expression: ${was6.language}

logFile:

Optional log file to log execution of ws_ant to.
  • Type: java.io.File
  • Required: No
  • Expression: ${was6.logFile}

password:

Contains the password to authenticate with.
  • Type: java.lang.String
  • Required: No
  • Expression: ${was6.password}

port:

The port on the host to connect to.
  • Type: java.lang.Integer
  • Required: No
  • Expression: ${was6.port}

profile:

A script file to be executed before the main command or file
  • Type: java.io.File
  • Required: No
  • Expression: ${was6.profile}

profileName:

Name of the server profile to use
  • Type: java.lang.String
  • Required: No
  • Expression: ${was6.profileName}

properties:

A java properties file containing attributes to set in the JVM System properties
  • Type: java.io.File
  • Required: No
  • Expression: ${was6.properties}

script:

A file containing a set of commands in a file to be passed to the script processor. Either specify this parameter or command
  • Type: java.io.File
  • Required: No
  • Expression: ${was6.script}

user:

Contains the user ID to authenticate with.
  • Type: java.lang.String
  • Required: No
  • Expression: ${was6.user}

verbose:

Specifies a verbose execution to help debug.
  • Type: boolean
  • Required: No
  • Expression: ${was6.verbose}
  • Default: false

wasHome:

Root install location of WebSphere 6.1
  • Type: java.io.File
  • Required: Yes
  • Expression: ${was6.wasHome}
  • Default: ${env.WAS_HOME}

workingDirectory:

Working directory for plugin.
  • Type: java.io.File
  • Required: Yes
  • Expression: ${project.build.directory}/was6-maven-plugin