How to edit M2_REPO for class path variable in eclipse

I am unable to edit the class path variable for maven repo in eclipse..


To modify the M2_REPO value, you need to change it at Eclips's Maven configuration page.

Select Windows -> Preferences -> Maven -> User Settings.

Figure Change it to Maven repository. It will pick from localRepository tag value in maven settings.xml

Post a Reply
Captcha Image