You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by cs...@apache.org on 2026/07/13 20:22:00 UTC

(maven) branch maven-3.10.x updated: Fix UT: do not use checkout directly (#12483)

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

cstamas pushed a commit to branch maven-3.10.x
in repository https://gitbox.apache.org/repos/asf/maven.git


The following commit(s) were added to refs/heads/maven-3.10.x by this push:
     new 9bc315e9bd Fix UT: do not use checkout directly (#12483)
9bc315e9bd is described below

commit 9bc315e9bd80af2aeebcbc049d7d7551634e5902
Author: Tamas Cservenak <ta...@cservenak.net>
AuthorDate: Mon Jul 13 22:21:54 2026 +0200

    Fix UT: do not use checkout directly (#12483)
    
    Instead, it should use transient (copied) resources under target.
---
 .../maven/project/inheritance/AbstractProjectInheritanceTestCase.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/maven-compat/src/test/java/org/apache/maven/project/inheritance/AbstractProjectInheritanceTestCase.java b/maven-compat/src/test/java/org/apache/maven/project/inheritance/AbstractProjectInheritanceTestCase.java
index 567dc64a78..4682f1fda4 100644
--- a/maven-compat/src/test/java/org/apache/maven/project/inheritance/AbstractProjectInheritanceTestCase.java
+++ b/maven-compat/src/test/java/org/apache/maven/project/inheritance/AbstractProjectInheritanceTestCase.java
@@ -47,6 +47,6 @@ protected File projectFile(String groupId, String artifactId) {
     // ----------------------------------------------------------------------
 
     protected File getLocalRepositoryPath() {
-        return getTestFile("src/test/resources/inheritance-repo/" + getTestSeries());
+        return getTestFile("target/test-classes/inheritance-repo/" + getTestSeries());
     }
 }