in tools/ci/paimon-ci-tools/src/main/java/org/apache/paimon/tools/ci/suffixcheck/ScalaSuffixChecker.java [144:165]
private static Collection<String> checkScalaSuffixes(
final ParseResult parseResult, Path paimonRootPath) throws IOException {
final Collection<String> violations = new ArrayList<>();
// exclude e2e modules and paimon-docs for convenience as they
// a) are not deployed during a release
// b) exist only for dev purposes
// c) no-one should depend on them
final Collection<String> excludedModules = new ArrayList<>();
excludedModules.add("paimon-docs");
excludedModules.addAll(getEndToEndTestModules(paimonRootPath));
for (String excludedModule : excludedModules) {
parseResult.getCleanModules().remove(excludedModule);
parseResult.getInfectedModules().remove(excludedModule);
}
violations.addAll(checkCleanModules(parseResult.getCleanModules(), paimonRootPath));
violations.addAll(checkInfectedModules(parseResult.getInfectedModules(), paimonRootPath));
return violations;
}