Stop metabase from overwriting drivers

I've modified one of the standard drivers metabase automatically saves to /plugins. I've placed the jar file in the plugins folder, but everytime metabase starts it overwrites it. Is there a way to prevent metabase from doing this? How do you force it to use a specific driver?

I've modified the snowflake driver. I then build it with ./bin/ snowflake. I copy the resulting jar to /plugins, but I can't get metabase to load it as it always overwrites it with the original driver.

Any ideas?


Hi @cabarria
Replace the driver in the JAR (it's just a ZIP file, look in /modules).
Otherwise you need to change the mtime (modified time) of the driver, so it matches what the JAR driver has.
For reference: