diff --git a/activemq-client/pom.xml b/activemq-client/pom.xml
index 963d32f8..b822e02c 100644
--- a/activemq-client/pom.xml
+++ b/activemq-client/pom.xml
@@ -37,8 +37,8 @@
- 1.8
- java18
+
+ java16
@@ -68,7 +68,6 @@
1.6
- java16
diff --git a/amqp-client/pom.xml b/amqp-client/pom.xml
index 9eb9c1e0..94eeff48 100644
--- a/amqp-client/pom.xml
+++ b/amqp-client/pom.xml
@@ -34,6 +34,9 @@
5.20.0
4.12.0
+
+
+ java16
@@ -95,7 +98,6 @@
1.6
- java16
diff --git a/benchmarks/src/main/java/zipkin2/reporter/amqp/RabbitMQSenderBenchmarks.java b/benchmarks/src/main/java/zipkin2/reporter/amqp/RabbitMQSenderBenchmarks.java
index fdf64f33..f6f7fbb0 100644
--- a/benchmarks/src/main/java/zipkin2/reporter/amqp/RabbitMQSenderBenchmarks.java
+++ b/benchmarks/src/main/java/zipkin2/reporter/amqp/RabbitMQSenderBenchmarks.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2016-2020 The OpenZipkin Authors
+ * Copyright 2016-2023 The OpenZipkin Authors
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
@@ -16,7 +16,6 @@
import com.rabbitmq.client.Channel;
import com.rabbitmq.client.DefaultConsumer;
import java.io.IOException;
-import org.junit.AssumptionViolatedException;
import org.openjdk.jmh.runner.Runner;
import org.openjdk.jmh.runner.RunnerException;
import org.openjdk.jmh.runner.options.Options;
@@ -35,7 +34,7 @@ public class RabbitMQSenderBenchmarks extends SenderBenchmarks {
CheckResult check = result.check();
if (!check.ok()) {
- throw new AssumptionViolatedException(check.error().getMessage(), check.error());
+ throw new IllegalStateException(check.error().getMessage(), check.error());
}
channel = result.localChannel();
diff --git a/brave/pom.xml b/brave/pom.xml
index bebac867..5a0c15ff 100644
--- a/brave/pom.xml
+++ b/brave/pom.xml
@@ -31,6 +31,9 @@
zipkin2.reporter.brave
${project.basedir}/..
+
+
+ java16
@@ -73,7 +76,6 @@
1.6
- java16
diff --git a/core/pom.xml b/core/pom.xml
index e7533951..c26b9377 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -31,6 +31,9 @@
zipkin2.reporter
${project.basedir}/..
+
+
+ java16
@@ -47,7 +50,6 @@
1.6
- java16
diff --git a/kafka/pom.xml b/kafka/pom.xml
index 8bbb4966..1aca2878 100644
--- a/kafka/pom.xml
+++ b/kafka/pom.xml
@@ -31,6 +31,9 @@
zipkin2.reporter.kafka
${project.basedir}/..
+
+
+ java17
@@ -61,7 +64,6 @@
1.7
- java17
diff --git a/libthrift/pom.xml b/libthrift/pom.xml
index c53acdb6..28367c68 100644
--- a/libthrift/pom.xml
+++ b/libthrift/pom.xml
@@ -31,6 +31,9 @@
zipkin2.reporter.libthrift
${project.basedir}/..
+
+
+ java16
@@ -72,7 +75,6 @@
1.6
- java16
diff --git a/okhttp3/pom.xml b/okhttp3/pom.xml
index d80ed115..4e7d134e 100644
--- a/okhttp3/pom.xml
+++ b/okhttp3/pom.xml
@@ -33,6 +33,9 @@
${project.basedir}/..
3.11.0
+
+
+ java17
@@ -102,7 +105,6 @@
1.7
- java17
diff --git a/pom.xml b/pom.xml
index 8f651194..e8409b6d 100755
--- a/pom.xml
+++ b/pom.xml
@@ -396,6 +396,8 @@
+ animal-sniffer
+ verify
check
diff --git a/spring-beans/pom.xml b/spring-beans/pom.xml
index f669e1ce..5f297105 100644
--- a/spring-beans/pom.xml
+++ b/spring-beans/pom.xml
@@ -31,6 +31,9 @@
zipkin2.reporter.beans
${project.basedir}/..
+
+
+ java16
@@ -120,7 +123,6 @@
1.6
- java16
diff --git a/urlconnection/pom.xml b/urlconnection/pom.xml
index 7b41dfa2..3ad7142f 100644
--- a/urlconnection/pom.xml
+++ b/urlconnection/pom.xml
@@ -31,6 +31,9 @@
zipkin2.reporter.urlconnection
${project.basedir}/..
+
+
+ java16
@@ -54,7 +57,6 @@
1.6
- java16