class SourcesExporter {

    public Collection<ReleaseWithSources> downloadSources(SW360ReleaseClientAdapterAsync releaseAdapter,
                                                          Collection<SW360Release> releases) {
        List<CompletableFuture<ReleaseWithSources>> downloadFutures = releases.stream()
                .map(release -> downloadSourcesForRelease(releaseAdapter, release))
                .collect(Collectors.toList());
        return FutureUtils.sequence(downloadFutures, ex -> false).join();
    }

    public  SourcesExporter(Path sourcePath);

}