o Extended debug logging

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@830186 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2009-10-27 13:51:28 +00:00
parent fca0b52ab4
commit 642904917a
2 changed files with 7 additions and 0 deletions

View File

@ -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() )

View File

@ -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 );