I want to access linux environment variables from pom.xml
I have added
WAS_LOCAL_HOST='http://localhost:9081'
~/.bashrc
~/.zsh/rc/env.rc
pom.xml
${env.WAS_LOCAL_HOST}
${WAS_LOCAL_HOST}
Cannot resolve symbol env.WAS_LOCAL_HOST
In the pom, refer the environment variable, say MY_VALUE
as ${env.MY_VALUE}
. Check this link for more information.