mirror of https://github.com/apache/maven.git
o Fixed empty project building helper to pass request repos through if provided for tests that use them
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796864 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b69b4ab4f9
commit
cec9b2002a
|
@ -44,7 +44,14 @@ public class EmptyProjectBuildingHelper
|
||||||
List<ArtifactRepository> externalRepositories )
|
List<ArtifactRepository> externalRepositories )
|
||||||
throws InvalidRepositoryException
|
throws InvalidRepositoryException
|
||||||
{
|
{
|
||||||
return new ArrayList<ArtifactRepository>();
|
if ( externalRepositories != null )
|
||||||
|
{
|
||||||
|
return externalRepositories;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return new ArrayList<ArtifactRepository>();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public ClassRealm createProjectRealm( Model model, ArtifactRepository localRepository,
|
public ClassRealm createProjectRealm( Model model, ArtifactRepository localRepository,
|
||||||
|
|
Loading…
Reference in New Issue