mirror of
https://github.com/apache/maven-mvnd.git
synced 2025-09-27 16:08:21 +00:00
Fix problem when using -rf option on the command line
This commit is contained in:
@@ -29,7 +29,7 @@ import org.apache.maven.project.MavenProject;
|
||||
interface DependencyGraph<K> {
|
||||
|
||||
static DependencyGraph<MavenProject> fromMaven(ProjectDependencyGraph graph, String rules) {
|
||||
List<MavenProject> projects = graph.getAllProjects();
|
||||
List<MavenProject> projects = graph.getSortedProjects();
|
||||
Map<MavenProject, List<MavenProject>> upstreams = projects.stream()
|
||||
.collect(Collectors.toMap(p -> p, p -> graph.getUpstreamProjects(p, false)));
|
||||
Map<MavenProject, List<MavenProject>> downstreams = projects.stream()
|
||||
|
Reference in New Issue
Block a user