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); }