0
I want to pass values of environment variables to Maven via command line.
How to do?
Attempts:
mvn liquibase:update -Dliquibase.url=$DB_URL
: Maven executes, but the value is not passedmvn liquibase:update -Dliquibase.url=${DB_URL}
: Maven executes, but the value is not passedmvn liquibase:update -Dliquibase.url=${env.DB_URL}
: bash error:
-bash: -Dliquibase.url=${env.DB_URL}: bad substitution
The first and second methods are equivalent, and I can’t imagine why they didn’t work
– Jefferson Quesado
@Jeffersonquesado I think is right. The problem is when the base connect to the bank. It is not passing the user. I thought it was a call problem but it’s not. I’ll answer
– igventurelli