From 91ec783f6456c0944cac14b97b10706c3960e349 Mon Sep 17 00:00:00 2001 From: Cedric Beust Date: Thu, 28 Jul 2016 23:39:45 -0800 Subject: [PATCH] Revert "Throw if a jar file can't be found." This reverts commit 5a7a6d8277c0c4a6738652c653dd9650944a626f. --- .../src/main/kotlin/com/beust/kobalt/maven/aether/Aether.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/maven/aether/Aether.kt b/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/maven/aether/Aether.kt index 94d9e109..47cc6886 100644 --- a/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/maven/aether/Aether.kt +++ b/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/maven/aether/Aether.kt @@ -231,10 +231,10 @@ class AetherDependency(val artifact: Artifact) : IClasspathDependency, Comparabl if (newFile != null) { CompletedFuture(newFile) } else { - throw KobaltException("Could not resolve $id") + CompletedFuture(File("DOESNOTEXIST $id")) // will be filtered out } } else { - throw KobaltException("Could not resolve $id") + CompletedFuture(File("DOESNOTEXIST $id")) } } }