Packaging a Spring Boot application is very simple, just build it with maven or gradle and you are done. At least so I thought and then I wanted to add a MySQL driver at runtime. I do not want to add it in the original application jar, because the application should work with different databases