Let's say I would like to point to the Maven home via environmental variable, rather than enetering the actual path. When I use "$env.M2_HOME$" in mavenVersion.xml Idea seems to get it when loading the file:
<application>
<component name="MavenVersion" mavenHome="$env.M2_HOME$" />
</application>
I can see the expanded value in Build, Execution, Deployment -> Build Tools -> Maven -> Maven home directory.
...but whenever Idea decides to save its settings it does so in their expanded form:
<application>
<component name="MavenVersion" mavenHome="C:/apache-maven-3.3.9" />
</application>
I was thinking maybe one could make use of Appearance & Behavior -> Path Variables but Idea does not appear to allow entering anything but actual directory/path in Build, Execution, Deployment -> Build Tools -> Maven -> Maven home directory.
Am I out of luck here?