We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e5c89c commit 9b9f720Copy full SHA for 9b9f720
maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java
@@ -621,7 +621,7 @@ protected Path localRepositoryPath(C context) {
621
}
622
// settings
623
userDefinedLocalRepo = context.effectiveSettings.getLocalRepository();
624
- if (userDefinedLocalRepo != null) {
+ if (userDefinedLocalRepo != null && !userDefinedLocalRepo.isEmpty()) {
625
return context.userResolver.apply(userDefinedLocalRepo);
626
627
// defaults
0 commit comments