Native MariaDb with useSsl throw NPE
### Describe the bug

When the Jdbc url contains `useSsl=true`, those lines throw a NPE

https://github.com/mariadb-corporation/mariadb-connector-j/blob/d541afd6af963d931dd1a86adfb1cbcb1a0af10c/src/main/java/org/mariadb/jdbc/Configuration.java#L672-L679

I guess it's because the processor do not retain the deprecated.properties resource file

https://github.com/quarkusio/quarkus/blob/6c7268b90a6f0d76cea39c3ad4520526e66275d9/extensions/jdbc/jdbc-mariadb/deployment/src/main/java/io/quarkus/jdbc/mariadb/deployment/JDBCMariaDBProcessor.java#L65-L71



### Expected behavior

application can connect with `useSsl=true`

### Actual behavior

Throw NPE

### Additional information

In my case, I have no control over the jdbcUrl.

**Would be great to backport it to 2.x**

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 e652d633874..d5443003105 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<NativeImageResourceBuildItem> 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
['extensions/jdbc/jdbc-mariadb/deployment/src/main/java/io/quarkus/jdbc/mariadb/deployment/JDBCMariaDBProcessor.java']