vaadin / platform

Vaadin platform 10+ is a Java web development platform based on Vaadin web components. If you don't know to which repository your bug report should be filed, use this and we'll move it to the right one.
https://vaadin.com
543 stars 78 forks source link

Need to upgrade Jakarta.servlet-api to latest version (6.x) #6607

Closed vivekjaiprakash closed 1 month ago

vivekjaiprakash commented 1 month ago

Description

We are using Karaf- 4.4.6 version in our project..While installing pax-web-features (9.0.16), it introduces dependency on Jakarta.servlet-api : 4.0.4.

mvn:jakarta.servlet/jakarta.servlet-api/4.0.4

We use 6.x version of Jakarta.servlet-api in the project which creates a conflict causing the following error.

org.ops4j.pax.web.pax-web-jetty [org.ops4j.pax.web.pax-web-jetty [71](R 71.0)] because it is exposed to package 'javax.servlet' from resources jakarta.servlet-api [jakarta.servlet-api [24](R 24.0)] and jakarta.servlet-api [jakarta.servlet-api [116](R 116.0)] via two dependency chains.

Please suggest a way to get around this error? Is there plans of upgrading jakarta.servlet-api in next karat version?

Use cases

Acceptance criteria

General criteria

TatuLund commented 1 month ago

Karaf is not a product of Vaadin. So we are not the right party for this request.

The issue tracer of Karaf is here: https://issues.apache.org/jira/projects/KARAF/issues

Vaadin 24 does not support OSGi yet, as many pieces of the infrastructure are missing, Karaf being one of them. The OSGi spec.

There is OSGi add-on for Vaadin 23 here: https://github.com/vaadin/osgi