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")) } } }