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

Thomas Egli updated CXF-8978:
-----------------------------
    Description: 
With CXF-8912 the dependency to Xerces was removed. Alas, the Maven profile 
"ibmjdk" is still there, dependency to xercesImpl.

Because the version information got removed, the dependency declaration is now 
invalid, and a build 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.}}

  was:
With CXF-8912 the dependency to Xerces was removed. Alas, the Maven profile 
"ibmjdk" is still there, dependency to xercesImpl.

Because the version information got removed, the dependency declaration is now 
invalid, and a build 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.

 


> Remove Maven profile "ibmjdk"
> -----------------------------
>
>                 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 there, dependency to xercesImpl.
> Because the version information got removed, the dependency declaration is 
> now invalid, and a build 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