From c2c6dd09219744cfe45df34cabed6684fe5c9213 Mon Sep 17 00:00:00 2001 From: Michael Osipov Date: Sun, 1 Jan 2023 20:00:18 +0100 Subject: [PATCH] Add TODO about property source of maven.repo.local --- maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java b/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java index b3dacf8e37..cf99475454 100644 --- a/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java +++ b/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java @@ -1234,6 +1234,8 @@ public class MavenCli { return userDefinedLocalRepo; } + // TODO Investigate why this can also be a Java system property and not just a Maven user property like + // other properties return request.getSystemProperties().getProperty(MavenCli.LOCAL_REPO_PROPERTY); }