Skip to content
This repository was archived by the owner on Oct 30, 2023. It is now read-only.

Commit 9835aec

Browse files
committed
update deps versions
1 parent 7190751 commit 9835aec

File tree

3 files changed

+18
-81
lines changed

3 files changed

+18
-81
lines changed

java/java-jersey2/pom.xml

+9-26
Original file line numberDiff line numberDiff line change
@@ -35,29 +35,6 @@
3535
<groupId>org.eclipse.jetty</groupId>
3636
<artifactId>jetty-maven-plugin</artifactId>
3737
<version>${jetty-version}</version>
38-
<dependencies>
39-
<!--
40-
<dependency>
41-
<groupId>ch.qos.logback</groupId>
42-
<artifactId>logback-classic</artifactId>
43-
<version>${logback-version}</version>
44-
</dependency>
45-
-->
46-
<!--
47-
<dependency>
48-
<groupId>ch.qos.logback</groupId>
49-
<artifactId>logback-access</artifactId>
50-
<version>${logback-version}</version>
51-
</dependency>
52-
-->
53-
<!--
54-
<dependency>
55-
<groupId>org.slf4j</groupId>
56-
<artifactId>slf4j-api</artifactId>
57-
<version>${slf4j-version}</version>
58-
</dependency>
59-
-->
60-
</dependencies>
6138
<configuration>
6239
<webApp>
6340
<contextPath>/</contextPath>
@@ -165,7 +142,7 @@
165142
<dependency>
166143
<groupId>com.fasterxml.jackson.jaxrs</groupId>
167144
<artifactId>jackson-jaxrs-json-provider</artifactId>
168-
<version>2.8.9</version>
145+
<version>${jackson-version}</version>
169146
</dependency>
170147

171148
<dependency>
@@ -188,17 +165,23 @@
188165
</dependency>
189166
<dependency>
190167
<groupId>javax.servlet</groupId>
191-
<artifactId>servlet-api</artifactId>
168+
<artifactId>javax.servlet-api</artifactId>
169+
<scope>provided</scope>
192170
</dependency>
193171
<dependency>
194172
<groupId>org.glassfish.jersey.containers</groupId>
195-
<artifactId>jersey-container-servlet-core</artifactId>
173+
<artifactId>jersey-container-servlet</artifactId>
196174
<version>${jersey2-version}</version>
197175
</dependency>
198176
<dependency>
199177
<groupId>org.glassfish.jersey.media</groupId>
200178
<artifactId>jersey-media-multipart</artifactId>
201179
<version>${jersey2-version}</version>
202180
</dependency>
181+
<dependency>
182+
<groupId>org.glassfish.jersey.inject</groupId>
183+
<artifactId>jersey-hk2</artifactId>
184+
<version>${jersey2-version}</version>
185+
</dependency>
203186
</dependencies>
204187
</project>

java/java-jersey2/src/main/java/io/swagger/sample/resource/SwaggerListingResource.java

-37
This file was deleted.

pom.xml

+9-18
Original file line numberDiff line numberDiff line change
@@ -240,13 +240,6 @@
240240
<groupId>org.mortbay.jetty</groupId>
241241
<artifactId>jetty-maven-plugin</artifactId>
242242
<version>${jetty-version}</version>
243-
<dependencies>
244-
<dependency>
245-
<groupId>com.sun.jersey</groupId>
246-
<artifactId>jersey-servlet</artifactId>
247-
<version>${jersey-version}</version>
248-
</dependency>
249-
</dependencies>
250243
</plugin>
251244
<plugin>
252245
<artifactId>maven-enforcer-plugin</artifactId>
@@ -398,9 +391,8 @@
398391
</dependency>
399392
<dependency>
400393
<groupId>javax.servlet</groupId>
401-
<artifactId>servlet-api</artifactId>
394+
<artifactId>javax.servlet-api</artifactId>
402395
<version>${servlet-api-version}</version>
403-
<scope>provided</scope>
404396
</dependency>
405397
<dependency>
406398
<groupId>org.slf4j</groupId>
@@ -411,22 +403,22 @@
411403
<dependency>
412404
<groupId>com.sun.jersey</groupId>
413405
<artifactId>jersey-client</artifactId>
414-
<version>${jersey-version}</version>
406+
<version>${jersey2-version}</version>
415407
</dependency>
416408
<dependency>
417409
<groupId>com.sun.jersey</groupId>
418410
<artifactId>jersey-core</artifactId>
419-
<version>${jersey-version}</version>
411+
<version>${jersey2-version}</version>
420412
</dependency>
421413
<dependency>
422414
<groupId>com.sun.jersey</groupId>
423415
<artifactId>jersey-json</artifactId>
424-
<version>${jersey-version}</version>
416+
<version>${jersey2-version}</version>
425417
</dependency>
426418
<dependency>
427419
<groupId>com.sun.jersey</groupId>
428420
<artifactId>jersey-servlet</artifactId>
429-
<version>${jersey-version}</version>
421+
<version>${jersey2-version}</version>
430422
</dependency>
431423
</dependencies>
432424
</dependencyManagement>
@@ -437,11 +429,10 @@
437429
<swagger-ui-version>2.1.4</swagger-ui-version>
438430
<scala-version>2.10.4</scala-version>
439431
<felix-version>2.3.4</felix-version>
440-
<servlet-api-version>2.5</servlet-api-version>
441-
<jetty-version>9.2.14.v20151106</jetty-version>
442-
<jersey2-version>2.24</jersey2-version>
443-
<jackson-version>2.4.2</jackson-version>
444-
<jackson-guava-version>2.4.2</jackson-guava-version>
432+
<servlet-api-version>3.1.0</servlet-api-version>
433+
<jersey2-version>2.26</jersey2-version>
434+
<jetty-version>9.4.6.v20170531</jetty-version>
435+
<jackson-version>2.9.1</jackson-version>
445436
<logback-version>1.0.1</logback-version>
446437

447438
<junit-version>4.8.1</junit-version>

0 commit comments

Comments
 (0)