diff --git a/maven-core/src/main/java/org/apache/maven/DefaultMaven.java b/maven-core/src/main/java/org/apache/maven/DefaultMaven.java index 59d938211e..fc3e5779c6 100644 --- a/maven-core/src/main/java/org/apache/maven/DefaultMaven.java +++ b/maven-core/src/main/java/org/apache/maven/DefaultMaven.java @@ -250,6 +250,9 @@ public class DefaultMaven throws LocalRepositoryNotAccessibleException { File localRepoDir = request.getLocalRepositoryPath(); + + logger.debug( "Using local repository at " + localRepoDir ); + localRepoDir.mkdirs(); if ( !localRepoDir.isDirectory() ) 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 f5de33be86..2656861f37 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 @@ -524,6 +524,8 @@ public class MavenCli userSettingsFile = DEFAULT_USER_SETTINGS_FILE; } + logger.debug( "Reading user settings from " + userSettingsFile ); + File globalSettingsFile; if ( cliRequest.commandLine.hasOption( CLIManager.ALTERNATE_GLOBAL_SETTINGS ) ) @@ -536,6 +538,8 @@ public class MavenCli globalSettingsFile = DEFAULT_GLOBAL_SETTINGS_FILE; } + logger.debug( "Reading global settings from " + globalSettingsFile ); + cliRequest.request.setGlobalSettingsFile( globalSettingsFile ); cliRequest.request.setUserSettingsFile( userSettingsFile );