Reputation: 23
I'm using flyway and its maven plugin for database migration and my database credentials are stored in plain text format in the server section of .m2/settings.xml.
I'd like to avoid this and to encrypt them using the Maven encryption mechanism as described in the Maven password encryption mini guide. Unfortunately I always get logon denied errors using the encrypted password in settings.xml. So it seems that the flyway maven plugin is not decrypting the passwort.
Does anybody have a solution for this?
Upvotes: 2
Views: 2028
Reputation: 35169
This is not supported yet. Please file a bug in the issue tracker.
Update: I had some time on my train ride today. Implemented.
Upvotes: 1