Remove Cobertura to be compatible with Java 11
Change-Id: I2d9d30438eaff5ddeb6ca8000435579f3233e61d
diff --git a/Changes b/Changes
index 8591821..a37cfb2 100644
--- a/Changes
+++ b/Changes
@@ -1,3 +1,7 @@
+0.2.9 2022-11-29
+ - Remove Cobertura to be compatible with
+ Java 11.
+
0.2.8 2022-10-05
- Upgrade dependencies following dependabot.
This fixes CVE-2022-42003! Please update!
diff --git a/pom.xml b/pom.xml
index f15b34c..2a08995 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
<groupId>de.ids_mannheim.korap</groupId>
<artifactId>KalamarExportPlugin</artifactId>
<packaging>jar</packaging>
- <version>0.2.8</version>
+ <version>0.2.9</version>
<name>KalamarExportPlugin</name>
<url>https://korap.ids-mannheim.de/</url>
@@ -98,14 +98,6 @@
<version>2.3.31</version>
</dependency>
- <!-- https://mvnrepository.com/artifact/org.codehaus.mojo/cobertura-maven-plugin -->
- <dependency>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>cobertura-maven-plugin</artifactId>
- <version>2.7</version>
- <scope>test</scope>
- </dependency>
-
<!-- https://mvnrepository.com/artifact/org.glassfish.jersey.media/jersey-media-sse -->
<dependency>
<groupId>org.glassfish.jersey.media</groupId>
@@ -130,6 +122,19 @@
<artifactId>tinylog-api</artifactId>
<version>2.5.0</version>
</dependency>
+ <dependency>
+ <groupId>ch.qos.logback</groupId>
+ <artifactId>logback-classic</artifactId>
+ <version>1.3.0</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ <version>2.0.5</version>
+ </dependency>
+
+
<!-- API, java.xml.bind module -->
<dependency>
@@ -219,25 +224,6 @@
</executions>
</plugin>
<plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>cobertura-maven-plugin</artifactId>
- <version>2.7</version>
- <configuration>
- <formats>
- <format>html</format>
- <format>xml</format>
- </formats>
- <check></check>
- </configuration>
- <executions>
- <execution>
- <goals>
- <goal>clean</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M5</version>
diff --git a/src/test/java/de/ids_mannheim/korap/plkexport/ServiceTest.java b/src/test/java/de/ids_mannheim/korap/plkexport/ServiceTest.java
index 4ae2563..568aac4 100644
--- a/src/test/java/de/ids_mannheim/korap/plkexport/ServiceTest.java
+++ b/src/test/java/de/ids_mannheim/korap/plkexport/ServiceTest.java
@@ -37,6 +37,10 @@
import javax.ws.rs.core.Response;
import javax.ws.rs.core.Response.Status;
+// Logger loading
+import ch.qos.logback.classic.*;
+import org.slf4j.*;
+
// SSE testing
import javax.ws.rs.client.Client;
import javax.ws.rs.client.ClientBuilder;