weblogic:clientgen

Full name:

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

Description:

Runs Client Gen on a given WSDL.

Attributes:

  • Requires a Maven 2.0 project to be executed.
  • Requires dependency resolution of artifacts in scope: compile.

Optional Parameters

Name Type Since Description
inputWSDL String - The wsdl to client gen from. Default value is: http://localhost:7001.
outputDir String - The directory to output the geneated code to. Default value is: ${basedir}/src/main/java.
outputDirectory String - This is the output directory for the artifacts. It defaults to $project.build.directory.
packageName String - The package name of the output code. Default value is: com.test.webservice.
pluginArtifacts List - These are the plugin artifacts for the weblogic mojo
serviceName String - The name of the service. Default value is: test.
useEarDependency boolean - The ear dependency flag. Use this in concert with the warName parameter to locate a wsdl inside of the webservice war file. Default value is: false.
useServerTypes boolean - Set to true if the client gen should copy .class files from the classpath into the target jar file. Default value is: false.
warName String - The war name inside of the ear within which to find the wsdl file name.
weblogicHome String - Property to set the weblogic home Default value is: ${weblogic.home}.

Parameter Details

inputWSDL :

The wsdl to client gen from.

  • Type: java.lang.String
  • Required: No
  • Default: http://localhost:7001

outputDir :

The directory to output the geneated code to.

  • Type: java.lang.String
  • Required: No
  • Default: ${basedir}/src/main/java

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}

packageName :

The package name of the output code.

  • Type: java.lang.String
  • Required: No
  • Default: com.test.webservice

pluginArtifacts :

These are the plugin artifacts for the weblogic mojo

  • Type: java.util.List
  • Required: No
  • Expression: ${plugin.artifacts}

serviceName :

The name of the service.

  • Type: java.lang.String
  • Required: No
  • Default: test

useEarDependency :

The ear dependency flag. Use this in concert with the warName parameter to locate a wsdl inside of the webservice war file.

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

useServerTypes :

Set to true if the client gen should copy .class files from the classpath into the target jar file.

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

warName :

The war name inside of the ear within which to find the wsdl file name.

  • Type: java.lang.String
  • Required: No
  • Expression: ${pom.artifactId}-${pom.version}.war

weblogicHome :

Property to set the weblogic home

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