mirror of https://github.com/apache/maven.git
o fixing finding of settings file
Submitted by: Eugene Kuleshove git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@505611 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
755f9683e1
commit
f151b661dd
|
@ -51,6 +51,11 @@ public class DefaultMavenSettingsBuilder
|
|||
{
|
||||
Settings globalSettings = readSettings( globalSettingsFile );
|
||||
|
||||
if ( userSettingsFile == null )
|
||||
{
|
||||
userSettingsFile = new File( new File( System.getProperty( "user.home" ) ), ".m2/settings.xml" );
|
||||
}
|
||||
|
||||
Settings userSettings = readSettings( userSettingsFile );
|
||||
|
||||
if ( globalSettings == null )
|
||||
|
|
Loading…
Reference in New Issue