Add missing jersey-hk2 bundle for InjectionManagerFactory implementation 50/4150/1
authorjsimomaa <jani.simomaa@gmail.com>
Thu, 16 Apr 2020 13:37:53 +0000 (16:37 +0300)
committerjsimomaa <jani.simomaa@gmail.com>
Thu, 16 Apr 2020 13:37:53 +0000 (16:37 +0300)
gitlab #486

Change-Id: Ice1a459bda550f19fec2e8b37d065baa9d1165d4

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

index ec095415a6a014d67731fefec84becd37610d0a0..96acab029cf20142714039f5ac2fd991e5b05e66 100644 (file)
                                         <Import-Package>!javax.*,*;resolution:=optional</Import-Package>
                                     </instructions>
                                 </artifact>
+                                <artifact>
+                                    <id>org.glassfish.jersey.inject:jersey-hk2:${jersey.version}</id>
+                                    <source>true</source>
+                                    <override>true</override>
+                                    <instructions>
+                                        <Bundle-Version>${jersey.version.actual}</Bundle-Version>
+                                        <Require-Bundle>
+                                             javax.annotation,
+                                             javax.inject,
+                                             javax.servlet-api,
+                                             jakarta.validation.jakarta.validation-api,
+                                             jakarta.ws.rs-api,
+                                             jakarta.xml.bind-api
+                                        </Require-Bundle>
+                                        <Import-Package>!javax.*,*;resolution:=optional</Import-Package>
+                                    </instructions>
+                                </artifact>
                                 <artifact>
                                     <id>org.jboss.windup.decompiler:decompiler-procyon:${decompiler-procyon.version}</id>
                                     <source>true</source>