You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sl...@apache.org on 2026/09/25 10:39:42 UTC

(maven-verifier) 02/03: Describe Mode.AUTO selection accurately in the adapter example

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

slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-verifier.git

commit ec40fa236b6b47d76ce745a0a704d4aee9734a96
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Mon Sep 21 12:06:33 2026 +0200

    Describe Mode.AUTO selection accurately in the adapter example
---
 MIGRATION.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/MIGRATION.md b/MIGRATION.md
index a7dfea6..7169e18 100644
--- a/MIGRATION.md
+++ b/MIGRATION.md
@@ -305,7 +305,7 @@ public class MavenExecutorAdapter implements AutoCloseable {
 
     public MavenExecutorAdapter(Path mavenHome, String baseDir) {
         this.baseDir = Paths.get(baseDir);
-        // Mode.AUTO selects embedded when possible, falls back to forked
+        // Mode.AUTO selects embedded unless the request sets environment variables or JVM arguments
         this.executor = ExecutorHelper.forMavenInstallation(mavenHome, ExecutorHelper.Mode.AUTO);
     }