jaxws-maven-plugin plugin.xml

沈飞翼
2023-12-01

location

/Users/leung/javaweb/mvnrepo/org/codehaus/mojo/jaxws-maven-plugin/1.12/jaxws-maven-plugin-1.12.jar!/META-INF/maven/plugin.xml

jaxws-maven-plugin plugin.xml

<?xml version="1.0" encoding="UTF-8"?>
<plugin>
  <description></description>
  <groupId>org.codehaus.mojo</groupId>
  <artifactId>jaxws-maven-plugin</artifactId>
  <version>1.12</version>
  <goalPrefix>jaxws</goalPrefix>
  <isolatedRealm>false</isolatedRealm>
  <inheritedByDefault>true</inheritedByDefault>
  <mojos>
    <mojo>
      <goal>wsgen-test</goal>
      <description>Reads 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 directroy.)

&lt;p&gt;
Due to &lt;a href=&quot;http://jira.codehaus.org/browse/MNG-1508&quot;&gt;MNG-1508&lt;/a&gt;, this requires 2.0.5 or higher.
&lt;/p&gt;</description>
      <requiresDependencyResolution>runtime</requiresDependencyResolution>
      <requiresDirectInvocation>false</requiresDirectInvocation>
      <requiresProject>true</requiresProject>
      <requiresReports>false</requiresReports>
      <aggregator>false</aggregator>
      <requiresOnline>false</requiresOnline>
      <inheritedByDefault>true</inheritedByDefault>
      <phase>process-test-classes</phase>
      <implementation>org.codehaus.mojo.jaxws.TestWsGenMojo</implementation>
      <language>java</language>
      <instantiationStrategy>per-lookup</instantiationStrategy>
      <executionStrategy>once-per-session</executionStrategy>
      <parameters>
        <parameter>
          <name>destDir</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>Specify where to place output generated classes
Set to &quot;&quot; to turn it off</description>
        </parameter>
        <parameter>
          <name>extension</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>Allow to use the JAXWS Vendor Extensions.</description>
        </parameter>
        <parameter>
          <name>genWsdl</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>Specify that a WSDL file should be generated in ${resourceDestDir}</description>
        </parameter>
        <parameter>
          <name>keep</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>Keep generated files.</description>
        </parameter>
        <parameter>
          <name>pluginArtifactMap</name>
          <type>java.util.Map</type>
          <required>false</required>
          <editable>false</editable>
          <description>Map of of plugin artifacts.</description>
        </parameter>
        <parameter>
          <name>pluginArtifacts</name>
          <type>java.util.List</type>
          <required>true</required>
          <editable>true</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>project</name>
          <type>org.apache.maven.project.MavenProject</type>
          <required>false</required>
          <editable>false</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>protocol</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>Used in conjunction with genWsdl to specify the protocol to use in the
wsdl:binding. Value values are &quot;soap1.1&quot; or &quot;Xsoap1.2&quot;, default is &quot;soap1.1&quot;.
&quot;Xsoap1.2&quot; is not standard and can only be used in conjunction with the
-extensions option</description>
        </parameter>
        <parameter>
          <name>resourceDestDir</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>Directory containing the generated wsdl files.</description>
        </parameter>
        <parameter>
          <name>sei</name>
          <type>java.lang.String</type>
          <required>true</required>
          <editable>true</editable>
          <description>service endpoint implementation class name.</description>
        </parameter>
        <parameter>
          <name>sourceDestDir</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>Specify where to place generated source files, keep is turned on with this option.</description>
        </parameter>
        <parameter>
          <name>verbose</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>Output messages about what the tool is doing</description>
        </parameter>
      </parameters>
      <configuration>
        <extension implementation="boolean" default-value="false"/>
        <resourceDestDir implementation="java.io.File" default-value="${project.build.directory}/jaxws/wsgen/wsdl"/>
        <genWsdl implementation="boolean" default-value="false"/>
        <keep implementation="boolean" default-value="false"/>
        <verbose implementation="boolean" default-value="false"/>
        <project implementation="org.apache.maven.project.MavenProject">${project}</project>
        <pluginArtifacts implementation="java.util.List">${plugin.artifacts}</pluginArtifacts>
        <destDir implementation="java.io.File" default-value="${project.build.testOutputDirectory}"/>
        <pluginArtifactMap implementation="java.util.Map">${plugin.artifactMap}</pluginArtifactMap>
      </configuration>
    </mojo>
    <mojo>
      <goal>wsgen</goal>
      <description>Reads a JAX-WS service endpoint implementation class
