[FIXED JENKINS-7535] building up the dependency graph for maven jobs

takes too long
This commit is contained in:
Christoph Kutzinski committed 2011-03-25 18:49:10 +01:00
1 parent a2e597b3ee
commit 6a5330fd93
3 files changed
+76 -25

No files matched your search

@@ -578,10 +578,12 @@ public final class MavenModuleSet extends AbstractMavenProject<MavenModuleSet,Ma
}
protected void buildDependencyGraph(DependencyGraph graph) {
Collection<MavenModule> modules = getModules();
for (MavenModule m : modules) {
m.buildDependencyGraph(graph);
}
// the modules are already rebuild by DependencyGraph#init !
// Collection<MavenModule> modules = getModules();
// for (MavenModule m : modules) {
// m.buildDependencyGraph(graph);
// }
publishers.buildDependencyGraph(this,graph);
buildWrappers.buildDependencyGraph(this,graph);
}