You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sp...@apache.org on 2025/11/08 11:28:13 UTC

(maven-plugin-testing) branch maven-plugin-testing-3.x updated: chore: replace PlexusTestCase by PlexusExtension to cut the need of junit4 (#241)

This is an automated email from the ASF dual-hosted git repository.

sparsick pushed a commit to branch maven-plugin-testing-3.x
in repository https://gitbox.apache.org/repos/asf/maven-plugin-testing.git


The following commit(s) were added to refs/heads/maven-plugin-testing-3.x by this push:
     new ae995c8  chore: replace PlexusTestCase by PlexusExtension to cut the need of junit4 (#241)
ae995c8 is described below

commit ae995c83321e67707b127375065aefedd878df52
Author: Sandra Parsick <sp...@users.noreply.github.com>
AuthorDate: Sat Nov 8 11:28:08 2025 +0000

    chore: replace PlexusTestCase by PlexusExtension to cut the need of junit4 (#241)
---
 .../java/org/apache/maven/plugin/testing/stubs/MavenProjectStub.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/maven-plugin-testing-harness/src/main/java/org/apache/maven/plugin/testing/stubs/MavenProjectStub.java b/maven-plugin-testing-harness/src/main/java/org/apache/maven/plugin/testing/stubs/MavenProjectStub.java
index ab2e517..dd4fa74 100644
--- a/maven-plugin-testing-harness/src/main/java/org/apache/maven/plugin/testing/stubs/MavenProjectStub.java
+++ b/maven-plugin-testing-harness/src/main/java/org/apache/maven/plugin/testing/stubs/MavenProjectStub.java
@@ -57,7 +57,7 @@ import org.apache.maven.model.Resource;
 import org.apache.maven.model.Scm;
 import org.apache.maven.model.io.xpp3.MavenXpp3Reader;
 import org.apache.maven.project.MavenProject;
-import org.codehaus.plexus.PlexusTestCase;
+import org.codehaus.plexus.testing.PlexusExtension;
 import org.codehaus.plexus.util.xml.XmlStreamReader;
 import org.codehaus.plexus.util.xml.Xpp3Dom;
 import org.codehaus.plexus.util.xml.pull.XmlPullParserException;
@@ -288,7 +288,7 @@ public class MavenProjectStub extends MavenProject {
     /** {@inheritDoc} */
     @Override
     public File getBasedir() {
-        return new File(PlexusTestCase.getBasedir());
+        return new File(PlexusExtension.getBasedir());
     }
 
     /**