and generates all of the portable artifacts for a JAX-WS web service.</description>
      <requiresDependencyResolution>runtime</requiresDependencyResolution>
      <requiresDirectInvocation>false</requiresDirectInvocation>
      <requiresProject>true</requiresProject>
      <requiresReports>false</requiresReports>
      <aggregator>false</aggregator>
      <requiresOnline>false</requiresOnline>
      <inheritedByDefault>true</inheritedByDefault>
      <phase>process-classes</phase>
      <implementation>org.codehaus.mojo.jaxws.MainWsGenMojo</implementation>
      <language>java</language>
      <instantiationStrategy>per-lookup</instantiationStrategy>
      <executionStrategy>once-per-session</executionStrategy>
      <parameters>
        <parameter>
          <name>destDir</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>Specify where to place output generated classes
Set to &quot;&quot; to turn it off</description>
        </parameter>
        <parameter>
          <name>extension</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>Allow to use the JAXWS Vendor Extensions.</description>
        </parameter>
        <parameter>
          <name>genWsdl</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>Specify that a WSDL file should be generated in ${resourceDestDir}</description>
        </parameter>
        <parameter>
          <name>keep</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>Keep generated files.</description>
        </parameter>
        <parameter>
          <name>pluginArtifactMap</name>
          <type>java.util.Map</type>
          <required>false</required>
          <editable>false</editable>
          <description>Map of of plugin artifacts.</description>
        </parameter>
        <parameter>
          <name>pluginArtifacts</name>
          <type>java.util.List</type>
          <required>true</required>
          <editable>true</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>project</name>
          <type>org.apache.maven.project.MavenProject</type>
          <required>false</required>
          <editable>false</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>protocol</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>Used in conjunction with genWsdl to specify the protocol to use in the
wsdl:binding. Value values are &quot;soap1.1&quot; or &quot;Xsoap1.2&quot;, default is &quot;soap1.1&quot;.
&quot;Xsoap1.2&quot; is not standard and can only be used in conjunction with the
-extensions option</description>
        </parameter>
        <parameter>
          <name>resourceDestDir</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>Directory containing the generated wsdl files.</description>
        </parameter>
        <parameter>
          <name>sei</name>
          <type>java.lang.String</type>
          <required>true</required>
          <editable>true</editable>
          <description>service endpoint implementation class name.</description>
        </parameter>
        <parameter>
          <name>sourceDestDir</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>Specify where to place generated source files, keep is turned on with this option.</description>
        </parameter>
        <parameter>
          <name>verbose</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>Output messages about what the tool is doing</description>
        </parameter>
      </parameters>
      <configuration>
        <extension implementation="boolean" default-value="false"/>
        <resourceDestDir implementation="java.io.File" default-value="${project.build.directory}/jaxws/wsgen/wsdl"/>
        <genWsdl implementation="boolean" default-value="false"/>
        <keep implementation="boolean" default-value="false"/>
        <verbose implementation="boolean" default-value="false"/>
        <project implementation="org.apache.maven.project.MavenProject">${project}</project>
        <pluginArtifacts implementation="java.util.List">${plugin.artifacts}</pluginArtifacts>
        <destDir implementation="java.io.File" default-value="${project.build.outputDirectory}"/>
        <pluginArtifactMap implementation="java.util.Map">${plugin.artifactMap}</pluginArtifactMap>
      </configuration>
    </mojo>
    <mojo>
      <goal>wsimport</goal>
      <description>Parses wsdl and binding files and generates Java code needed to access it.</description>
      <requiresDependencyResolution>runtime</requiresDependencyResolution>
      <requiresDirectInvocation>false</requiresDirectInvocation>
      <requiresProject>true</requiresProject>
      <requiresReports>false</requiresReports>
      <aggregator>false</aggregator>
      <requiresOnline>false</requiresOnline>
      <inheritedByDefault>true</inheritedByDefault>
      <phase>generate-sources</phase>
      <implementation>org.codehaus.mojo.jaxws.MainWsImportMojo</implementation>
      <language>java</language>
      <instantiationStrategy>per-lookup</instantiationStrategy>
      <executionStrategy>once-per-session</executionStrategy>
      <parameters>
        <parameter>
          <name>args</name>
          <type>java.util.List</type>
          <required>false</required>
          <editable>true</editable>
          <description>Specify optional wsimport commnd-line options.
&lt;p&gt;
Multiple elements can be specified, and each token must be placed in its own list.
&lt;/p&gt;</description>
        </parameter>
        <parameter>
          <name>bindingDirectory</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>Directory containing binding files.</description>
        </parameter>
        <parameter>
          <name>bindingFiles</name>
          <type>java.util.List</type>
          <required>false</required>
          <editable>true</editable>
          <description>List of files to use for bindings.If not specified, all .xml files
in the bindingDirectory will be used.</description>
        </parameter>
        <parameter>
          <name>catalog</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>Catalog file to resolve external entity references support TR9401,
