Fix fix error during build of s2i base image
@@ -68,6 +68,7 @@ public final class ProjectGeneratorHelper {
return bos.toByteArray();
}
+ @SuppressWarnings("PMD.NPathComplexity")
public static boolean filterDefaultDependencies(MavenGav gav) {
boolean answer = true;
@@ -89,6 +90,11 @@ public final class ProjectGeneratorHelper {
answer = false;
}
+ if ("org.apache.camel.k".equals(gav.getGroupId())) {
+ // Camel K does not work with s2i runtime
+ answer = false;
+ }
+
if (!answer) {
LOGGER.debug("Dependency: {} filtered", gav);
}
