weblogic:deploy

Full name:

org.codehaus.mojo:weblogic-maven-plugin:2.9.5:deploy

Description:

Deploy an artifact to Weblogic servers(s) or cluster(s).

Attributes:

  • Requires a Maven project to be executed.

Optional Parameters

Name Type Since Description
adminServerHostName String - The dns hostname of the Weblogic Admin server.
Default value is: localhost.
adminServerPort String - The admin port of the Weblogic Admin Server.
Default value is: 7001.
adminServerProtocol String - The protocol to use to access the Weblogic Admin server for deployment.
Default value is: t3.
artifactPath String - The full path to artifact to be deployed.
continueOnFailure boolean - If set to true, the deployer will not stop if a failure is detected.
Default value is: false.
customTrustKeyStoreFileName String - Set fully qualified name to the key store file
customTrustKeyStorePassPhrase String - Set passphrase for the keystore
customTrustKeyStoreType String - Set keystore type. Usually JKS
Default value is: JKS.
debug boolean - True to turn on debugging
Default value is: false.
demoTrustKeyStore boolean - Set to true for the demo trust key store
Default value is: false.
deployEjb boolean - The dns hostname of the Weblogic Admin server.
Default value is: false.
deploymentPlanPath String - Deploy the target with the referenced deployment plan
exploded boolean - Set to true to do exploded deployments
Default value is: false.
ignoreHostnameVerification boolean - Set to true for the demo trust key store
Default value is: true.
localRepository ArtifactRepository - The local repository
name String - The name to use when deploying the object.
noExit boolean - tell weblogic to not exit if there is a deployment failure.
Default value is: false.
noVersion boolean - Tell weblogic to ignore the versions an apply the task to all versions.
Default value is: false.
noWait boolean - Set this value to true so weblogic will return immediately
Default value is: false.
outputDirectory String - This is the output directory for the artifacts. It defaults to $project.build.directory.
password String - The admin password to access the Weblogic Admin server for deployment.
Default value is: weblogic.
pluginArtifacts List - These are the plugin artifacts for the weblogic mojo
projectPackaging String - The project packaging used to check the suffix on the artifact.
remote boolean - True if you are running on a machine that is remote to the admin server. If this is a remote deployment and this is set to false then it is assumed that all source paths are valid paths on the admin server.
Default value is: false.
remoteRepositories List - The list of remote repositories
skip boolean - The dns hostname of the Weblogic Admin server.
Default value is: false.
stage boolean - True if you want to turn off staging
Default value is: true.
targetNames String - A comma seperated list of names of servers or clusters to deploy the artifact onto.
Default value is: AdminServer.
timeout int - Set this value to the timeout seconds. Set to <=0 to disable
Default value is: -1.
toolsJar String - The the location of tools.jar file. this file must be dynamically added to the classloader due to some issues with the way maven works and a bug in jdk 1.6
Note that the java.home location should be to the jre not the jdk
upload boolean - Set to true to upload the code.
Default value is: false.
userConfigFile String - The user config file to use
userId String - The Admin UserId to access the Weblogic Admin server for deployment.
Default value is: weblogic.
userKeyFile String - The default user key file to use
verbose boolean - True to turn on debugging
Default value is: true.
version boolean - Print the version for weblogic
Default value is: false.
weblogicHome String - Property to set the weblogic home
Default value is: ${weblogic.home}.

Parameter Details

adminServerHostName:

The dns hostname of the Weblogic Admin server.
  • Type: java.lang.String
  • Required: No
  • Expression: ${weblogic.adminServer.hostName}
  • Default: localhost

adminServerPort:

The admin port of the Weblogic Admin Server.
  • Type: java.lang.String
  • Required: No
  • Expression: ${weblogic.adminServer.port}
  • Default: 7001

adminServerProtocol:

The protocol to use to access the Weblogic Admin server for deployment.
  • Type: java.lang.String
  • Required: No
  • Expression: ${weblogic.adminServer.protocol}
  • Default: t3

artifactPath:

The full path to artifact to be deployed.
  • Type: java.lang.String
  • Required: No
  • Expression: ${project.build.directory}/${project.build.finalName}

continueOnFailure:

If set to true, the deployer will not stop if a failure is detected.
  • Type: boolean
  • Required: No
  • Default: false

customTrustKeyStoreFileName:

Set fully qualified name to the key store file
  • Type: java.lang.String
  • Required: No
  • Expression: ${weblogic.customTrustKeyStoreFileName}

customTrustKeyStorePassPhrase:

Set passphrase for the keystore
  • Type: java.lang.String
  • Required: No
  • Expression: ${weblogic.customTrustKeyStorePassPhrase}

customTrustKeyStoreType:

