Allow injecting a complete Configuration #1754
Since we have the
This would allow to directly set the configuration from different models like the Maven Plugin, a Gradle extension or a DevOps Model, effectively reducing effort and risk when introducing new options.
In our specific use case, we have most Flyway specific configuration (like JDBC url and credentials) in a Klum based Model anyway. Currently, we convert the model manually into a flyway configuration, but this seems rather unnecessary. Most of the Flyway code uses the Configuration object already.
There are IMHO two possible approaches to this:
Both approaches should be completely backward compatible.
I think the second approach is nicer from a SOC point of view, as it allows all configuration related code to get its own place.
I can create a pull request for that.
The text was updated successfully, but these errors were encountered: