weblogic:servicegen

Full name:

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

Description:

Runs Service Gen on a given WSDL.

Attributes:

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

Required Parameters

Name Type Since Description
contextUri String - The context uri for the service
warName String - this is the name of the war to execute the service gen against.

Optional Parameters

Name Type Since Description
inputArtifactPath String - The full path to the artifact to be compiled. It can be an EAR, War or Jar. If the project packaging is ejb then the .ejb suffix will be replaced with .jar if needed.
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
services Service[] - The service configurations to generate
weblogicHome String - Property to set the weblogic home Default value is: ${weblogic.home}.

Parameter Details

contextUri :

The context uri for the service

  • Type: java.lang.String
  • Required: Yes

inputArtifactPath :

The full path to the artifact to be compiled. It can be an EAR, War or Jar. If the project packaging is ejb then the .ejb suffix will be replaced with .jar if needed.

  • Type: java.lang.String
  • Required: No
  • Expression: ${project.build.directory}/${project.build.finalName}.${project.packaging}

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}

services :

The service configurations to generate

  • Type: org.codehaus.mojo.weblogic.Service[]
  • Required: No

warName :

this is the name of the war to execute the service gen against.

  • Type: java.lang.String
  • Required: Yes

weblogicHome :

Property to set the weblogic home

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