Set keystore type. Usually JKS
  • Type: java.lang.String
  • Required: No
  • Expression: ${weblogic.customTrustKeyStoreType}
  • Default: JKS

debug:

True to turn on debugging
  • Type: boolean
  • Required: No
  • Default: false

demoTrustKeyStore:

Set to true for the demo trust key store
  • Type: boolean
  • Required: No
  • Expression: ${weblogic.demoTrustKeyStore}
  • Default: false

deployEjb:

The dns hostname of the Weblogic Admin server.
  • Type: boolean
  • Required: No
  • Expression: ${weblogic.deployEjb}
  • Default: false

deploymentPlanPath:

Deploy the target with the referenced deployment plan
  • Type: java.lang.String
  • Required: No
  • Expression: ${weblogic.deploymentPlanPath}

exploded:

Set to true to do exploded deployments
  • Type: boolean
  • Required: No
  • Expression: ${weblogic.exploded}
  • Default: false

ignoreHostnameVerification:

Set to true for the demo trust key store
  • Type: boolean
  • Required: No
  • Expression: ${weblogic.ignoreHostnameVerification}
  • Default: true

localRepository:

The local repository
  • Type: org.apache.maven.artifact.repository.ArtifactRepository
  • Required: No
  • Expression: ${localRepository}

name:

The name to use when deploying the object.
  • Type: java.lang.String
  • Required: No
  • Expression: ${project.artifactId}

noExit:

tell weblogic to not exit if there is a deployment failure.
  • Type: boolean
  • Required: No
  • Default: false

noVersion:

Tell weblogic to ignore the versions an apply the task to all versions.
  • Type: boolean
  • Required: No
  • Default: false

noWait:

Set this value to true so weblogic will return immediately
  • Type: boolean
  • Required: No
  • Default: false

outputDirectory:

This is the output directory for the artifacts. It defaults to $project.build.directory.
  • Type: java.lang.String
  • Required: No
  • Expression: ${project.build.directory}

password:

The admin password to access the Weblogic Admin server for deployment.
  • Type: java.lang.String
  • Required: No
  • Expression: ${weblogic.password}
  • Default: weblogic

pluginArtifacts:

These are the plugin artifacts for the weblogic mojo
  • Type: java.util.List
  • Required: No
  • Expression: ${plugin.artifacts}

projectPackaging:

The project packaging used to check the suffix on the artifact.
  • Type: java.lang.String
  • Required: No
  • Expression: ${project.packaging}

remote:

True if you are running on a machine that is remote to the admin server. If this is a remote deployment and this is set to false then it is assumed that all source paths are valid paths on the admin server.
  • Type: boolean
  • Required: No
  • Expression: ${weblogic.remote}
  • Default: false

remoteRepositories:

The list of remote repositories
  • Type: java.util.List
  • Required: No
  • Expression: ${project.remoteArtifactRepositories}

skip:

The dns hostname of the Weblogic Admin server.
  • Type: boolean
  • Required: No
  • Expression: ${weblogic.deploy.skip}
  • Default: false

stage:

True if you want to turn off staging
  • Type: boolean
  • Required: No
  • Expression: ${weblogic.stage}
  • Default: true

targetNames:

A comma seperated list of names of servers or clusters to deploy the artifact onto.
  • Type: java.lang.String
  • Required: No
  • Expression: ${weblogic.targetNames}
  • Default: AdminServer

timeout:

Set this value to the timeout seconds. Set to <=0 to disable
  • Type: int
  • Required: No
  • Default: -1

toolsJar:

The the location of tools.jar file. this file must be dynamically added to the classloader due to some issues with the way maven works and a bug in jdk 1.6
Note that the java.home location should be to the jre not the jdk
  • Type: java.lang.String
  • Required: No
  • Expression: ${java.home}/../lib/tools.jar

upload:

Set to true to upload the code.
  • Type: boolean
  • Required: No
  • Expression: ${weblogic.upload}
  • Default: false

userConfigFile:

The user config file to use
  • Type: java.lang.String
  • Required: No
  • Expression: ${weblogic.userConfigFile}

userId:

The Admin UserId to access the Weblogic Admin server for deployment.
  • Type: java.lang.String
  • Required: No
  • Expression: ${weblogic.user}
  • Default: weblogic

userKeyFile:

The default user key file to use
  • Type: java.lang.String
  • Required: No
  • Expression: ${weblogic.userKeyFile}

verbose:

True to turn on debugging
  • Type: boolean
  • Required: No
  • Default: true

version:

Print the version for weblogic
  • Type: boolean
  • Required: No
  • Default: false

weblogicHome:

Property to set the weblogic home
  • Type: java.lang.String
  • Required: No
  • Default: ${weblogic.home}