From 6019c4fa82b1e61a10965673a9b5c11af656df26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Crocquesel?= <88554524+scrocquesel@users.noreply.github.com> Date: Mon, 17 Apr 2023 21:56:24 +0200 Subject: [PATCH] Include MariaDB deprecated.properties --- .../quarkus/jdbc/mariadb/deployment/JDBCMariaDBProcessor.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/extensions/jdbc/jdbc-mariadb/deployment/src/main/java/io/quarkus/jdbc/mariadb/deployment/JDBCMariaDBProcessor.java b/extensions/jdbc/jdbc-mariadb/deployment/src/main/java/io/quarkus/jdbc/mariadb/deployment/JDBCMariaDBProcessor.java index e652d6338740f..d5443003105e4 100644 --- a/extensions/jdbc/jdbc-mariadb/deployment/src/main/java/io/quarkus/jdbc/mariadb/deployment/JDBCMariaDBProcessor.java +++ b/extensions/jdbc/jdbc-mariadb/deployment/src/main/java/io/quarkus/jdbc/mariadb/deployment/JDBCMariaDBProcessor.java @@ -68,6 +68,9 @@ void addNativeImageResources(BuildProducer resourc // driver.properties is not added because it only provides optional descriptions for // org.mariadb.jdbc.Driver.getPropertyInfo(), which is probably not even called. resources.produce(new NativeImageResourceBuildItem("mariadb.properties")); + + // necessary when jdbcUrl contains useSsl=true + resources.produce(new NativeImageResourceBuildItem("deprecated.properties")); } @BuildStep