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

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


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

commit a3f88234d429acd60d563e9f4d593870b1754225
Author: Michael Osipov <[email protected]>
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 e4f320a44..6540e37fa 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
@@ -1311,6 +1311,8 @@ public class MavenCli {
 
         String localRepoProperty = 
request.getUserProperties().getProperty(MavenCli.LOCAL_REPO_PROPERTY);
 
+        // TODO Investigate why this can also be a Java system property and 
not just a Maven user property like
+        // other properties
         if (localRepoProperty == null) {
             localRepoProperty = 
request.getSystemProperties().getProperty(MavenCli.LOCAL_REPO_PROPERTY);
         }

Reply via email to