[ 
https://issues.apache.org/jira/browse/CXF-8978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thomas Egli updated CXF-8978:
-----------------------------
    Summary: Codegen plugin fails with IBM JDK  (was: Remove Maven profile 
"ibmjdk" in codegen-plugin)

> Codegen plugin fails with IBM JDK
> ---------------------------------
>
>                 Key: CXF-8978
>                 URL: https://issues.apache.org/jira/browse/CXF-8978
>             Project: CXF
>          Issue Type: Bug
>          Components: Build system
>    Affects Versions: 4.0.3
>            Reporter: Thomas Egli
>            Priority: Minor
>
> With CXF-8912 the dependency to Xerces was removed. Alas, the Maven profile 
> "ibmjdk" is still present in the codegen-plugin project, with a dependency to 
> xercesImpl.
> Because the version information got removed, the dependency declaration is 
> now invalid, and running the codegen-plugin with an IBM JDK now fails with:
> {{[ERROR] Plugin org.apache.cxf:cxf-codegen-plugin:4.0.3 or one of its 
> dependencies could not be resolved: Failed to read artifact descriptor for 
> org.apache.cxf:cxf-codegen-plugin:jar:4.0.3: 1 problem was encountered while 
> building the effective model for org.apache.cxf:cxf-codegen-plugin:4.0.3}}
> {{[ERROR] [ERROR] 'dependencies.dependency.version' for xerces:xercesImpl:jar 
> is missing.}}
> Tested with IBM Semeru 17.
>  
> We should remove this obsolete profile from the POM.
> As a workaround, one can override the "java.vendor" JVM property with 
> something else than "IBM Corporation", e.g. {{-Djava.vendor=IBM Corp.}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to