This is an automated email from the ASF dual-hosted git repository.

cziegeler pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/felix-dev.git


The following commit(s) were added to refs/heads/master by this push:
     new 0a4ad65  FELIX-6244 : http.servlet-api provides incorrect version 
information for osgi.contract JavaServlet
0a4ad65 is described below

commit 0a4ad65d69f530efd30eef9b0c8826d0d4dc2ca8
Author: Carsten Ziegeler <[email protected]>
AuthorDate: Sun Jan 2 14:41:14 2022 +0100

    FELIX-6244 : http.servlet-api provides incorrect version information for 
osgi.contract JavaServlet
---
 http/servlet-api/pom.xml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/http/servlet-api/pom.xml b/http/servlet-api/pom.xml
index 6a7c1af..97b1543 100644
--- a/http/servlet-api/pom.xml
+++ b/http/servlet-api/pom.xml
@@ -36,6 +36,7 @@
             <plugin>
                 <groupId>org.apache.felix</groupId>
                 <artifactId>maven-bundle-plugin</artifactId>
+                <version>5.1.3</version>
                 <extensions>true</extensions>
                 <configuration>
                     <instructions>
@@ -63,7 +64,7 @@
                         </Export-Package>
                         <Import-Package>!*</Import-Package>
                         <Provide-Capability>
-                            
osgi.contract;osgi.contract="JavaServlet";version:Version="4.0";
+                            
osgi.contract;osgi.contract="JavaServlet";version:List&lt;Version&gt;="2.6,3.0,3.1,4.0";
                             
uses:="javax.servlet,javax.servlet.http,javax.servlet.descriptor,javax.servlet.annotation"
                         </Provide-Capability>
                        
<Embed-Dependency>tomcat-servlet-api;inline=true</Embed-Dependency>

Reply via email to