mirror of https://github.com/apache/maven.git
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:
parent
d7098e06ff
commit
f60b2a7abf
|
@ -55,7 +55,7 @@ public abstract class ArtifactTestCase
|
|||
Settings settings = new SettingsXpp3Reader().read( new FileReader( settingsFile ) );
|
||||
localRepo = settings.getLocalRepository();
|
||||
}
|
||||
else
|
||||
if ( localRepo == null )
|
||||
{
|
||||
localRepo = System.getProperty( "user.home" ) + "/.m2/repository";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue