Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Maven Integration for Web Tools Platform » Set Maven - User Settings based on windows environment variable
Set Maven - User Settings based on windows environment variable [message #1749950] Wed, 14 December 2016 09:39
Jasmin Kling is currently offline Jasmin KlingFriend
Messages: 8
Registered: December 2016
Junior Member
I want to change the Maven - User Settings to point to my settings.xml.
However, I do not want to provide the absolute path. Instead I want to use windows environment variable e.g MAVEN_HOME that points to where the maven files are located (the settings.xml file is then located in one of the subfolders).

I already tried to provide the variable as follows: ${env_var:MAVEN_HOME}.
The complete entry is the following: ${env_var:MAVEN_HOME}/../settings.xml

This was suggested in the post #22947281 at (using-windows-environment-variables-in-eclipse-preferences)
And it works for the described problem, but not for Maven - User Settings.

Any other suggestions that I could try to use windows environment variable here?
Previous Topic:m2e connector build-helper-maven-plugin breaks junit integration
Next Topic:How to test an entire maven web site from eclipse
Goto Forum:

Current Time: Sun Sep 23 08:00:51 GMT 2018

Powered by FUDForum. Page generated in 0.01474 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top