mirror of https://github.com/apache/maven.git
Fix NPE in later code when mavenRepoLocal was defined
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163600 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
75951aa79d
commit
17b770a2ab
|
@ -184,12 +184,10 @@ public class MBoot
|
|||
|
||||
String mavenRepoLocal = System.getProperty( "maven.repo.local" );
|
||||
|
||||
SettingsReader userModelReader = null;
|
||||
SettingsReader userModelReader = new SettingsReader();
|
||||
|
||||
if ( mavenRepoLocal == null )
|
||||
{
|
||||
userModelReader = new SettingsReader();
|
||||
|
||||
try
|
||||
{
|
||||
String userHome = System.getProperty( "user.home" );
|
||||
|
|
Loading…
Reference in New Issue