mirror of https://github.com/apache/maven.git
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:
parent
c6dad78398
commit
98066ab241
|
@ -153,7 +153,11 @@ public class MBoot
|
||||||
{
|
{
|
||||||
userModelReader.parse( settingsXml );
|
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 )
|
if ( mavenRepoLocal == null )
|
||||||
|
|
Loading…
Reference in New Issue