- The 3.1.5.redhat-630377 version of the Maven plugin cxf-java2ws-plugin plugin doesn't work with multiple executions. For example, this doesn't work:
<plugin>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-java2ws-plugin</artifactId>
<version>3.1.5.redhat-630377</version>
<executions>
<execution>
<id>FOO_WSDL</id>
<phase>process-classes</phase>
<configuration>
<className>com.example.FooService</className>
...
</configuration>
<goals>
<goal>java2ws</goal>
</goals>
</execution>
<execution>
<id>BAR_WSDL</id>
<phase>process-classes</phase>
<configuration>
<className>com.example.BarService</className>
...
</configuration>
<goals>
<goal>java2ws</goal>
</goals>
</execution>
</plugin>
- The 3.1.5.redhat-630347 (R7) version works.
- It looks like the bug was added in R8 version.