]> source.dussan.org Git - pf4j.git/commitdiff
Exclude junit4 as transitive dependency
authorDecebal Suiu <decebal.suiu@gmail.com>
Sat, 12 Oct 2024 15:29:37 +0000 (18:29 +0300)
committerDecebal Suiu <decebal.suiu@gmail.com>
Sat, 12 Oct 2024 15:29:37 +0000 (18:29 +0300)
pf4j/pom.xml
pf4j/src/test/java/org/pf4j/SecurePluginManagerWrapperTest.java

index 4a587b6380166b1061f07d5f4acb54d8681eb3c5..7061db64af2e84e8b40bae2f7873283ddd34676f 100644 (file)
             <artifactId>compile-testing</artifactId>
             <version>0.21.0</version>
             <scope>test</scope>
+            <exclusions>
+                <exclusion>
+                    <groupId>junit</groupId>
+                    <artifactId>junit</artifactId>
+                </exclusion>
+            </exclusions>
         </dependency>
     </dependencies>
 
index f2a1a9aa7607db669ef618ec616fc054eeb007ad..adf0e2ede58c82ebd52bdb232d76192bf3e18b19 100644 (file)
  */\r
 package org.pf4j;\r
 \r
-import static org.junit.jupiter.api.Assertions.assertTrue;\r
-import static org.junit.Assert.assertNotNull;\r
-import static org.junit.jupiter.api.Assertions.assertEquals;\r
-import static org.junit.jupiter.api.Assertions.assertThrows;\r
-\r
-import java.io.IOException;\r
-import java.nio.file.Path;\r
-import java.util.List;\r
-\r
 import org.junit.jupiter.api.AfterEach;\r
 import org.junit.jupiter.api.BeforeEach;\r
 import org.junit.jupiter.api.Test;\r
@@ -33,6 +24,14 @@ import org.pf4j.test.TestExtension;
 import org.pf4j.test.TestExtensionPoint;\r
 import org.pf4j.test.TestPlugin;\r
 \r
+import java.io.IOException;\r
+import java.nio.file.Path;\r
+\r
+import static org.junit.jupiter.api.Assertions.assertEquals;\r
+import static org.junit.jupiter.api.Assertions.assertNotNull;\r
+import static org.junit.jupiter.api.Assertions.assertThrows;\r
+import static org.junit.jupiter.api.Assertions.assertTrue;\r
+\r
 public class SecurePluginManagerWrapperTest {\r
 \r
     private static final String OTHER_PLUGIN_ID = "test-plugin-2";\r