<plugin>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-codegen-plugin</artifactId>
<version>${cxf.version}</version>
<executions>
<execution>
<id>generate-sources</id>
<phase>generate-sources</phase>
<configuration>
<!-- 默认的产生wsdl sources 的位置。可以省略不写 -->
<!-- <sourceRoot>${project.build.directory}/generated-sources/cxf</sourceRoot> -->
<!-- 另一种指定wsdl档案的方式 -->
<!-- <wsdlOptions> <wsdlOption> <wsdl>${basedir}/src/main/wsdl/</wsdl>
</wsdlOption> </wsdlOptions> -->
<!-- 默认的wsdl档案地址 ,也可以省略 -->
<wsdlRoot>${basedir}/src/main/resources/wsdl</wsdlRoot>
<includes>
<include>*.wsdl</include>
</includes>
</configuration>
<goals>
<goal>wsdl2java</goal>
</goals>
</execution>
</executions>
<configuration>
</configuration>
</plugin>
分享到:
相关推荐
maven-enunciate-cxf-plugin-1.27.jar
maven-enunciate-cxf-plugin-1.26.jar
maven-enunciate-cxf-plugin-1.26.2.jar
maven-enunciate-cxf-plugin-1.26.1.jar
maven-enunciate-cxf-plugin-1.23.jar
maven-enunciate-cxf-plugin-1.22.jar
maven-enunciate-cxf-plugin-1.21.jar
maven-enunciate-cxf-plugin-1.21.1.jar
maven-enunciate-cxf-plugin-1.20.jar
maven-enunciate-cxf-plugin-1.27-sources.jar
maven-enunciate-cxf-plugin-1.27-rc2.jar
maven-enunciate-cxf-plugin-1.26-sources.jar
maven-enunciate-cxf-plugin-1.26-rc2.jar
maven-enunciate-cxf-plugin-1.26.2-sources.jar
maven-enunciate-cxf-plugin-1.26.1-sources.jar
maven-enunciate-cxf-plugin-1.25-sources.jar
maven-enunciate-cxf-plugin-1.25-rc2.jar
maven-enunciate-cxf-plugin-1.22-sources.jar
maven-enunciate-cxf-plugin-1.22-rc2.jar
maven-enunciate-cxf-plugin-1.21-sources.jar