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?
This is not supported yet. Please file a bug in the issue tracker .
Update: I had some time on my train ride today. Implemented.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.