diff --git a/extensions/liquibase/deployment/src/main/java/io/quarkus/liquibase/deployment/LiquibaseProcessor.java b/extensions/liquibase/deployment/src/main/java/io/quarkus/liquibase/deployment/LiquibaseProcessor.java index 66e45af582ff9..b1cb21ed7408f 100644 --- a/extensions/liquibase/deployment/src/main/java/io/quarkus/liquibase/deployment/LiquibaseProcessor.java +++ b/extensions/liquibase/deployment/src/main/java/io/quarkus/liquibase/deployment/LiquibaseProcessor.java @@ -1,7 +1,6 @@ package io.quarkus.liquibase.deployment; import static io.quarkus.deployment.annotations.ExecutionTime.STATIC_INIT; -import static java.util.function.Predicate.not; import java.io.IOException; import java.nio.file.Paths; @@ -254,11 +253,7 @@ void nativeImageConfiguration( } private static Predicate commandStepPredicate(Capabilities capabilities) { - if (capabilities.isPresent("io.quarkus.jdbc.h2")) { - return (s) -> true; - } else { - return not("liquibase.command.core.StartH2CommandStep"::equals); - } + return (s) -> true; } private void consumeService(Class serviceClass, BiConsumer, Collection> consumer) {