Add TODO about property source of maven.repo.local

This commit is contained in:
Michael Osipov 2023-01-01 20:00:18 +01:00
parent 86d6e2aeff
commit a3f88234d4

View File

@ -1311,6 +1311,8 @@ private MavenExecutionRequest populateRequest(CliRequest cliRequest, MavenExecut
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);
}