]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
Do not require bundles in jersey but make package imports optional 56/4156/2
authorjsimomaa <jani.simomaa@gmail.com>
Thu, 16 Apr 2020 23:04:28 +0000 (02:04 +0300)
committerJani Simomaa <jani.simomaa@semantum.fi>
Thu, 16 Apr 2020 23:04:40 +0000 (23:04 +0000)
gitlab #486

Change-Id: I2ed718fe7fdd94152677db2aae688a1cb46d9247

releng/org.simantics.sdk.build.p2.site/pom.xml

index 8528800c2b68cace11128967b4bc5c2e31ca4edf..9534f71fb89e04793f90ad84a5a2d9b8ee18efef 100644 (file)
@@ -28,7 +28,7 @@
         <jakarta.version.actual>2.1.6.b0005</jakarta.version.actual>
         <jersey.version>2.30.1</jersey.version>
         <!-- This can be removed once jersey version is bumped -->
-        <jersey.version.actual>2.30.1.b0007</jersey.version.actual>
+        <jersey.version.actual>2.30.1.b0008</jersey.version.actual>
         <jfreechart.version>1.5.0</jfreechart.version>
         <slf4j.version>1.7.30</slf4j.version>
         <slf4j.version.actual>1.7.30</slf4j.version.actual>
                                     <override>true</override>
                                     <instructions>
                                         <Bundle-Version>${jersey.version.actual}</Bundle-Version>
-                                        <Require-Bundle>
+                                        <!-- <Require-Bundle>
                                              javax.annotation,
                                              javax.inject,
                                              javax.servlet-api,
                                              jakarta.ws.rs-api,
                                              jakarta.xml.bind-api,
                                              jakarta.activation-api
-                                        </Require-Bundle>
-                                        <Import-Package>!javax.*,*;resolution:=optional</Import-Package>
+                                        </Require-Bundle> -->
+                                        <Import-Package>*;resolution:=optional</Import-Package>
                                         <Export-Package>
                                             org.glassfish.jersey.*;version="${jersey.version}"
                                         </Export-Package>
                                     <override>true</override>
                                     <instructions>
                                         <Bundle-Version>${jersey.version.actual}</Bundle-Version>
-                                        <Require-Bundle>
+                                        <!-- <Require-Bundle>
                                              javax.annotation,
                                              javax.inject,
                                              javax.servlet-api,
                                              jakarta.ws.rs-api,
                                              jakarta.xml.bind-api,
                                              jakarta.activation-api
-                                        </Require-Bundle>
-                                        <Import-Package>!javax.*,*;resolution:=optional</Import-Package>
+                                        </Require-Bundle> -->
+                                        <Import-Package>*;resolution:=optional</Import-Package>
                                     </instructions>
                                 </artifact>
                                 <artifact>
                                     <override>true</override>
                                     <instructions>
                                         <Bundle-Version>${jersey.version.actual}</Bundle-Version>
-                                        <Require-Bundle>
+                                        <!-- <Require-Bundle>
                                              javax.annotation,
                                              javax.inject,
                                              javax.servlet-api,
                                              jakarta.ws.rs-api,
                                              jakarta.xml.bind-api,
                                              jakarta.activation-api
-                                        </Require-Bundle>
-                                        <Import-Package>!javax.*,*;resolution:=optional</Import-Package>
+                                        </Require-Bundle> -->
+                                        <Import-Package>*;resolution:=optional</Import-Package>
                                     </instructions>
                                 </artifact>
                                 
                                     <override>true</override>
                                     <instructions>
                                         <Bundle-Version>${jersey.version.actual}</Bundle-Version>
-                                        <Require-Bundle>
+                                        <!-- <Require-Bundle>
                                              jakarta.ws.rs-api,
                                              jakarta.activation-api,
                                              javax.servlet-api,
                                              org.glassfish.jersey.core.jersey-server
-                                        </Require-Bundle>
-                                        <Import-Package>!javax.*,*;resolution:=optional</Import-Package>
+                                        </Require-Bundle> -->
+                                        <Import-Package>*;resolution:=optional</Import-Package>
                                     </instructions>
                                 </artifact>
                                 <artifact>
                                     </excludes>
                                     <instructions>
                                         <Bundle-Version>${jersey.version.actual}</Bundle-Version>
-                                        <Require-Bundle>
+                                        <!-- <Require-Bundle>
                                              javax.annotation,
                                              javax.inject,
                                              javax.servlet-api,
                                              jakarta.ws.rs-api,
                                              jakarta.xml.bind-api,
                                              jakarta.activation-api
-                                        </Require-Bundle>
-                                        <Import-Package>!javax.*,*;resolution:=optional</Import-Package>
+                                        </Require-Bundle> -->
+                                        <Import-Package>*;resolution:=optional</Import-Package>
                                     </instructions>
                                 </artifact>
                                 <artifact>
                                     <override>true</override>
                                     <instructions>
                                         <Bundle-Version>${jersey.version.actual}</Bundle-Version>
-                                        <Require-Bundle>
+                                        <!-- <Require-Bundle>
                                              javax.annotation,
                                              javax.inject,
                                              javax.servlet-api,
                                              jakarta.ws.rs-api,
                                              jakarta.xml.bind-api,
                                              jakarta.activation-api
-                                        </Require-Bundle>
-                                        <Import-Package>!javax.*,*;resolution:=optional</Import-Package>
+                                        </Require-Bundle> -->
+                                        <Import-Package>*;resolution:=optional</Import-Package>
                                     </instructions>
                                 </artifact>
                                 <artifact>
                                     <override>true</override>
                                     <instructions>
                                         <Bundle-Version>${jersey.version.actual}</Bundle-Version>
-                                        <Require-Bundle>
+                                        <!-- <Require-Bundle>
                                              javax.annotation,
                                              javax.inject,
                                              javax.servlet-api,
                                              jakarta.ws.rs-api,
                                              jakarta.xml.bind-api,
                                              jakarta.activation-api
-                                        </Require-Bundle>
-                                        <Import-Package>!javax.*,*;resolution:=optional</Import-Package>
+                                        </Require-Bundle> -->
+                                        <Import-Package>*;resolution:=optional</Import-Package>
                                     </instructions>
                                 </artifact>
                                 <artifact>