Fix problem where settings.xml doesn't contain localRepo

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@376919 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Carlos Sanchez Gonzalez 2006-02-11 03:28:20 +00:00
parent d7098e06ff
commit f60b2a7abf
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ public abstract class ArtifactTestCase
Settings settings = new SettingsXpp3Reader().read( new FileReader( settingsFile ) ); Settings settings = new SettingsXpp3Reader().read( new FileReader( settingsFile ) );
localRepo = settings.getLocalRepository(); localRepo = settings.getLocalRepository();
} }
else if ( localRepo == null )
{ {
localRepo = System.getProperty( "user.home" ) + "/.m2/repository"; localRepo = System.getProperty( "user.home" ) + "/.m2/repository";
} }