Add artifacts to the resolution process of debug sources

This commit is contained in:
Alexey Andreev 2016-09-12 16:37:31 +03:00
parent c5548dfa59
commit fd7ff3d538

View File

@ -76,6 +76,8 @@ public class MavenSourceFileProviderLookup {
artifact.getArtifactId(), artifact.getVersion(), artifact.getType(), "sources")); artifact.getArtifactId(), artifact.getVersion(), artifact.getType(), "sources"));
} }
} }
artifacts.addAll(initialArtifacts);
List<SourceFileProvider> providers = new ArrayList<>(); List<SourceFileProvider> providers = new ArrayList<>();
for (Artifact artifact : artifacts) { for (Artifact artifact : artifacts) {
ArtifactResolutionRequest request = new ArtifactResolutionRequest() ArtifactResolutionRequest request = new ArtifactResolutionRequest()