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

**URL:** <https://forum.liquibase.org/t/maven-and-multiple-goals-for-test-prod-live-etc-encrypted-passwords/2867>\
**Category:** General Discussion\
**Created:** [January 23, 2014, 2:56am UTC](https://forum.liquibase.org/t/maven-and-multiple-goals-for-test-prod-live-etc-encrypted-passwords/2867 "2014-01-23T02:56:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeff](https://avatars.discourse-cdn.com/v4/letter/j/e19b73/32.png) [@jeff](https://forum.liquibase.org/u/jeff)\
**Post date:** [January 23, 2014, 2:56am UTC](https://forum.liquibase.org/t/maven-and-multiple-goals-for-test-prod-live-etc-encrypted-passwords/2867/1 "2014-01-23T02:56:00Z")

</div>

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 &nbsp;integration i do not want an interactive maven session.
