From fd7ff3d538d4bf2da2cf0b8969991239b5e68f14 Mon Sep 17 00:00:00 2001 From: Alexey Andreev Date: Mon, 12 Sep 2016 16:37:31 +0300 Subject: [PATCH] Add artifacts to the resolution process of debug sources --- .../java/org/teavm/maven/MavenSourceFileProviderLookup.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/maven/plugin/src/main/java/org/teavm/maven/MavenSourceFileProviderLookup.java b/tools/maven/plugin/src/main/java/org/teavm/maven/MavenSourceFileProviderLookup.java index 3b6242f79..f41b0eabd 100644 --- a/tools/maven/plugin/src/main/java/org/teavm/maven/MavenSourceFileProviderLookup.java +++ b/tools/maven/plugin/src/main/java/org/teavm/maven/MavenSourceFileProviderLookup.java @@ -76,6 +76,8 @@ public class MavenSourceFileProviderLookup { artifact.getArtifactId(), artifact.getVersion(), artifact.getType(), "sources")); } } + + artifacts.addAll(initialArtifacts); List providers = new ArrayList<>(); for (Artifact artifact : artifacts) { ArtifactResolutionRequest request = new ArtifactResolutionRequest()