问题描述
- maven multi wsdl different sourceroot
- 如何将不同的wsdl generate代码放在不同的sourceRoot中?
这样配置所有代码都放在folder1中,该如何正确配置?请大神解答!org.apache.cxf
cxf-codegen-plugin
${cxf.version}generate-traintime
wsdl2java
${project.build.directory}/generated-sources/cxf/folder1
${basedir}/src/main/resources/wsdl/mywebservice1.wsdl
classpath:/wsdl/mywebservice1.wsdl-verbose
-clientgenerate-stock
wsdl2java
${project.build.directory}/generated-sources/cxf/folder2
${basedir}/src/main/resources/wsdl/mywebservice2.wsdl
classpath:/wsdl/mywebservice2.wsdl-verbose
-client</executions> </plugin>
时间: 2024-12-03 22:43:48