I defined some Environment Variables in ~/.bash_profile
,like
export MVN_REPOSITORY_USERNAME=myself
export MVN_REPOSITORY_PASSWORD=myselfPwd
In my SBT plugin configuration project/plugin.sbt
I use:
sys.env.get("MVN_REPOSITORY_USERNAME")
If I load my SBT-Project with IntelliJ, they are not set.
However if I start the SBT-Console of IntelliJ, they are set.
Is there any special configuration needed in IntelliJ?