was6:wsDefaultBindings

Full name:

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

Description:

This goal enables you to generate default IBM WebSphere Bindings for the specified EAR file. The goal provides options to control how the bindings are generated and mimics the options provided by the WebSphere Application Install wizards. The goal binds to the package phase by default.

Attributes:

  • Requires a Maven 2.0 project to be executed.
  • Binds by default to the lifecycle phase: package.

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
dbPassword String - Specifies the password associated with the default data source.
dbUser String - Specifies the user associated with the default data source.
defaultConnectionFactory String - Specifies the default connection factory to be used for all EJB 2.x CMPs.
defaultDataSource String - Specifies an optional default data source JNDI name to be used for all EJB 1.x CMPs.
earFile File - EAR archive to generate bindings for. Default value is: ${project.artifact.file}.
ejbJndiPrefix String - Specifies a prefix that is prepended to any generated EJB JNDI names. The default is "ejb".
exportFile File - When specified, it points to a file that will be generated containing the bindings information. This file is in the custom strategy format.
failOnError boolean - Keep on going even if calling task fails. Default value is: true.
forceBindings boolean - When false, any pre-existing bindings will not be altered. When true, new bindings are completely generated. Default value is: false.
logFile File - Optional log file to log execution of ws_ant to.
resAuth String - Specifies the resource authorization on the connection factory for EJB 2.x CMPs.
Legal values are: PerConnFact or Container
strategy File - When specified, this attribute points to a custom strategy file that further affects the bindings. See the properties/dfltbndngs.dtd of your WebSphere installation for more details.
verbose boolean - Specifies a verbose execution to help debug. Default value is: false.
virtualHost String - Specifies the virtual host for all wars in the application.

Parameter Details

dbPassword:

Specifies the password associated with the default data source.
  • Type: java.lang.String
  • Required: No
  • Expression: ${was6.dbPassword}

dbUser:

Specifies the user associated with the default data source.
  • Type: java.lang.String
  • Required: No
  • Expression: ${was6.dbUser}

defaultConnectionFactory:

Specifies the default connection factory to be used for all EJB 2.x CMPs.
  • Type: java.lang.String
  • Required: No
  • Expression: ${was6.defaultConnectionFactory}

defaultDataSource:

Specifies an optional default data source JNDI name to be used for all EJB 1.x CMPs.
  • Type: java.lang.String
  • Required: No
  • Expression: ${was6.defaultDataSource}

earFile:

EAR archive to generate bindings for.
  • Type: java.io.File
  • Required: No
  • Expression: ${was6.earFile}
  • Default: ${project.artifact.file}

ejbJndiPrefix:

Specifies a prefix that is prepended to any generated EJB JNDI names. The default is "ejb".
  • Type: java.lang.String
  • Required: No
  • Expression: ${was6.ejbJndiPrefix}

exportFile:

When specified, it points to a file that will be generated containing the bindings information. This file is in the custom strategy format.
  • Type: java.io.File
  • Required: No
  • Expression: ${was6.exportFile}

failOnError:

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

forceBindings:

When false, any pre-existing bindings will not be altered. When true, new bindings are completely generated.
  • Type: boolean
  • Required: No
  • Expression: ${was6.forceBindings}
  • Default: false

logFile:

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

resAuth:

Specifies the resource authorization on the connection factory for EJB 2.x CMPs.
Legal values are: PerConnFact or Container
  • Type: java.lang.String
  • Required: No
  • Expression: ${was6.resAuth}

strategy:

When specified, this attribute points to a custom strategy file that further affects the bindings. See the properties/dfltbndngs.dtd of your WebSphere installation for more details.
  • Type: java.io.File
  • Required: No
  • Expression: ${was6.strategy}

verbose:

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

virtualHost:

Specifies the virtual host for all wars in the application.
  • Type: java.lang.String
  • Required: No
  • Expression: ${was6.virtualHost}

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