From fbf3aa250026be020c0f62fbbb5b267c2a27dba1 Mon Sep 17 00:00:00 2001 From: Adi Date: Fri, 19 Mar 2021 11:09:20 +0100 Subject: [PATCH 1/2] Update logback & org.slf4j & fix module name --- pcap4j-core/src/main/java/module-info.java | 2 +- pom.xml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pcap4j-core/src/main/java/module-info.java b/pcap4j-core/src/main/java/module-info.java index 21728b8b3..53c652371 100644 --- a/pcap4j-core/src/main/java/module-info.java +++ b/pcap4j-core/src/main/java/module-info.java @@ -14,7 +14,7 @@ // These transitive modifiers are needed to avoid weird surefire errors // during pcap4j-packetfactory-* testing (due to maybe surefire's bug). requires transitive com.sun.jna; - requires transitive slf4j.api; + requires transitive org.slf4j; uses org.pcap4j.packet.factory.PacketFactoryBinderProvider; } diff --git a/pom.xml b/pom.xml index 7a49602f9..7ce04b5af 100644 --- a/pom.xml +++ b/pom.xml @@ -98,12 +98,12 @@ ch.qos.logback logback-classic - 1.0.0 + 1.3.0-alpha5 ch.qos.logback logback-core - 1.0.0 + 1.3.0-alpha5 net.java.dev.jna @@ -113,7 +113,7 @@ org.slf4j slf4j-api - 1.7.26 + 2.0.0-alpha1 From c7ffb76d163052ea1e9e6e22aa0c0fd505adc890 Mon Sep 17 00:00:00 2001 From: Adi Date: Fri, 19 Mar 2021 12:20:50 +0100 Subject: [PATCH 2/2] Upgrade jna version to 5.7.0 for automatic-module-name support --- pom.xml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 7ce04b5af..e67e2f832 100644 --- a/pom.xml +++ b/pom.xml @@ -108,7 +108,10 @@ net.java.dev.jna jna - 5.3.1 + 5.7.0 + + + org.slf4j