mirror of https://github.com/apache/maven.git
allow no repo in settings.xml
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@189875 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
cb291e9fa2
commit
fc0ec82e84
|
@ -348,7 +348,11 @@ public class Verifier
|
|||
{
|
||||
userModelReader.parse( userXml );
|
||||
|
||||
repo = new File( userModelReader.getLocalRepository() ).getAbsolutePath();
|
||||
String localRepository = userModelReader.getLocalRepository();
|
||||
if ( localRepository != null )
|
||||
{
|
||||
repo = new File( localRepository ).getAbsolutePath();
|
||||
}
|
||||
}
|
||||
}
|
||||
catch ( Exception e )
|
||||
|
|
Loading…
Reference in New Issue