How to specify which repository or .m2 folder to use in case of multiple user repositories?

0 votes
asked Mar 2 by Hitesh Garg (140 points)  

There are multiple repositories installed on my system as it is shared by multiple users and there are two maven repositories, one under my username and another in admin's username.

How can I specify which repository's settings.xml to use as even though I have logged in through my credentials it is referring to admin's repository which has different settings.

How can I point it to my repository?

Please log in or register to answer this question.

33 questions

21 answers


17 users

Welcome to Codingeek Q&A, where you can ask questions and receive answers from other members of the community.