We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 693ad95 commit 5a74bd6Copy full SHA for 5a74bd6
dsf-maven/dsf-maven-plugin/src/main/java/dev/dsf/maven/bundle/BundleGenerator.java
@@ -222,7 +222,10 @@ private void sortBundleEntries(Bundle bundle)
222
223
resources.stream().map(EntryAndLabel::label).forEach(l -> logger.debug(l));
224
225
- bundle.setEntry(resources.stream().map(EntryAndLabel::entry).toList());
+ List<BundleEntryComponent> finalEntries = new ArrayList<>(
226
+ bundle.getEntry().stream().filter(Predicate.not(BundleEntryComponent::hasResource)).toList());
227
+ finalEntries.addAll(resources.stream().map(EntryAndLabel::entry).toList());
228
+ bundle.setEntry(finalEntries);
229
}
230
231
private static record EntryAndLabel(BundleEntryComponent entry, String label)
0 commit comments