Skip to content

Commit

Permalink
more
Browse files Browse the repository at this point in the history
  • Loading branch information
aloubyansky committed Jan 24, 2024
1 parent 7b78436 commit 65b76e9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ private ApplicationModel buildAppModel(ResolvedDependency appArtifact,
}
directDeps = filtered;
}
var parallel = true;// Boolean.getBoolean("parallel");
var parallel = true; //Boolean.getBoolean("parallel");
var collectRtDepsRequest = MavenArtifactResolver.newCollectRequest(artifact, directDeps, managedDeps, List.of(), repos);
try {
if (parallel) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ public void resolve(CollectRequest collectRtDepsRequest) throws AppModelResolver

this.managedDeps = collectRtDepsRequest.getManagedDependencies();
DependencyNode root = resolveRuntimeDeps(collectRtDepsRequest);
boolean doLog = false;
boolean doLog = false; //true;
if (doLog)
System.out.println("Resolve runtime " + (System.currentTimeMillis() - start));

Expand Down Expand Up @@ -432,7 +432,9 @@ private void processDependencies(DependencyNode root) {
log.error("The following errors were encountered while processing application dependencies:");
var i = 1;
for (var error : errors) {
log.error(i++ + ")", error);
//log.error(i++ + ")", error);
System.out.println("ERROR #" + i++);
error.printStackTrace();
}
throw new RuntimeException("Failed to process application dependencies, please see the errors logged above");
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ public void resolve(CollectRequest collectRtDepsRequest) throws AppModelResolver
collectPlatformProperties();
collectCompileOnly(collectRtDepsRequest, root);

//System.out.println("TOTAL: " + (System.currentTimeMillis() - start));
System.out.println("TOTAL: " + (System.currentTimeMillis() - start));
}

/**
Expand Down

0 comments on commit 65b76e9

Please sign in to comment.