Skip to content

Commit

Permalink
Bugfix regarding the storage of Maven dependencies for flow controllers.
Browse files Browse the repository at this point in the history
  • Loading branch information
khituras committed Jun 16, 2021
1 parent 4069b19 commit c94a6f3
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -605,13 +605,16 @@ public void storeArtifacts(File directory) throws MavenException {
if (!libDir.exists())
libDir.mkdirs();
Stream<Description> descriptions = Stream.empty();
if (crDescription != null && crDescription.getMetaDescription() != null) {
if (crDescription != null && crDescription.getMetaDescription() != null)
descriptions = Stream.concat(descriptions, Stream.of(crDescription));
}
if (cmDelegates != null)
descriptions = Stream.concat(descriptions, cmDelegates.stream().filter(d -> Objects.nonNull(d.getMetaDescription())));
if (aeFlowController != null)
descriptions = Stream.concat(descriptions, Stream.of(aeFlowController));
if (aeDelegates != null)
descriptions = Stream.concat(descriptions, aeDelegates.stream().filter(d -> !d.getMetaDescription().isPear() && Objects.nonNull(d.getMetaDescription())));
if (ccFlowController != null)
descriptions = Stream.concat(descriptions, Stream.of(ccFlowController));
if (ccDelegates != null)
descriptions = Stream.concat(descriptions, ccDelegates.stream().filter(d -> Objects.nonNull(d.getMetaDescription())));
storeArtifactsOfDescriptions(descriptions, libDir);
Expand Down

0 comments on commit c94a6f3

Please sign in to comment.