Plugin Documentation

Goals available for this plugin:

GoalDescription
jaxws:helpDisplay help information on jaxws-maven-plugin.
Call mvn jaxws:help -Ddetail=true -Dgoal=<goal-name> to display parameter details.
jaxws:wsgenReads a JAX-WS service endpoint implementation class and generates all of the portable artifacts for a JAX-WS web service.
jaxws:wsgen-testReads a JAX-WS service endpoint implementation class and generates all of the portable artifacts for a JAX-WS web service (into the generate test source directory).

${maven.test.skip} property is honored. If it is set, code generation is skipped.

jaxws:wsimportParses wsdl and binding files and generates Java code needed to access it.
jaxws:wsimport-testParses wsdl and binding files and generates Java code needed to access it (for tests).

${maven.test.skip} property is honored. If it is set, code generation is skipped.

System Requirements

The following specifies the minimum requirements to run this Maven plugin:

Maven2.0.5
JDK1.5
MemoryNo minimum requirement.
Disk SpaceNo minimum requirement.

Usage

You should specify the version in your project's plugin configuration:

<project>
  ...
  <build>
    <!-- To define the plugin version in your parent POM -->
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.jvnet.jax-ws-commons</groupId>
          <artifactId>jaxws-maven-plugin</artifactId>
          <version>2.3</version>
        </plugin>
        ...
      </plugins>
    </pluginManagement>
    <!-- To use the plugin goals in your POM or parent POM -->
    <plugins>
      <plugin>
        <groupId>org.jvnet.jax-ws-commons</groupId>
        <artifactId>jaxws-maven-plugin</artifactId>
        <version>2.3</version>
      </plugin>
      ...
    </plugins>
  </build>
  ...
</project>

For more information, see "Guide to Configuring Plug-ins"


Terms of Use; Privacy Policy; Copyright ©2013-2014 (revision 20131025.e7cbc9d)
 
 
Close
loading
Please Confirm
Close