Reputation: 739
I had downloaded my maven plugin from Eclipse Market Place and now I need to set setting.xml
file in window-preference-maven-user settings block, but I am unable to find setting.xml
file. I had also looked in .m2
directory but only repository directory is there. Please tell where should I look to get setting.xml
. Please also tell me what is the term proxy in setting.xml
file. I am new to maven so I don't know much about this.
Upvotes: 0
Views: 13062
Reputation: 1163
There are two locations where a settings.xml file may live:
See, this for detail overview.
Also , maven use maven use proxy setting to download artifacts in corporate environment. Like if you are running maven behind firewall in corporate, Maven need to be configured with proxy settings, See here for detail.
Upvotes: 2
Reputation: 4224
Download the maven installation from here. Extract the zip and there will be settings.xml.
Proxy are used so that maven use that information to download artifacts in corporate environments.
Upvotes: 2