mirror of https://github.com/apache/maven.git
pass in artifact repositories, not model repositories
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@320747 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c25deeee5a
commit
c707f40b35
|
@ -359,8 +359,8 @@ public class DependenciesReport
|
|||
}
|
||||
|
||||
// TODO: we should use the MavenMetadataSource instead
|
||||
return mavenProjectBuilder.buildFromRepository( projectArtifact, project.getRepositories(), localRepository,
|
||||
allowStubModel );
|
||||
return mavenProjectBuilder.buildFromRepository( projectArtifact, project.getRemoteArtifactRepositories(),
|
||||
localRepository, allowStubModel );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue