You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Andriy Redko (Jira)" <ji...@apache.org> on 2022/11/21 23:17:00 UTC

[jira] [Resolved] (CXF-8791) Make the Spring / Spring Boot dependencies optional

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

Andriy Redko resolved CXF-8791.
-------------------------------
    Resolution: Fixed

> Make the Spring / Spring Boot dependencies optional
> ---------------------------------------------------
>
>                 Key: CXF-8791
>                 URL: https://issues.apache.org/jira/browse/CXF-8791
>             Project: CXF
>          Issue Type: Sub-task
>    Affects Versions: 4.0.0
>            Reporter: Andriy Redko
>            Assignee: Andriy Redko
>            Priority: Major
>             Fix For: 4.0.0
>
>
> For Apache CXF, the Spring / Spring Boot dependencies are optional at runtime however they are still being brought up transitively. For upcoming 4.0.0 release this is a problem: we would like to stay on JDK-11 as a minimum required baseline but Spring 6 / Spring Boot 3 set the JDK baseline to JDK-17.  Because of such misalignment, using Apache CXF with JDK-11 runtime fails with  "java.lang.UnsupportedClassVersionError" error, caused by the presence of the Spring 6 / Spring Boot 3 JARs in the classpath.
> The Spring / Spring Boot dependencies should be set as optional and when used with Spring 6 / Spring Boot 3, the JDK requirements have to be documented.



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