This is an automated email from the ASF dual-hosted git repository.
michaelo pushed a commit to branch maven-3.8.x
in repository https://gitbox.apache.org/repos/asf/maven.git
The following commit(s) were added to refs/heads/maven-3.8.x by this push:
new 0471bfdaf Add TODO about property source of maven.repo.local
0471bfdaf is described below
commit 0471bfdafccfacd9c00dae34b0ba080c6d197355
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 29adb417a..e853050d9 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
@@ -1560,6 +1560,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 );