[
https://issues.apache.org/jira/browse/CXF-8990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17829920#comment-17829920
]
Freeman Yue Fang commented on CXF-8990:
---------------------------------------
Hi [~jondruse],
I just pushed the fix on camel side.
https://github.com/apache/camel/commit/c2f719109610538374003e66049a83b6f5d5b323
Freeman
> Cxf plugins (codegen, xjc): fails in versions 4.0.4, 4.0.1
> -----------------------------------------------------------
>
> Key: CXF-8990
> URL: https://issues.apache.org/jira/browse/CXF-8990
> Project: CXF
> Issue Type: Bug
> Reporter: Jiri Ondrusek
> Priority: Major
>
> I was building Camel right after the upgrade of plugins (cxf-codegen to 4.0.4
> and cxf-xjc to 4.0.1) See
> [https://github.com/apache/camel/commit/a1bc751d7d8f5fb2016ed54e0735de5e4e9ec18b]
>
> The build failed with:
> {code:java}
> [INFO] --------------------< org.apache.camel:camel-itest
> >--------------------
> [INFO] Building Camel :: Integration Tests 4.5.0-SNAPSHOT
> [557/559]
> [INFO] from tests/camel-itest/pom.xml
> [INFO] --------------------------------[ jar
> ]---------------------------------
> [INFO]
> [INFO] --- clean:3.3.2:clean (default-clean) @ camel-itest ---
> [INFO] Deleting /home/jondruse/git/community/camel/tests/camel-itest/target
> [INFO]
> [INFO] --- cxf-codegen:4.0.4:wsdl2java (generate-test-sources) @ camel-itest
> ---
> [INFO] Running code generation in fork mode...
> [INFO] The java executable is
> /home/jondruse/.sdkman/candidates/java/17.0.9-tem/bin/java
> [INFO] Building jar:
> /tmp/cxf-tmp-14372731791450387841/cxf-codegen4454546328799244847.jar
> [WARNING] Exception in thread "main"
> org.apache.cxf.tools.common.ToolException: Not a valid jaxb or jaxws binding
> file, please check the namespace
> {code}
> {code:java}
> ...
> ERROR] Failed to execute goal
> org.apache.cxf:cxf-codegen-plugin:4.0.4:wsdl2java (generate-test-sources) on
> project camel-itest:
> [ERROR] Exit code: 1
> [ERROR] Command line was:
> /home/jondruse/.sdkman/candidates/java/17.0.9-tem/bin/java
> --add-exports=jdk.xml.dom/org.w3c.dom.html=ALL-UNNAMED
> --add-exports=java.xml/com.sun.org.apache.xerces.internal.impl.xs=ALL-UNNAMED
> --add-opens java.base/java.security=ALL-UNNAMED --add-opens
> java.base/java.net=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED
> --add-opens java.base/java.util=ALL-UNNAMED --add-opens
> java.base/java.util.concurrent=ALL-UNNAMED -jar
> /tmp/cxf-tmp-14372731791450387841/cxf-codegen4454546328799244847.jar
> /tmp/cxf-tmp-14372731791450387841/cxf-w2j15211708284601236974args
> {code}
> Issue can be simulated by building of Camel from this commit:
> https://github.com/apache/camel/commit/a1bc751d7d8f5fb2016ed54e0735de5e4e9ec18b
--
This message was sent by Atlassian Jira
(v8.20.10#820010)