node-flywaydb icon indicating copy to clipboard operation
node-flywaydb copied to clipboard

Enable use of private/internal Maven repository

Open michaelmarcus-ml opened this issue 4 years ago • 1 comments

Currently the Flyway JAR is always downloaded from https://repo1.maven.org/maven2/. This URL prefix should be configurable in order to support using a private or internal Maven repository, e.g. in an Enterprise setting.

michaelmarcus-ml avatar Jan 24 '22 16:01 michaelmarcus-ml

I believe you do this by specifying a downloadUrl , both for Flyway itself (top-level property in your config.js) and for plugins (as a property on each mavenPlugins entry). It's not ideal, as you need the full URL to the specific version you're downloading, but it should work.

It would certainly be nice if you could specify a set of maven repositories (plus optional credentials) though and have it either work like Gradle where it just checks each one until it finds a match or possibly tell it where each plugin lives.

TheSench avatar Aug 23 '23 13:08 TheSench