Home > other >  How can I setting address of .m2 repository folder for maven project?
How can I setting address of .m2 repository folder for maven project?

Time:07-22

I install my new Window OS and run my old maven project on Tomcat Server. Then I get this message, "DUY" is my old user. I don't know how to setting my project to read .m2 folder of new user. I tried to clean project, maven clean, maven install, but it's not working

enter image description here

CodePudding user response:

Go to:

Window -> Preferences -> Maven -> User Settings

There you will see a field for you to configure your local repository a.k.a. m2 folder.

EDIT:

In that same page, check where it is pointing to the settings.xml file, open it and then check to where that file is pointing to your local repository.

  • Related