XCatalog, and OASIS XML Catalog format.</description>
        </parameter>
        <parameter>
          <name>destDir</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>Specify where to place output generated classes
Set to &quot;&quot; to turn it off</description>
        </parameter>
        <parameter>
          <name>extension</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>Allow to use the JAXWS Vendor Extensions.</description>
        </parameter>
        <parameter>
          <name>httpproxy</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>Set HTTP/HTTPS proxy. Format is [user[:password]@]proxyHost[:proxyPort]</description>
        </parameter>
        <parameter>
          <name>keep</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>Keep generated files.</description>
        </parameter>
        <parameter>
          <name>packageName</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The package in which the source files will be generated.</description>
        </parameter>
        <parameter>
          <name>pluginArtifactMap</name>
          <type>java.util.Map</type>
          <required>false</required>
          <editable>false</editable>
          <description>Map of of plugin artifacts.</description>
        </parameter>
        <parameter>
          <name>project</name>
          <type>org.apache.maven.project.MavenProject</type>
          <required>false</required>
          <editable>false</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>sourceDestDir</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>Specify where to place generated source files, keep is turned on with this option.</description>
        </parameter>
        <parameter>
          <name>staleFile</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>The location of the flag file used to determine if the output is stale.</description>
        </parameter>
        <parameter>
          <name>target</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>Generate code as per the given JAXWS specification version.
Setting &quot;2.0&quot; will cause JAX-WS to generate artifacts
that run with JAX-WS 2.0 runtime.</description>
        </parameter>
        <parameter>
          <name>verbose</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>Output messages about what the tool is doing</description>
        </parameter>
        <parameter>
          <name>wsdlDirectory</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>Directory containing wsdl files.</description>
        </parameter>
        <parameter>
          <name>wsdlFiles</name>
          <type>java.util.List</type>
          <required>false</required>
          <editable>true</editable>
          <description>List of files to use for wsdls. If not specified, all .wsdl files
in the wsdlDirectory will be used.</description>
        </parameter>
        <parameter>
          <name>wsdlLocation</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>wsdlUrls</name>
          <type>java.util.List</type>
          <required>false</required>
          <editable>true</editable>
          <description>List of external wsdl urls to be compiled.</description>
        </parameter>
        <parameter>
          <name>xadditionalHeaders</name>
          <type>java.lang.Boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>Maps headers not bound to the request or response messages to Java method params.</description>
        </parameter>
        <parameter>
          <name>xauthFile</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>Specify the location of authorization file.</description>
        </parameter>
        <parameter>
          <name>xdebug</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>Turn on debug message</description>
        </parameter>
        <parameter>
          <name>xjcArgs</name>
          <type>java.util.List</type>
          <required>false</required>
          <editable>true</editable>
          <description>Specify optional XJC-specific parameters that should simply be passed to xjc
using -B option of WsImport command.
&lt;p&gt;
Multiple elements can be specified, and each token must be placed in its own list.
&lt;/p&gt;</description>
        </parameter>
        <parameter>
          <name>xnoAddressingDataBinding</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>Binding W3C EndpointReferenceType to Java. By default Wsimport follows spec and does not bind
