You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Omar Atia (Jira)" <ji...@apache.org> on 2020/06/03 08:12:00 UTC

[jira] [Created] (CXF-8293) While compiling many WSDLs it overwrites ObjectFactory

Omar Atia created CXF-8293:
------------------------------

             Summary: While compiling many WSDLs it overwrites ObjectFactory
                 Key: CXF-8293
                 URL: https://issues.apache.org/jira/browse/CXF-8293
             Project: CXF
          Issue Type: Bug
    Affects Versions: 3.2.8
         Environment: Not working environment : 

 mvn -version

*Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)*

Maven home: /Users/omar/Downloads/apache-maven-3.6.3

Java version: 1.8.0_251, vendor: Oracle Corporation, runtime: /Library/Java/JavaVirtualMachines/jdk1.8.0_251.jdk/Contents/Home/jre

Default locale: en_US, platform encoding: UTF-8

OS name: "mac os x", version: "10.15.3", arch: "x86_64", family: "mac"
            Reporter: Omar Atia


Dears ,

While compiling WSDL using maven code-gen plugin the below pom.xml , it overwrites ObjectFactory with last wsdl and not merge all of WSDLs inside ObjectFactory , in Windows it is working fine on JDK1.8 and maven 3.6.3 but in Mac and some Unbuntu version it overwrites the ObjectFactory .

We used on Mac the same JDK and same maven used on Working windows but that also doesn't work , it keeps overwriting the ObjectFactory with last wsdls.

Pom.xml :

 

 
{code:java}
<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>
<sourceRoot>${project.build.directory}/generated/cxf</sourceRoot>
<wsdlRoot>${basedir}/src/main/resources/wsdl</wsdlRoot>
<includes>
<include>*.wsdl</include>
</includes>
</configuration>
 
<goals>
<goal>wsdl2java</goal>
</goals>
</execution>
</executions>
</plugin>
{code}
 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)