weblogic:deploy

Full name:

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

Description:

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

Attributes:

  • Requires a Maven 2.0 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.
debug boolean - True to turn on debugging Default value is: false.
exploded boolean - Deploy the target as an exploded directory. The target should be the target directory. Default value is: false.
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.
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.
upload boolean - Set to true to upload the code. Default value is: false.
userId String - The Admin UserId to access the Weblogic Admin server for deployment. Default value is: weblogic.
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

debug :

True to turn on debugging

  • Type: boolean
  • Required: No
  • Default: false

exploded :

Deploy the target as an exploded directory. The target should be the target directory.

  • Type: boolean
  • Required: No
  • Expression: ${weblogic.exploded}
  • Default: false

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
  • Default: false

stage :

True if you want to turn off staging

  • Type: boolean
  • Required: No
  • 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

upload :

Set to true to upload the code.

  • Type: boolean
  • Required: No
  • Default: false

userId :

The Admin UserId to access the Weblogic Admin server for deployment.

  • Type: java.lang.String
  • Required: No
  • Expression: ${weblogic.user}
  • Default: weblogic

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}