From: Decebal Suiu Date: Sat, 12 Oct 2024 15:29:37 +0000 (+0300) Subject: Exclude junit4 as transitive dependency X-Git-Tag: release-3.12.1~3 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=77fe308856119c8e178a547c6306f184d439a219;p=pf4j.git Exclude junit4 as transitive dependency --- 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";