[ https://issues.apache.org/jira/browse/FELIX-4795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14319976#comment-14319976 ]
Tuomas Kiviaho commented on FELIX-4795: --------------------------------------- It might be a bit premature with declaring the {{Require-Capability:}} because can't find any [implementation|https://repo1.maven.org/maven2/javax/servlet/javax.servlet-api/3.0.1/] that provides this capability. The version range could in my opinion be open-ended because the API is most like to stay backward compatible in the future as well. > Servlet API 3.x not supported > ----------------------------- > > Key: FELIX-4795 > URL: https://issues.apache.org/jira/browse/FELIX-4795 > Project: Felix > Issue Type: Bug > Components: Web Console > Affects Versions: webconsole-4.2.6 > Reporter: Tuomas Kiviaho > Priority: Blocker > > It seems that webconsole along it's plugins import > javax.servlet.*;version=2.4 version only. Newest Pax Web for instance uses > 3.x and thus these bundles do not resolve. > As a solution I propose opening up the version range as per > [http://blog.osgi.org/2014/09/portable-java-contracts-for-javax.html] > {code} > Require-Capability: osgi.contract; > filter:="(&(osgi.contract=JavaServlet)(version>=2.4))", > Import-Package: javax.servlet, javax.servlet.http > {code} > PS. > [webconsole-4.2.6-all.jar|http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22org.apache.felix%22%20AND%20a%3A%22org.apache.felix.webconsole%22] > isn't available in the maven repo, but I assume it would have still this > same "defect" as the previous ones. -- This message was sent by Atlassian JIRA (v6.3.4#6332)