You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by mi...@apache.org on 2023/01/01 19:00:26 UTC

[maven] branch master updated: Add TODO about property source of maven.repo.local

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

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


The following commit(s) were added to refs/heads/master by this push:
     new c2c6dd092 Add TODO about property source of maven.repo.local
c2c6dd092 is described below

commit c2c6dd09219744cfe45df34cabed6684fe5c9213
Author: Michael Osipov <mi...@apache.org>
AuthorDate: Sun Jan 1 20:00:18 2023 +0100

    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 b3dacf8e3..cf9947545 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);
     }