Harry Braun created CXF-7924:
--------------------------------
Summary: Only one WSDL is generated and deployed per artifact.
Key: CXF-7924
URL: https://issues.apache.org/jira/browse/CXF-7924
Project: CXF
Issue Type: Bug
Components: Tooling
Affects Versions: 3.2.7
Environment: Maven 3.5.4, JDK 1.8.0_191
Reporter: Harry Braun
If more than one WSDL is created in a Maven build, only one WSDL is created and
stored in the repository. With version 3.2.4 a file with the extension
<webservice>.wsdl is created for each WSDL, with version 3.2.7 there is only
one file with the extension .wsdl, in which probably only the last generated
webservice was stored.
All projects that offer several web services can not be converted to version
3.2.7.
<execution>
<id>wsdl-ABCWS</id>
<phase>process-classes</phase>
<configuration>
<className>backend.ws.ABCWS</className>
<genWsdl>true</genWsdl>
<verbose>true</verbose>
<outputFile>${project.build.directory}/generated-sources/wsdl/ABCWS.wsdl</outputFile>
<attachWsdl>true</attachWsdl>
</configuration>
<goals>
<goal>java2ws</goal>
</goals>
</execution>
<execution>
<id>wsdl-XYZWS</id>
<phase>process-classes</phase>
<configuration>
<className>backend.ws.XYZWS</className>
<genWsdl>true</genWsdl>
<verbose>true</verbose>
<outputFile>${project.build.directory}/generated-sources/wsdl/XYZWS.wsdl</outputFile>
<attachWsdl>true</attachWsdl>
</configuration>
<goals>
<goal>java2ws</goal>
</goals>
</execution>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)