From 77fe308856119c8e178a547c6306f184d439a219 Mon Sep 17 00:00:00 2001 From: Decebal Suiu Date: Sat, 12 Oct 2024 18:29:37 +0300 Subject: [PATCH] Exclude junit4 as transitive dependency --- pf4j/pom.xml | 6 ++++++ .../pf4j/SecurePluginManagerWrapperTest.java | 17 ++++++++--------- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/pf4j/pom.xml b/pf4j/pom.xml index 4a587b6..7061db6 100644 --- a/pf4j/pom.xml +++ b/pf4j/pom.xml @@ -192,6 +192,12 @@ compile-testing 0.21.0 test + + + junit + junit + + diff --git a/pf4j/src/test/java/org/pf4j/SecurePluginManagerWrapperTest.java b/pf4j/src/test/java/org/pf4j/SecurePluginManagerWrapperTest.java index f2a1a9a..adf0e2e 100644 --- a/pf4j/src/test/java/org/pf4j/SecurePluginManagerWrapperTest.java +++ b/pf4j/src/test/java/org/pf4j/SecurePluginManagerWrapperTest.java @@ -15,15 +15,6 @@ */ package org.pf4j; -import static org.junit.jupiter.api.Assertions.assertTrue; -import static org.junit.Assert.assertNotNull; -import static org.junit.jupiter.api.Assertions.assertEquals; -import static org.junit.jupiter.api.Assertions.assertThrows; - -import java.io.IOException; -import java.nio.file.Path; -import java.util.List; - import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; @@ -33,6 +24,14 @@ import org.pf4j.test.TestExtension; import org.pf4j.test.TestExtensionPoint; import org.pf4j.test.TestPlugin; +import java.io.IOException; +import java.nio.file.Path; + +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertNotNull; +import static org.junit.jupiter.api.Assertions.assertThrows; +import static org.junit.jupiter.api.Assertions.assertTrue; + public class SecurePluginManagerWrapperTest { private static final String OTHER_PLUGIN_ID = "test-plugin-2"; -- 2.39.5