mirror of https://github.com/apache/maven.git
o Removed redundant null check on local repo location...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163094 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
41da9e4f43
commit
a7b0c7069e
|
@ -115,7 +115,7 @@ public MavenProject build( File projectDescriptor, boolean resolveDependencies )
|
||||||
throw new ProjectBuildingException( "Inheritence not supported in the user override POM" );
|
throw new ProjectBuildingException( "Inheritence not supported in the user override POM" );
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( localRepositoryValue == null && userModel.getLocal() != null && userModel.getLocal().getRepository() != null )
|
if ( userModel.getLocal() != null && userModel.getLocal().getRepository() != null )
|
||||||
{
|
{
|
||||||
localRepositoryValue = userModel.getLocal().getRepository();
|
localRepositoryValue = userModel.getLocal().getRepository();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue