From 65b76e916765a0cfa69f4adea2c81d11dc225e7d Mon Sep 17 00:00:00 2001 From: Alexey Loubyansky Date: Wed, 24 Jan 2024 05:59:06 +0100 Subject: [PATCH] more --- .../bootstrap/resolver/BootstrapAppModelResolver.java | 2 +- .../resolver/maven/ApplicationDependencyModelResolver.java | 6 ++++-- .../resolver/maven/ApplicationDependencyTreeResolver.java | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/independent-projects/bootstrap/maven-resolver/src/main/java/io/quarkus/bootstrap/resolver/BootstrapAppModelResolver.java b/independent-projects/bootstrap/maven-resolver/src/main/java/io/quarkus/bootstrap/resolver/BootstrapAppModelResolver.java index 19985e7b6b1e1..5020bbbdb76a9 100644 --- a/independent-projects/bootstrap/maven-resolver/src/main/java/io/quarkus/bootstrap/resolver/BootstrapAppModelResolver.java +++ b/independent-projects/bootstrap/maven-resolver/src/main/java/io/quarkus/bootstrap/resolver/BootstrapAppModelResolver.java @@ -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) { diff --git a/independent-projects/bootstrap/maven-resolver/src/main/java/io/quarkus/bootstrap/resolver/maven/ApplicationDependencyModelResolver.java b/independent-projects/bootstrap/maven-resolver/src/main/java/io/quarkus/bootstrap/resolver/maven/ApplicationDependencyModelResolver.java index 8a0857160764c..e962766c51de1 100644 --- a/independent-projects/bootstrap/maven-resolver/src/main/java/io/quarkus/bootstrap/resolver/maven/ApplicationDependencyModelResolver.java +++ b/independent-projects/bootstrap/maven-resolver/src/main/java/io/quarkus/bootstrap/resolver/maven/ApplicationDependencyModelResolver.java @@ -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)); @@ -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"); } diff --git a/independent-projects/bootstrap/maven-resolver/src/main/java/io/quarkus/bootstrap/resolver/maven/ApplicationDependencyTreeResolver.java b/independent-projects/bootstrap/maven-resolver/src/main/java/io/quarkus/bootstrap/resolver/maven/ApplicationDependencyTreeResolver.java index 33820ff155ae3..c22b4c7a8fa46 100644 --- a/independent-projects/bootstrap/maven-resolver/src/main/java/io/quarkus/bootstrap/resolver/maven/ApplicationDependencyTreeResolver.java +++ b/independent-projects/bootstrap/maven-resolver/src/main/java/io/quarkus/bootstrap/resolver/maven/ApplicationDependencyTreeResolver.java @@ -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)); } /**