Jersey 2: Upgrade pom.xml with java 11 and jersey 2.37
POM files for core, lite, and full are upgraded to java 11 and Jersey 2.37.
A few dependencies have been renamed from Jersey 1 to Jersey 2.
diff --git a/full/pom.xml b/full/pom.xml
index 251af08..ea2a353 100644
--- a/full/pom.xml
+++ b/full/pom.xml
@@ -5,9 +5,9 @@
<artifactId>Kustvakt-full</artifactId>
<version>0.68</version>
<properties>
- <java.version>1.8</java.version>
+ <java.version>11</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <jersey.version>1.19.4</jersey.version>
+ <jersey.version>2.37</jersey.version>
<hibernate.version>5.6.14.Final</hibernate.version>
</properties>
<profiles>
@@ -216,14 +216,14 @@
<!-- Jersey -->
<dependency>
- <groupId>com.sun.jersey.jersey-test-framework</groupId>
+ <groupId>org.glassfish.jersey.test-framework</groupId>
<artifactId>jersey-test-framework-core</artifactId>
<version>${jersey.version}</version>
<scope>test</scope>
</dependency>
<dependency>
- <groupId>com.sun.jersey.jersey-test-framework</groupId>
- <artifactId>jersey-test-framework-grizzly</artifactId>
+ <groupId>org.glassfish.jersey.test-framework.providers</groupId>
+ <artifactId>jersey-test-framework-provider-grizzly2</artifactId>
<version>${jersey.version}</version>
<scope>test</scope>
</dependency>