Allowed user to defined maven.repo.local if settings.xml file exist

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@227310 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Emmanuel Venisse 2005-08-04 06:30:13 +00:00
parent c6dad78398
commit 98066ab241
1 changed files with 5 additions and 1 deletions

View File

@ -153,7 +153,11 @@ public class MBoot
{
userModelReader.parse( settingsXml );
mavenRepoLocal = userModelReader.getLocalRepository();
if ( mavenRepoLocal != null )
{
// user don't override mavenRepoLocal with maven.repo.local system property
mavenRepoLocal = userModelReader.getLocalRepository();
}
}
if ( mavenRepoLocal == null )