2 zhengxin070513 zhengxin070513 于 2014.03.23 14:48 提问

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
-client






generate-stock

wsdl2java


${project.build.directory}/generated-sources/cxf/folder2


${basedir}/src/main/resources/wsdl/mywebservice2.wsdl
classpath:/wsdl/mywebservice2.wsdl

-verbose
-client




            </executions>
        </plugin>
Csdn user default icon
上传中...
上传图片
插入图片