Skip to content

Commit 627a1df

Browse files
committed
OSGi version requirements for jakarta.enterprise explicitly added
Signed-off-by: Maxim Nesen <[email protected]>
1 parent 88ed890 commit 627a1df

File tree

9 files changed

+29
-4
lines changed

9 files changed

+29
-4
lines changed

ext/bean-validation/pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@
5858
<Import-Package>
5959
${jakarta.annotation.osgi.version},
6060
jakarta.validation.*;resolution:=optional;version="[3,4)",
61+
jakarta.enterprise.*;version="[3.0,5)",
62+
jakarta.decorator.*;version="[3.0,5)",
6163
*
6264
</Import-Package>
6365
</instructions>

ext/cdi/jersey-cdi1x-servlet/pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,11 @@
8686
<configuration>
8787
<instructions>
8888
<Export-Package>org.glassfish.jersey.ext.cdi1x.servlet.internal</Export-Package>
89+
<Import-Package>
90+
jakarta.enterprise.*;version="[3.0,5)",
91+
jakarta.decorator.*;version="[3.0,5)",
92+
*
93+
</Import-Package>
8994
</instructions>
9095
</configuration>
9196
</plugin>

ext/cdi/jersey-cdi1x-transaction/pom.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,12 @@
9191
<configuration>
9292
<instructions>
9393
<Export-Package>org.glassfish.jersey.ext.cdi1x.transaction.internal</Export-Package>
94-
<Import-Package>${jakarta.annotation.osgi.version},*</Import-Package>
94+
<Import-Package>
95+
jakarta.enterprise.*;version="[3.0,5)",
96+
jakarta.decorator.*;version="[3.0,5)",
97+
${jakarta.annotation.osgi.version},
98+
*
99+
</Import-Package>
95100
</instructions>
96101
</configuration>
97102
</plugin>

ext/cdi/jersey-cdi1x-validation/pom.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,12 @@
103103
<configuration>
104104
<instructions>
105105
<Export-Package>org.glassfish.jersey.ext.cdi1x.validation.internal;version=${project.version}</Export-Package>
106-
<Import-Package>${jakarta.annotation.osgi.version},*</Import-Package>
106+
<Import-Package>
107+
jakarta.enterprise.*;version="[3.0,5)",
108+
jakarta.decorator.*;version="[3.0,5)",
109+
${jakarta.annotation.osgi.version},
110+
*
111+
</Import-Package>
107112
</instructions>
108113
</configuration>
109114
</plugin>

ext/cdi/jersey-cdi1x/pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@
8787
<Import-Package>
8888
${jakarta.annotation.osgi.version},
8989
${hk2.osgi.version},
90+
jakarta.enterprise.*;version="[3.0,5)",
91+
jakarta.decorator.*;version="[3.0,5)",
9092
*
9193
</Import-Package>
9294
</instructions>

ext/microprofile/mp-rest-client/pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,8 @@
118118
org.glassfish.jersey.restclient.*;version=${project.version}
119119
</Export-Package>
120120
<Import-Package>
121+
jakarta.enterprise.*;version="[3.0,5)",
122+
jakarta.decorator.*;version="[3.0,5)",
121123
*
122124
</Import-Package>
123125
</instructions>

incubator/cdi-inject-weld/pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,8 @@
124124
<Import-Package>
125125
sun.misc.*;resolution:=optional,
126126
${jakarta.annotation.osgi.version},
127+
jakarta.enterprise.*;version="[3.0,5)",
128+
jakarta.decorator.*;version="[3.0,5)",
127129
*
128130
</Import-Package>
129131
</instructions>

inject/cdi2-se/pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@
9191
</Export-Package>
9292
<Import-Package>
9393
sun.misc.*;resolution:=optional,
94+
jakarta.enterprise.*;version="[3.0,5)",
95+
jakarta.decorator.*;version="[3.0,5)",
9496
${jakarta.annotation.osgi.version},
9597
*
9698
</Import-Package>

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2073,8 +2073,8 @@
20732073
<hamcrest.version>1.3</hamcrest.version>
20742074
<helidon.version>1.0.3</helidon.version>
20752075
<xmlunit.version>1.6</xmlunit.version>
2076-
<hk2.osgi.version>org.glassfish.hk2.*;version="[2.5,4)"</hk2.osgi.version>
2077-
<hk2.jvnet.osgi.version>org.jvnet.hk2.*;version="[2.5,4)"</hk2.jvnet.osgi.version>
2076+
<hk2.osgi.version>org.glassfish.hk2.*;version="[3.0,4)"</hk2.osgi.version>
2077+
<hk2.jvnet.osgi.version>org.jvnet.hk2.*;version="[3.0,4)"</hk2.jvnet.osgi.version>
20782078
<hk2.config.version>6.0.0</hk2.config.version>
20792079
<httpclient.version>4.5.13</httpclient.version>
20802080
<jackson.version>2.13.0</jackson.version>

0 commit comments

Comments
 (0)