Skip to content

Commit a285be4

Browse files
committed
Switched to the jakarta version of the activation and servlet dependencies.
1 parent 76aa519 commit a285be4

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

pom.xml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@
4747

4848
<jersey.version>2.28</jersey.version>
4949
<jackson.version>2.9.8</jackson.version>
50-
<javaServlet.version>4.0.1</javaServlet.version>
50+
<servlet.version>4.0.2</servlet.version>
51+
<activation.version>1.2.1</activation.version>
5152

5253
<junit.version>4.12</junit.version>
5354
<mockito.version>2.27.0</mockito.version>
@@ -356,9 +357,9 @@
356357

357358
<!-- javax.activation is present for Java 9+ compatibility -->
358359
<dependency>
359-
<groupId>com.sun.activation</groupId>
360-
<artifactId>javax.activation</artifactId>
361-
<version>1.2.0</version>
360+
<groupId>jakarta.activation</groupId>
361+
<artifactId>jakarta.activation-api</artifactId>
362+
<version>${activation.version}</version>
362363
</dependency>
363364

364365
<dependency>
@@ -387,9 +388,9 @@
387388
<version>${jersey.version}</version>
388389
</dependency>
389390
<dependency>
390-
<groupId>javax.servlet</groupId>
391-
<artifactId>javax.servlet-api</artifactId>
392-
<version>${javaServlet.version}</version>
391+
<groupId>jakarta.servlet</groupId>
392+
<artifactId>jakarta.servlet-api</artifactId>
393+
<version>${servlet.version}</version>
393394
</dependency>
394395

395396
<dependency>

0 commit comments

Comments
 (0)