[ 
https://issues.apache.org/jira/browse/FELIX-6497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17495347#comment-17495347
 ] 

Rakesh Kumar commented on FELIX-6497:
-------------------------------------

there is some formatting issue in my previous comment and apparently I could 
not edit it so adding it again for better readability.

 
{code:java}
org.osgi.framework.system.packages.extra= \
  javax.servlet; \
  javax.servlet.http; \
  javax.servlet.descriptor; \
  javax.servlet.annotation;version="3.1.0", \
  \
  javax.servlet; \
  javax.servlet.http; \
  javax.servlet.descriptor; \
  javax.servlet.annotation;version="4.0.0", \
  \ {code}
 

This works well as the servlet api range specified in WebConsole and its 
plugins is something like this *version="[2.x,4)"* and it is satisfied by *v3.1*

v4 will not be considered using this range therefore I thought to have *v5* so 
that *v4* can satisfy the package import.

I'll remove *v3.1* and export only the *v4* from framework.

And regarding updating the maven dependency, as we know it is still backward 
compatible so I think we can safely use the latest coordinates.

 
{code:java}
<!-- https://mvnrepository.com/artifact/jakarta.servlet/jakarta.servlet-api -->
<dependency>
    <groupId>jakarta.servlet</groupId>
    <artifactId>jakarta.servlet-api</artifactId>
    <version>4.0.4</version>
    <scope>provided</scope>
</dependency>
 {code}
 

> Export Servlet API 4.0
> ----------------------
>
>                 Key: FELIX-6497
>                 URL: https://issues.apache.org/jira/browse/FELIX-6497
>             Project: Felix
>          Issue Type: Improvement
>          Components: HTTP Service
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>            Priority: Major
>             Fix For: http.servlet-api-1.2.0
>
>




--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to