|
43 | 43 | <instructions>
|
44 | 44 | <Bundle-Activator>org.ops4j.pax.web.extender.war.internal.Activator</Bundle-Activator>
|
45 | 45 | <Import-Package>
|
46 |
| - <!-- ranges indicate Servlet API 3.1+ (JavaEE 7+) --> |
47 |
| - javax.servlet;version="[3.1,5)", |
48 |
| - javax.servlet.descriptor;version="[3.1,5)", |
49 |
| - javax.servlet.annotation;version="[3.1,5)", |
50 |
| - javax.servlet.http;version="[3.1,5)", |
| 46 | + <!-- ranges indicate Servlet API 6.0+ (JakartaEE 10+) --> |
| 47 | + jakarta.servlet;version="[6,7)", |
| 48 | + jakarta.servlet.annotation;version="[6,7)", |
| 49 | + jakarta.servlet.descriptor;version="[6,7)", |
| 50 | + jakarta.servlet.http;version="[6,7)", |
51 | 51 |
|
52 | 52 | <!-- for annotation scanning on listeners, servlets and filters -->
|
53 |
| - javax.annotation;version="[1.3,2)", |
54 |
| - javax.annotation.security;version="[1.3,2)", |
| 53 | + jakarta.annotation;version="[2,3)", |
| 54 | + jakarta.annotation.security;version="[2,3)", |
55 | 55 |
|
56 |
| - <!-- ranges indicate we can work with OSGi Core R6+ --> |
57 |
| - org.osgi.framework;version="[1.8,2)", |
| 56 | + <!-- OSGi Core R8+ --> |
| 57 | + org.osgi.framework;version="[1.10,2)", |
58 | 58 | org.osgi.framework.wiring;version="[1.2,2)",
|
59 | 59 | org.osgi.util.tracker;version="[1.5,2)",
|
60 | 60 |
|
61 | 61 | <!-- OSGi cmpn -->
|
62 |
| - org.osgi.service.http;version="[1.2,2)", |
63 |
| - org.osgi.service.http.context;version="[1.1,2)", |
| 62 | + org.osgi.service.servlet.context;version="[2,3)", |
64 | 63 |
|
65 | 64 | <!-- from pax-web-api -->
|
66 | 65 | org.ops4j.pax.web.service;version="${pax-web.osgi.version}",
|
| 66 | + org.ops4j.pax.web.service.http;version="${pax-web.osgi.version}", |
67 | 67 | org.ops4j.pax.web.utils;version="${pax-web.osgi.version}",
|
68 | 68 |
|
69 | 69 | <!-- from pax-web-spi -->
|
|
79 | 79 | org.ops4j.pax.web.service.spi.util;version="${pax-web.osgi.version}",
|
80 | 80 |
|
81 | 81 | <!-- from pax-logging-api -->
|
82 |
| - org.slf4j;version="[1.7,2)", |
| 82 | + org.slf4j;version="[2,3)", |
83 | 83 |
|
84 | 84 | <!-- from pax-web-tomcat-common / tomcat-api -->
|
85 | 85 | org.apache.tomcat;version="${dependency.org.apache.tomcat}",
|
|
129 | 129 | <artifactId>osgi.core</artifactId>
|
130 | 130 | <scope>provided</scope>
|
131 | 131 | </dependency>
|
| 132 | + <dependency> |
| 133 | + <groupId>org.osgi</groupId> |
| 134 | + <artifactId>org.osgi.service.servlet</artifactId> |
| 135 | + <scope>provided</scope> |
| 136 | + </dependency> |
132 | 137 |
|
133 | 138 | <dependency>
|
134 | 139 | <groupId>org.apache.felix</groupId>
|
135 | 140 | <artifactId>org.apache.felix.utils</artifactId>
|
136 | 141 | </dependency>
|
137 | 142 |
|
138 |
| - <!-- JavaEE --> |
| 143 | + <!-- JakartaEE --> |
139 | 144 |
|
140 | 145 | <dependency>
|
141 | 146 | <groupId>jakarta.annotation</groupId>
|
|
157 | 162 | </dependency>
|
158 | 163 | <dependency>
|
159 | 164 | <groupId>org.apache.logging.log4j</groupId>
|
160 |
| - <artifactId>log4j-slf4j-impl</artifactId> |
| 165 | + <artifactId>log4j-slf4j2-impl</artifactId> |
161 | 166 | <scope>test</scope>
|
162 | 167 | </dependency>
|
163 | 168 |
|
|
181 | 186 | <!-- Testing -->
|
182 | 187 |
|
183 | 188 | <dependency>
|
184 |
| - <groupId>junit</groupId> |
185 |
| - <artifactId>junit</artifactId> |
| 189 | + <groupId>org.junit.jupiter</groupId> |
| 190 | + <artifactId>junit-jupiter-api</artifactId> |
| 191 | + <scope>test</scope> |
| 192 | + </dependency> |
| 193 | + <dependency> |
| 194 | + <groupId>org.junit.jupiter</groupId> |
| 195 | + <artifactId>junit-jupiter-engine</artifactId> |
| 196 | + <scope>test</scope> |
| 197 | + </dependency> |
| 198 | + <dependency> |
| 199 | + <groupId>org.assertj</groupId> |
| 200 | + <artifactId>assertj-core</artifactId> |
186 | 201 | <scope>test</scope>
|
187 | 202 | </dependency>
|
188 | 203 | <dependency>
|
|
0 commit comments