Maven and multiple goals for test/prod live etc. encrypted passwords

In our environment we have a dev, test and prod databases. I’d like to know the recommend method for running maven/liquibase for each of them. ideally i’m picturing something like

mvn liquibase:dev-update

mvn liquibase:prod-update

or something… or

mvn liquibase:update -SOMEMAGICARG=dev

Also, when I have these multiple goals defined either within the pom.xml or in properties files, how do i go about encrypting my database credentials so that they don’t end up in Git since eventually I plan upon using bamboo with continuous  integration i do not want an interactive maven session.