Encrypted passwrods per environment

Is it possible to use maven encrypted files in a liquibase properties file and have maven decrypt them during runtime? I tried adding an encrypted password to a properties file and it doesn’t correctly decrypt it.


  1. password: {uq15QwM5GrUHf8afjGiJjHRg2CFQbrx+tovHSt2sATM=}

 Gives the error:

org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.liquibase:liquibase-maven-plugin:3.0.5:update (******) on project db-update: Error setting up or running Liquibase: java.sql.SQLException: ORA-01017: invalid username/password; logon denied

There is no direct support for encrypted passwords in liquibase, but I’ve heard the standard maven encrypted password works. I don’t use maven to know what it takes to set that up, though.