You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by gn...@apache.org on 2026/09/02 14:36:37 UTC

(maven) branch fix/mng-8765-build created (now d42a9ea614)

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

gnodet pushed a change to branch fix/mng-8765-build
in repository https://gitbox.apache.org/repos/asf/maven.git


      at d42a9ea614 fix: remove stale PathTranslator reference from DefaultModelBuilderTest

This branch includes the following new commits:

     new d42a9ea614 fix: remove stale PathTranslator reference from DefaultModelBuilderTest

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(maven) 01/01: fix: remove stale PathTranslator reference from DefaultModelBuilderTest

Posted by gn...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

gnodet pushed a commit to branch fix/mng-8765-build
in repository https://gitbox.apache.org/repos/asf/maven.git

commit d42a9ea6140ee43024529d55a57fc058a4a36b76
Author: Guillaume Nodet <gn...@gmail.com>
AuthorDate: Wed Sep 2 14:36:23 2026 +0000

    fix: remove stale PathTranslator reference from DefaultModelBuilderTest
    
    The MNG-8749 commit removed PathTranslator from the public API and
    from the DefaultProfileActivationContext constructor, but the test
    still passed it as a constructor argument, causing a compilation error.
---
 .../test/java/org/apache/maven/impl/model/DefaultModelBuilderTest.java   | 1 -
 1 file changed, 1 deletion(-)

diff --git a/impl/maven-impl/src/test/java/org/apache/maven/impl/model/DefaultModelBuilderTest.java b/impl/maven-impl/src/test/java/org/apache/maven/impl/model/DefaultModelBuilderTest.java
index 0ea386898a..6848269c32 100644
--- a/impl/maven-impl/src/test/java/org/apache/maven/impl/model/DefaultModelBuilderTest.java
+++ b/impl/maven-impl/src/test/java/org/apache/maven/impl/model/DefaultModelBuilderTest.java
@@ -216,7 +216,6 @@ private Map<String, String> parentActivationSystemProperties() {
     private DefaultProfileActivationContext parentActivationContext(Map<String, String> systemProperties) {
         org.apache.maven.api.services.Lookup lookup = session.getService(org.apache.maven.api.services.Lookup.class);
         return new DefaultProfileActivationContext(
-                lookup.lookup(org.apache.maven.api.services.model.PathTranslator.class),
                 lookup.lookup(org.apache.maven.api.services.model.RootLocator.class),
                 lookup.lookup(org.apache.maven.api.services.Interpolator.class),
                 List.of(),