Closed JanecekPetr closed 7 years ago
I guess, you tried to run maven under privileged user. For getting more details see https://github.com/yandex-qatools/postgresql-embedded/issues/86 or https://github.com/yandex-qatools/postgresql-embedded/blob/master/README.md ('Known issues' section)
Would you please verify it? For example, try to create unprivileged user and to run Maven under the user...
Oh. I'm sorry, you're completely right. I skimmed over that section as I read it as "doesn't run under UNprivileged user...". Not sure how I got that.
I will apparently need to try to write my own wrapper for https://github.com/opentable/otj-pg-embedded which has been working both on Linux and Windows very well for me.
(Early working prototype to be seen at https://gitlab.com/janecekpetr/embedded-postgresql-maven-plugin, I basically forked your awesome plugin and switched the underlying lib.)
I believe I created the simplest possible setup:
but what I am seeing is a failing build, Flyway cannot connect to the DB:
What am I missing here? No matter what configuration I try, the result seems to always be the same. Note that after the "Extract DONE", the plugin still works in the background for ~10 seconds with no output, only then does Flyway start.
Oh, and also after Maven tells me that the build failed, this appears in the console: