I wanted to see what the best way was to offer up some code as a thanks–a way to give back.
I have code that does, effectively, a Class.getResources("/META-INF/liquibase/changelog.xml") and then aggregates these together into a (usually temporary) composite changelog via statements, in classpath order or reverse classpath order.
The net effect is that you can run it in a unit test (for example) and a properly ordered and built aggregate change log is put together and run against your database.
If your unit test happens to be run in a big-classpath world (like is commonly found in Maven), this means that each project you depend on can have its own little changelog fragment, define its own tables, and rest in the knowledge that targets of foreign keys will exist (to the extent that this can ever be known).
I would love to hand this back to the community, as it’s the sort of generic thing that might help others who have the same itch. What should I do with it?