Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » setting Maven settings.xml system wide?
setting Maven settings.xml system wide? [message #1838123] Tue, 16 February 2021 22:30 Go to next message
Marek Andreansky is currently offline Marek AndreanskyFriend
Messages: 10
Registered: October 2020
Junior Member
The Maven plugin looks into user.home/.m2 for settings.xml.

This works when each user needs to have a separate setup, but what if we want to set up a master settings.xml that will be used as default for any user ?

I have read that maven first looks into its own configuration folder for a settings file.

Anyone knows where this folder is located? I found a few maven plugin folders in the Eclipse installation folder but no luck so far.

What I need is to define a system wide settings while letting individual users the ability to override by defining another settings file in their user. home
Re: setting Maven settings.xml system wide? [message #1838125 is a reply to message #1838123] Wed, 17 February 2021 00:03 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4435
Registered: July 2009
Senior Member

This sounds like a topic for Maven itself and one of its mailing lists, https://maven.apache.org/mailing-lists.html , or the m2e mailing list https://www.eclipse.org/forums/index.php/t/204324/ .

_
Nitin Dahyabhai
Eclipse Web Tools Platform
Previous Topic:Eclipse building errors Cmake.txt
Next Topic:Can't clone Git repository in azure DevOps using HTTPs protocol
Goto Forum:
  


Current Time: Tue Apr 23 15:55:56 GMT 2024

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

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

Back to the top