You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How to read system (mac:~/.profile) environment variables in a properties file. I created development and production properties files in environment folder like below
Now when I run mvn migration:status, i get following error
[ERROR] Failed to execute goal org.mybatis.maven:migrations-maven-plugin:1.1.3:status (default-cli) on project test: Execution default-cli of goal org.mybatis.maven:migrations-maven-plugin:1.1.3:status failed: Could not create SqlRunner. Cause: org.postgresql.util.PSQLException: FATAL: role "${db_username}" does not exist
plugin is not replacing variables. Am I doing it wrong or is this not supported by plugin?
The text was updated successfully, but these errors were encountered:
How to read system (mac:~/.profile) environment variables in a properties file. I created development and production properties files in environment folder like below
development.properties:
username=${db_username}
password=${db_password}
Now when I run
mvn migration:status
, i get following error[ERROR] Failed to execute goal org.mybatis.maven:migrations-maven-plugin:1.1.3:status (default-cli) on project test: Execution default-cli of goal org.mybatis.maven:migrations-maven-plugin:1.1.3:status failed: Could not create SqlRunner. Cause: org.postgresql.util.PSQLException: FATAL: role "${db_username}" does not exist
plugin is not replacing variables. Am I doing it wrong or is this not supported by plugin?
The text was updated successfully, but these errors were encountered: