maven


Correct way to use parent environmental variables in maven in Intellij


I have created a Maven Run Configuration in Intellij (Community Edition, Mac, Yosemite), and want to set up an Environmental Variable in the "Runner" tab of the configuration. In the value of that variable, I was wanting to use a parent environmental variable (specifically, $HOME) for part of the value.
For example:
Run > Edit Configuration > Add New > Maven > Runner (tab) > Environmental Variables > Add New:
name: SOME_CONFIG_FILE
value: $HOME/.config/file.json
I have tried with HOME, $HOME, $HOME$, ${HOME} and %HOME% and none of them were able to resolve properly. Clicking on the "Show" for the Parent Environmental Variables show HOME with the proper value.
What is the correct way to set the value?
It's not supported at the moment:
IDEA-85313 Provide ability to reference parent environment variables in Run Configuration dialog

Related Links

Maven Properties List
Maven build in Jenkins writes the output of execution to a file
Not able to run Maven project in Eclipse
How to include maven executable to uber jar to run maven commands in AWS Lambda
How can I use the maven rpm plugin to deploy a patch?
Don't see sourcemaps in my GWT 2.7 application
IntelliJ Stuck “Scanning Maven Projects”
How to mount docker volume into my docker project using compose?
MAVEN - Setting Path in Redhat so the maven commands can be run from anywhere
maven plugin for docker (e.g. to run with needed db)
Is kapt supported in maven?
Howto retrieve the latest Snapshot from Nexus OSS 3.0
Maven versioning in a parallel development process
Compile failure in Jenkins
How to access files from module using maven without searching it in local .m2 repository & central maven repository?
passing version of a dependency during a release build in maven

Categories

HOME
winforms
pdf
jdo
date
google-play
octobercms
spagobi
q
rdf
survey
awesome-wm
vaadin7
ab-testing
karma-jasmine
visual-composer
ml
tar
dcevm
crosstab
crystal-reports-2010
emgucv
shopware
facet
fifo
microsoft-chart-controls
sql-server-2012-express
http-status-code-503
calibre
textmate
mmenu
fusionpbx
overlap
multilingual
sqlite2
temporary-files
sql-server-agent
isbn
gpx
parentheses
termination
colorama
worker-thread
feeds
lift-json
orthogonal
cubes
merge-conflict-resolution
plottable.js
pagedlist
testng-dataprovider
bluegiga
two-factor-authentication
associative-array
photobucket
jms2
eclipse-clp
mutation-observers
angular-leaflet-directive
ideamart
splash
graph-drawing
sankey-diagram
unity3d-gui
unity5.2.3
c3
network-interface
article
navigationservice
expected-exception
multiprocessor
c18
web2py-modules
isnullorempty
nsnetservice
rdoc
parametric-equations
postgresql-performance
whoosh
gnu-prolog
cinema-4d
rfc1123
table-footer
netbeans-7.1
pyinotify
wise
nsviewanimation
ext3
meego
kdbg
yagni
paul-graham

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App