|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | 2 | <!-- |
3 | 3 |
|
4 | | - Copyright (c) 2012, 2023 Oracle and/or its affiliates. All rights reserved. |
| 4 | + Copyright (c) 2012, 2024 Oracle and/or its affiliates. All rights reserved. |
5 | 5 |
|
6 | 6 | This program and the accompanying materials are made available under the |
7 | 7 | terms of the Eclipse Public License v. 2.0, which is available at |
|
59 | 59 | <artifactId>org.osgi.core</artifactId> |
60 | 60 | </dependency> |
61 | 61 | <!-- CONNECTORS --> |
62 | | - <dependency> |
63 | | - <groupId>org.glassfish.jersey.connectors</groupId> |
64 | | - <artifactId>jersey-apache-connector</artifactId> |
65 | | - <version>${project.version}</version> |
66 | | - <!--<exclusions> |
67 | | - <exclusion> |
68 | | - <groupId>commons-codec</groupId> |
69 | | - <artifactId>commons-codec</artifactId> |
70 | | - </exclusion> |
71 | | - </exclusions>--> |
72 | | - </dependency> |
73 | 62 | <dependency> |
74 | 63 | <groupId>org.glassfish.jersey.connectors</groupId> |
75 | 64 | <artifactId>jersey-apache5-connector</artifactId> |
|
129 | 118 | <artifactId>jakarta.persistence-api</artifactId> |
130 | 119 | </dependency> |
131 | 120 | <dependency> |
132 | | - <groupId>org.glassfish</groupId> |
133 | | - <artifactId>javax.servlet</artifactId> |
134 | | - <version>3.1</version> |
| 121 | + <groupId>jakarta.servlet</groupId> |
| 122 | + <artifactId>jakarta.servlet-api</artifactId> |
135 | 123 | </dependency> |
136 | 124 | <dependency> |
137 | 125 | <groupId>jakarta.persistence</groupId> |
138 | 126 | <artifactId>jakarta.persistence-api</artifactId> |
139 | 127 | </dependency> |
140 | 128 | <dependency> |
141 | 129 | <groupId>org.glassfish.jersey.containers</groupId> |
142 | | - <artifactId>jersey-container-simple-http</artifactId> |
| 130 | + <artifactId>jersey-container-jdk-http</artifactId> |
143 | 131 | <version>${project.version}</version> |
144 | 132 | </dependency> |
145 | 133 | <dependency> |
146 | 134 | <groupId>org.glassfish.jersey.containers</groupId> |
147 | | - <artifactId>jersey-container-jdk-http</artifactId> |
| 135 | + <artifactId>jersey-container-jetty-http</artifactId> |
148 | 136 | <version>${project.version}</version> |
149 | 137 | </dependency> |
150 | 138 | <dependency> |
151 | 139 | <groupId>org.glassfish.jersey.containers</groupId> |
152 | | - <artifactId>jersey-container-jetty-http</artifactId> |
| 140 | + <artifactId>jersey-container-jetty-http2</artifactId> |
| 141 | + <version>${project.version}</version> |
| 142 | + </dependency> |
| 143 | + <dependency> |
| 144 | + <groupId>org.glassfish.jersey.containers</groupId> |
| 145 | + <artifactId>jersey-container-netty-http</artifactId> |
153 | 146 | <version>${project.version}</version> |
154 | 147 | </dependency> |
155 | 148 | <dependency> |
|
173 | 166 | <artifactId>jersey-media-json-binding</artifactId> |
174 | 167 | <version>${project.version}</version> |
175 | 168 | </dependency> |
| 169 | + <dependency> |
| 170 | + <groupId>org.glassfish.jersey.media</groupId> |
| 171 | + <artifactId>jersey-media-gson</artifactId> |
| 172 | + <version>${project.version}</version> |
| 173 | + </dependency> |
176 | 174 | <dependency> |
177 | 175 | <groupId>org.glassfish.jersey.media</groupId> |
178 | 176 | <artifactId>jersey-media-json-jackson</artifactId> |
|
294 | 292 | <configuration> |
295 | 293 | <includeDependencySources>true</includeDependencySources> |
296 | 294 | <sourceFileExcludes> |
297 | | - <fileExclude>META-INF/versions/12/org/glassfish/jersey/wadl/doclet/*.java</fileExclude> |
298 | | - <fileExclude>META-INF/versions/17/org/glassfish/jersey/jetty/*.java</fileExclude> |
299 | | - <fileExclude>META-INF/versions/17/org/glassfish/jersey/jetty/connector/*.java</fileExclude> |
300 | | - <fileExclude>META-INF/versions/17/org/glassfish/jersey/helidon/connector/*.java</fileExclude> |
301 | 295 | <fileExclude>org/glassfish/jersey/helidon/connector/*.java</fileExclude> |
302 | 296 | <fileExclude>org/glassfish/jersey/wadl/doclet/*.java</fileExclude> |
303 | 297 | </sourceFileExcludes> |
|
330 | 324 | </plugin> |
331 | 325 | </plugins> |
332 | 326 | </build> |
333 | | - <profiles> |
334 | | - <profile> |
335 | | - <id>jetty11</id> |
336 | | - <activation> |
337 | | - <activeByDefault>true</activeByDefault> |
338 | | - </activation> |
339 | | - <properties> |
340 | | - <jetty.version>${jetty11.version}</jetty.version> |
341 | | - </properties> |
342 | | - <dependencyManagement> |
343 | | - <dependencies> |
344 | | - <dependency> |
345 | | - <groupId>org.glassfish.jersey.connectors</groupId> |
346 | | - <artifactId>jersey-jetty11-connector</artifactId> |
347 | | - <version>${project.version}</version> |
348 | | - </dependency> |
349 | | - <!--<dependency> |
350 | | - <groupId>org.glassfish.jersey.connectors</groupId> |
351 | | - <artifactId>jersey-jetty11-http2-connector</artifactId> |
352 | | - <version>${project.version}</version> |
353 | | - </dependency> |
354 | | - <dependency> |
355 | | - <groupId>org.glassfish.jersey.containers</groupId> |
356 | | - <artifactId>jersey-container-jetty11-http</artifactId> |
357 | | - <version>${project.version}</version> |
358 | | - </dependency> |
359 | | - <dependency> |
360 | | - <groupId>org.glassfish.jersey.containers</groupId> |
361 | | - <artifactId>jersey-container-jetty11-http2</artifactId> |
362 | | - <version>${project.version}</version> |
363 | | - </dependency>--> <!-- TODO - HTTP/2 support for Jetty 12 container --> |
364 | | - </dependencies> |
365 | | - </dependencyManagement> |
366 | | - <dependencies> |
367 | | - <dependency> |
368 | | - <groupId>org.glassfish.jersey.connectors</groupId> |
369 | | - <artifactId>jersey-jetty11-connector</artifactId> |
370 | | - <version>${project.version}</version> |
371 | | - </dependency> |
372 | | - <!--<dependency> |
373 | | - <groupId>org.glassfish.jersey.connectors</groupId> |
374 | | - <artifactId>jersey-jetty11-http2-connector</artifactId> |
375 | | - <version>${project.version}</version> |
376 | | - </dependency> |
377 | | - <dependency> |
378 | | - <groupId>org.glassfish.jersey.containers</groupId> |
379 | | - <artifactId>jersey-container-jetty11-http</artifactId> |
380 | | - <version>${project.version}</version> |
381 | | - </dependency> |
382 | | - <dependency> |
383 | | - <groupId>org.glassfish.jersey.containers</groupId> |
384 | | - <artifactId>jersey-container-jetty11-http2</artifactId> |
385 | | - <version>${project.version}</version> |
386 | | - </dependency>--> <!-- TODO - HTTP/2 support for Jetty 12 container --> |
387 | | - </dependencies> |
388 | | - </profile> |
389 | | - </profiles> |
390 | 327 | </project> |
0 commit comments