EndpointReferenceType to Java and uses the spec provided {@link javax.xml.ws.wsaddressing.W3CEndpointReference}</description>
        </parameter>
      </parameters>
      <configuration>
        <bindingDirectory implementation="java.io.File" default-value="${basedir}/src/jaxws"/>
        <extension implementation="boolean" default-value="false"/>
        <xdebug implementation="boolean" default-value="false"/>
        <destDir implementation="java.io.File" default-value="${project.build.outputDirectory}"/>
        <xadditionalHeaders implementation="java.lang.Boolean" default-value="false"/>
        <pluginArtifactMap implementation="java.util.Map">${plugin.artifactMap}</pluginArtifactMap>
        <sourceDestDir implementation="java.io.File" default-value="${project.build.directory}/jaxws/wsimport/java"/>
        <staleFile implementation="java.io.File" default-value="${project.build.directory}/jaxws/stale/.staleFlag"/>
        <wsdlDirectory implementation="java.io.File" default-value="${basedir}/src/wsdl"/>
        <xnoAddressingDataBinding implementation="boolean" default-value="false"/>
        <keep implementation="boolean" default-value="false"/>
        <project implementation="org.apache.maven.project.MavenProject">${project}</project>
        <verbose implementation="boolean" default-value="false"/>
      </configuration>
    </mojo>
  </mojos>
  <dependencies>
    <dependency>
      <groupId>com.sun.xml.ws</groupId>
      <artifactId>jaxws-tools</artifactId>
      <type>jar</type>
      <version>2.1.7</version>
    </dependency>
    <dependency>
      <groupId>com.sun.xml.ws</groupId>
      <artifactId>jaxws-rt</artifactId>
      <type>jar</type>
      <version>2.1.7</version>
    </dependency>
    <dependency>
      <groupId>javax.xml.ws</groupId>
      <artifactId>jaxws-api</artifactId>
      <type>jar</type>
      <version>2.1</version>
    </dependency>
    <dependency>
      <groupId>javax.xml.bind</groupId>
      <artifactId>jaxb-api</artifactId>
      <type>jar</type>
      <version>2.1</version>
    </dependency>
    <dependency>
      <groupId>javax.xml.stream</groupId>
      <artifactId>stax-api</artifactId>
      <type>jar</type>
      <version>1.0</version>
    </dependency>
    <dependency>
      <groupId>javax.activation</groupId>
      <artifactId>activation</artifactId>
      <type>jar</type>
      <version>1.1</version>
    </dependency>
    <dependency>
      <groupId>javax.xml.soap</groupId>
      <artifactId>saaj-api</artifactId>
      <type>jar</type>
      <version>1.3</version>
    </dependency>
    <dependency>
      <groupId>javax.annotation</groupId>
      <artifactId>jsr250-api</artifactId>
      <type>jar</type>
      <version>1.0</version>
    </dependency>
    <dependency>
      <groupId>javax.jws</groupId>
      <artifactId>jsr181-api</artifactId>
      <type>jar</type>
      <version>1.0-MR1</version>
    </dependency>
    <dependency>
      <groupId>com.sun.xml.bind</groupId>
      <artifactId>jaxb-impl</artifactId>
      <type>jar</type>
      <version>2.1.11</version>
    </dependency>
    <dependency>
      <groupId>com.sun.xml.messaging.saaj</groupId>
      <artifactId>saaj-impl</artifactId>
      <type>jar</type>
      <version>1.3.3</version>
    </dependency>
    <dependency>
      <groupId>com.sun.xml.stream.buffer</groupId>
      <artifactId>streambuffer</artifactId>
      <type>jar</type>
      <version>0.9</version>
    </dependency>
    <dependency>
      <groupId>org.jvnet.staxex</groupId>
      <artifactId>stax-ex</artifactId>
      <type>jar</type>
      <version>1.2</version>
    </dependency>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <type>jar</type>
      <version>3.8.1</version>
    </dependency>
    <dependency>
      <groupId>org.codehaus.woodstox</groupId>
      <artifactId>wstx-asl</artifactId>
      <type>jar</type>
      <version>3.2.3</version>
    </dependency>
    <dependency>
      <groupId>stax</groupId>
      <artifactId>stax-api</artifactId>
      <type>jar</type>
      <version>1.0.1</version>
    </dependency>
    <dependency>
      <groupId>com.sun.org.apache.xml.internal</groupId>
      <artifactId>resolver</artifactId>
      <type>jar</type>
      <version>20050927</version>
    </dependency>
    <dependency>
      <groupId>org.jvnet</groupId>
      <artifactId>mimepull</artifactId>
      <type>jar</type>
      <version>1.3</version>
    </dependency>
    <dependency>
      <groupId>com.sun.xml.bind</groupId>
      <artifactId>jaxb-xjc</artifactId>
      <type>jar</type>
      <version>2.1.11</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-project</artifactId>
      <type>jar</type>
      <version>2.0.4</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-settings</artifactId>
      <type>jar</type>
      <version>2.0.4</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-model</artifactId>
      <type>jar</type>
      <version>2.0.4</version>
    </dependency>
    <dependency>
      <groupId>org.codehaus.plexus</groupId>
      <artifactId>plexus-utils</artifactId>
      <type>jar</type>
      <version>1.1</version>
    </dependency>
    <dependency>
      <groupId>org.codehaus.plexus</groupId>
      <artifactId>plexus-container-default</artifactId>
      <type>jar</type>
      <version>1.0-alpha-9</version>
    </dependency>
    <dependency>
      <groupId>classworlds</groupId>
      <artifactId>classworlds</artifactId>
      <type>jar</type>
      <version>1.1-alpha-2</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-profile</artifactId>
      <type>jar</type>
      <version>2.0.4</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-artifact-manager</artifactId>
      <type>jar</type>
      <version>2.0.4</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-repository-metadata</artifactId>
      <type>jar</type>
      <version>2.0.4</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-artifact</artifactId>
      <type>jar</type>
      <version>2.0.4</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven.wagon</groupId>
      <artifactId>wagon-provider-api</artifactId>
      <type>jar</type>
      <version>1.0-alpha-6</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-plugin-api</artifactId>
      <type>jar</type>
      <version>2.0.4</version>
    </dependency>
  </dependencies>
</plugin>
 类似资料: