Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-8371 Support Jakarta EE 9.0+
  3. CXF-8791

Make the Spring / Spring Boot dependencies optional

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0.0
    • 4.0.0
    • None
    • None
    • Unknown

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              reta Andriy Redko
              reta Andriy Redko
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: