From 8efeb95b188a2d4e5efa447d7c38f19eccefaea8 Mon Sep 17 00:00:00 2001 From: Sebastian Thomschke Date: Tue, 10 Sep 2024 14:24:39 +0200 Subject: [PATCH] fix: TestMavenRuntime5/AbstractTestMavenRuntime depend on TestMavenRuntime and thus JUnit4 (#90) --- .../java/io/takari/maven/testing/AbstractTestMavenRuntime.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/takari-plugin-testing/src/main/java/io/takari/maven/testing/AbstractTestMavenRuntime.java b/takari-plugin-testing/src/main/java/io/takari/maven/testing/AbstractTestMavenRuntime.java index 9e516c9..355e880 100644 --- a/takari-plugin-testing/src/main/java/io/takari/maven/testing/AbstractTestMavenRuntime.java +++ b/takari-plugin-testing/src/main/java/io/takari/maven/testing/AbstractTestMavenRuntime.java @@ -39,7 +39,7 @@ public abstract class AbstractTestMavenRuntime { static { DefaultArtifactVersion version = null; String path = "/META-INF/maven/org.apache.maven/maven-core/pom.properties"; - try (InputStream is = TestMavenRuntime.class.getResourceAsStream(path)) { + try (InputStream is = AbstractTestMavenRuntime.class.getResourceAsStream(path)) { Properties properties = new Properties(); if (is != null) { properties.load(is);