Skip to content

Commit

Permalink
Revert "Remove split package ignored list as no entries remain"
Browse files Browse the repository at this point in the history
This reverts commit 9e05bd9.

Fixes quarkusio#41468
  • Loading branch information
gsmet authored and holly-cummins committed Jul 31, 2024
1 parent e2532ca commit ec94c95
Showing 1 changed file with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,16 @@ public class SplitPackageProcessor {

private static final Logger LOGGER = Logger.getLogger(SplitPackageProcessor.class);

private static final Predicate<String> IGNORE_PACKAGE = new Predicate<>() {

@Override
public boolean test(String packageName) {
// Remove the elements from this list when the original issue is fixed
// so that we can detect further issues.
return packageName.startsWith("io.fabric8.kubernetes");
}
};

@BuildStep
void splitPackageDetection(ApplicationArchivesBuildItem archivesBuildItem,
ArcConfig config,
Expand Down Expand Up @@ -72,6 +82,9 @@ void splitPackageDetection(ApplicationArchivesBuildItem archivesBuildItem,
// - "com.me.app.sub" found in [archiveA, archiveB]
StringBuilder splitPackagesWarning = new StringBuilder();
for (String packageName : packageToArchiveMap.keySet()) {
if (IGNORE_PACKAGE.test(packageName)) {
continue;
}

// skip packages based on pre-built predicates
boolean skipEvaluation = false;
Expand Down

0 comments on commit ec94c95

Please sign in to comment.