• Status: Solved
  • Priority: High
  • Security: Public
  • Views: 132
  • Last Modified:

maven settings.xml file

hi,

I am going through below link

https://maven.apache.org/settings.html


what is importance of below entries and their sub entries

1. proxies
2. servers
3. mirrors
4. profiles has repositories and has internal and snapshot there

if i have say 4 projects in 4 workspaces with 4 settings.xmls how do i refer all of them in eclipse ?
say
workspace_1 should point to project_1 with settigs1.xml
similary
workspace_2 should point to project_2 with settigs2.xml
workspace_3 should point to project_3 with settigs3.xml
workspace_4 should point to project_4 with settigs4.xml

please advise
0
gudii9
Asked:
gudii9
  • 2
1 Solution
 
Prashant SabnekarAVPCommented:
In maven there is settings.xml at two levels global and local. You can set the local level of settings.xml in your maven settings such that that file is applied to only that particular workspace.

https://crunchify.com/missing-maven-settings-xml-file-for-your-eclipse-what-if-you-need-two-settings-xml-file-for-work-personal-workspace/
0
 
Prashant SabnekarAVPCommented:
Closing due to inactivity
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now