|
43 | 43 | <instructions>
|
44 | 44 | <Bundle-Activator>org.ops4j.pax.web.service.tomcat.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.annotation;version="[3.1,5)", |
49 |
| - javax.servlet.descriptor;version="[3.1,5)", |
50 |
| - javax.servlet.http;version="[3.1,5)", |
51 |
| - |
52 |
| - <!-- ranges indicate we can work with OSGi Core R6+ --> |
53 |
| - org.osgi.framework;version="[1.8,2)", |
| 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 | + |
| 52 | + <!-- OSGi Core R8+ --> |
| 53 | + org.osgi.framework;version="[1.10,2)", |
54 | 54 | org.osgi.framework.wiring;version="[1.2,2)",
|
55 | 55 | org.osgi.util.tracker;version="[1.5,2)",
|
56 | 56 |
|
57 | 57 | <!-- OSGi cmpn -->
|
58 |
| - org.osgi.service.http;version="[1.2,2)", |
59 |
| - org.osgi.service.http.whiteboard;version="[1.1,2)", |
| 58 | + org.osgi.service.servlet.whiteboard;version="[2,3)", |
60 | 59 |
|
61 | 60 | <!-- from pax-web-api -->
|
62 | 61 | org.ops4j.pax.web.service;version="${pax-web.osgi.version}",
|
| 62 | + org.ops4j.pax.web.service.http;version="${pax-web.osgi.version}", |
63 | 63 | org.ops4j.pax.web.utils;version="${pax-web.osgi.version}",
|
64 | 64 | <!-- from pax-web-spi -->
|
65 | 65 | org.ops4j.pax.web.service.spi.*;version="${pax-web.osgi.version}",
|
66 | 66 | <!-- from pax-web-jsp -->
|
67 | 67 | org.ops4j.pax.web.jsp;version="${pax-web.osgi.version}";resolution:=optional,
|
68 | 68 |
|
69 | 69 | <!-- from pax-logging-api -->
|
70 |
| - org.slf4j;version="[1.7,2)", |
| 70 | + org.slf4j;version="[2,3)", |
71 | 71 | org.apache.juli.logging,
|
72 | 72 |
|
73 | 73 | <!-- pax-web-tomcat-common / tomcat-api -->
|
|
100 | 100 | org.apache.juli;version="${dependency.org.apache.tomcat}",
|
101 | 101 |
|
102 | 102 | <!-- other -->
|
103 |
| - javax.annotation;version="[1.2,2)";resolution:=optional, |
| 103 | + jakarta.annotation;version="[2,3)";resolution:=optional, |
104 | 104 | javax.management,
|
105 | 105 | javax.management.modelmbean,
|
106 | 106 | javax.naming,
|
107 | 107 | javax.naming.spi,
|
108 | 108 | javax.net.ssl,
|
109 |
| - javax.security.auth, |
110 |
| - javax.security.auth.callback, |
111 |
| - javax.security.auth.login, |
112 |
| - javax.security.auth.message, |
113 |
| - javax.security.auth.message.callback, |
114 |
| - javax.security.auth.message.config, |
115 |
| - javax.security.auth.message.module, |
| 109 | + jakarta.security.auth, |
| 110 | + jakarta.security.auth.callback, |
| 111 | + jakarta.security.auth.login, |
| 112 | + jakarta.security.auth.message, |
| 113 | + jakarta.security.auth.message.callback, |
| 114 | + jakarta.security.auth.message.config, |
| 115 | + jakarta.security.auth.message.module, |
116 | 116 | javax.xml.parsers,
|
117 | 117 | javax.xml.transform,
|
118 | 118 | org.w3c.dom,
|
|
268 | 268 | </dependency>
|
269 | 269 | <dependency>
|
270 | 270 | <groupId>org.osgi</groupId>
|
271 |
| - <artifactId>osgi.cmpn</artifactId> |
| 271 | + <artifactId>org.osgi.service.servlet</artifactId> |
272 | 272 | <scope>provided</scope>
|
273 | 273 | </dependency>
|
274 | 274 |
|
275 |
| - <!-- JavaEE --> |
| 275 | + <!-- JakartaEE --> |
276 | 276 |
|
277 | 277 | <dependency>
|
278 | 278 | <groupId>jakarta.annotation</groupId>
|
|
284 | 284 | <scope>provided</scope>
|
285 | 285 | </dependency>
|
286 | 286 | <dependency>
|
287 |
| - <groupId>jakarta.authentication</groupId> |
288 |
| - <artifactId>jakarta.authentication-api</artifactId> |
289 |
| - <scope>provided</scope> |
| 287 | + <groupId>jakarta.websocket</groupId> |
| 288 | + <artifactId>jakarta.websocket-api</artifactId> |
| 289 | + <scope>test</scope> |
290 | 290 | </dependency>
|
291 | 291 | <dependency>
|
292 | 292 | <groupId>jakarta.websocket</groupId>
|
293 |
| - <artifactId>jakarta.websocket-api</artifactId> |
| 293 | + <artifactId>jakarta.websocket-client-api</artifactId> |
294 | 294 | <scope>test</scope>
|
295 | 295 | </dependency>
|
| 296 | + <dependency> |
| 297 | + <groupId>jakarta.authentication</groupId> |
| 298 | + <artifactId>jakarta.authentication-api</artifactId> |
| 299 | + <scope>provided</scope> |
| 300 | + </dependency> |
296 | 301 |
|
297 | 302 | <!-- Tomcat -->
|
298 | 303 |
|
|
321 | 326 | </dependency>
|
322 | 327 | <dependency>
|
323 | 328 | <groupId>org.apache.logging.log4j</groupId>
|
324 |
| - <artifactId>log4j-slf4j-impl</artifactId> |
| 329 | + <artifactId>log4j-slf4j2-impl</artifactId> |
325 | 330 | <scope>test</scope>
|
326 | 331 | </dependency>
|
327 | 332 |
|
|
352 | 357 | <!-- Testing -->
|
353 | 358 |
|
354 | 359 | <dependency>
|
355 |
| - <groupId>junit</groupId> |
356 |
| - <artifactId>junit</artifactId> |
| 360 | + <groupId>org.junit.jupiter</groupId> |
| 361 | + <artifactId>junit-jupiter-api</artifactId> |
| 362 | + <scope>test</scope> |
| 363 | + </dependency> |
| 364 | + <dependency> |
| 365 | + <groupId>org.junit.jupiter</groupId> |
| 366 | + <artifactId>junit-jupiter-engine</artifactId> |
| 367 | + <scope>test</scope> |
| 368 | + </dependency> |
| 369 | + <dependency> |
| 370 | + <groupId>org.assertj</groupId> |
| 371 | + <artifactId>assertj-core</artifactId> |
357 | 372 | <scope>test</scope>
|
358 | 373 | </dependency>
|
359 | 374 | <dependency>
|
|
0 commit comments