public static void main(String... argv) {
        FlywayHelper flywayHelper = new FlywayHelper();
        JCommander.newBuilder()
                .addObject(flywayHelper)
                .build()
                .parse(argv);
        flywayHelper.run();
    }
This stand-alone class can be used to run Flyway migrations when run from a fat jar. E.g.
java -cp stroom-app-all.jar stroom.db.migration.FlywayHelper info
--url=jdbc:mysql... --username=root --password=my-secret-pw
<p>
It currently only supports 'info' and 'migrate'.
<p>
This class doesn't use any existing Flyway configuration because we might want to use it against other
databases, e.g. for testing migrations.
<p>
This class lives in Stroom because this gives it the benefit of having access to all the migrations
and to dependencies such as Saxon -- these are already on the classpath.
stroom-app/src/main/java/stroom/app/db/migration/FlywayHelper.java