was6:ejbdeploy

Full name:

org.codehaus.mojo:was6-maven-plugin:1.2.1:ejbdeploy

Description:

Generates EJB RMIC stub sources. This goal will fork a parallel life cycle up to package phase. This is required because an archive is required as input to the underlying tasks.

Attributes:

  • Requires a Maven project to be executed.
  • Requires dependency resolution of artifacts in scope: compile.
  • Binds by default to the lifecycle phase: generate-sources.
  • Invokes the execution of the lifecycle phase package prior to executing itself.

Required Parameters

Name Type Since Description
generatedClassesDirectory File - Directory to hold generated classes.
Default value is: ${project.build.directory}/generated-classes/was6-maven-plugin.
generatedSourcesDirectory File - Directory to hold generated sources.
Default value is: ${project.build.directory}/generated-sources/was6-maven-plugin.
jarName String - The name of the EJB file to generate.
Default value is: ${project.build.finalName}.
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
classifier String - Classifier to add to the artifact generated. If given, the artifact will be an attachment instead.
compatible35 boolean - Set to true to use WebSphere 3.5 compatible mapping rules.
dbname String - Specifies the name of the database to create.
dbschema String - Specifies the name of the database schema to create.
dbvendor String - Specifies the type of database the EJBs will use.
dynamic boolean - Specifies to enable dynamic query support.
failOnError boolean - Fail build on errors.
Default value is: true.
jdkComplianceLevel String - JDK compliance level. Valid values are: 1.4 or 5.0 This parameter will only be taken into consideration if legacyMode is false. IBM didn't support this flag in earlier versions.
Default value is: ${project.build.java.target}.
legacyMode boolean - Set this to true if you've got an old rational SDP version (7.0.0.4/interimfix 001), or an old WAS base/ND installation (lower than fixpack 007).
Default value is: false.
logFile File - Optional log file to log execution of ws_ant to.
noInform boolean - Set to true to disable informational messages.
Default value is: false.
noValidate boolean - Set to true to disable validation messages.
Default value is: false.
noWarnings boolean - Set to true to disable warning and informational messages.
Default value is: false.
retryCount int 1.2 Some operations can often fail due to internal errors in the J2EE EJB deployment stage. Aditionally, the WsAdmin mojo can equally fail due to connection issues. These errors are intermittent and suprious. Simply reruning it will often fix the error (assuming there is no real underlying error). Issues arise however, if this occurs in a release - the release will be unnecessarilly aborted. This variable is designed to allow a number of retries to avoid this issue.
Default value is: 0.
skip boolean 1.1.1 Skip execution.
Default value is: false.
sqlj boolean - Set to true to generate SQL/J persistor code.
traceFile File - Optional file to log trace to.
verbose boolean - Specifies a verbose execution to help debug.
Default value is: false.
wasVersion String 1.2 WAS used version. Possible values are was60, was61, was70 ... By the moment, only was60 has special treatment
Default value is: was61.

Parameter Details

classifier:

Classifier to add to the artifact generated. If given, the artifact will be an attachment instead.
  • Type: java.lang.String
  • Required: No
  • Expression: ${ejb.classifier}

compatible35:

Set to true to use WebSphere 3.5 compatible mapping rules.
  • Type: boolean
  • Required: No
  • Expression: ${was6.compatible35}

dbname:

Specifies the name of the database to create.
  • Type: java.lang.String
  • Required: No
  • Expression: ${was6.dbname}

dbschema:

Specifies the name of the database schema to create.
  • Type: java.lang.String
  • Required: No
  • Expression: ${was6.dbschema}

dbvendor:

Specifies the type of database the EJBs will use.
  • Type: java.lang.String
  • Required: No
  • Expression: ${was6.dbvendor}

dynamic:

Specifies to enable dynamic query support.
  • Type: boolean
  • Required: No
  • Expression: ${was6.dynamic}

failOnError:

Fail build on errors.
  • Type: boolean
  • Required: No
  • Expression: ${was6.failOnError}
  • Default: true

generatedClassesDirectory:

Directory to hold generated classes.
  • Type: java.io.File
  • Required: Yes
  • Expression: ${was6.generatedClassesDirectory}
  • Default: ${project.build.directory}/generated-classes/was6-maven-plugin

generatedSourcesDirectory:

Directory to hold generated sources.
  • Type: java.io.File
  • Required: Yes
  • Expression: ${was6.generatedSourcesDirectory}
  • Default: ${project.build.directory}/generated-sources/was6-maven-plugin

jarName:

The name of the EJB file to generate.
  • Type: java.lang.String
  • Required: Yes
  • Expression: ${jarName}
  • Default: ${project.build.finalName}

jdkComplianceLevel:

JDK compliance level. Valid values are: 1.4 or 5.0 This parameter will only be taken into consideration if legacyMode is false. IBM didn't support this flag in earlier versions.
  • Type: java.lang.String
  • Required: No
  • Expression: ${was6.jdkComplianceLevel}
  • Default: ${project.build.java.target}

legacyMode:

Set this to true if you've got an old rational SDP version (7.0.0.4/interimfix 001), or an old WAS base/ND installation (lower than fixpack 007).
  • Type: boolean
  • Required: No
  • Expression: ${was6.legacyMode}
  • Default: false

logFile:

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

noInform:

Set to true to disable informational messages.
  • Type: boolean
  • Required: No
  • Expression: ${was6.noInform}
  • Default: false

noValidate:

Set to true to disable validation messages.
  • Type: boolean
  • Required: No
  • Expression: ${was6.noValidate}
  • Default: false

noWarnings:

Set to true to disable warning and informational messages.
  • Type: boolean
  • Required: No
  • Expression: ${was6.noWarnings}
  • Default: false

retryCount:

Some operations can often fail due to internal errors in the J2EE EJB deployment stage. Aditionally, the WsAdmin mojo can equally fail due to connection issues. These errors are intermittent and suprious. Simply reruning it will often fix the error (assuming there is no real underlying error). Issues arise however, if this occurs in a release - the release will be unnecessarilly aborted. This variable is designed to allow a number of retries to avoid this issue.
  • Type: int
  • Since: 1.2
  • Required: No
  • Expression: ${was6.retryCount}
  • Default: 0

skip:

Skip execution.
  • Type: boolean
  • Since: 1.1.1
  • Required: No
  • Expression: ${was6.skip}
  • Default: false

sqlj:

Set to true to generate SQL/J persistor code.
  • Type: boolean
  • Required: No
  • Expression: ${was6.sqlj}

traceFile:

Optional file to log trace to.
  • Type: java.io.File
  • Required: No
  • Expression: ${was6.traceFile}

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}

wasVersion:

WAS used version. Possible values are was60, was61, was70 ... By the moment, only was60 has special treatment
  • Type: java.lang.String
  • Since: 1.2
  • Required: No
  • Expression: ${was6.wasVersion}
  • Default: was61

workingDirectory:

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