How To Change M2 Repository Path In Eclipse

0 Comments

How To Change M2 Repository Path In Eclipse. Navigate to windows > preferences. Setting the m2_repo classpath variable in eclipse.


How To Change M2 Repository Path In Eclipse

Setting the m2_repo classpath variable in eclipse. Navigate to windows > preferences.

M2_Repo Is A Variable That Defines Where Maven 2 Repository Is On Your Disk;

Select java > build path > classpath variables.

Manually Change Maven Repository Location In Eclipse.

Setting the m2_repo classpath variable in eclipse.

In Our Case The Location Is.

Images References :

Click On The New Button ≫ Defined A New.

My solution using eclipse and maven is to create new workspace, maven repository and settings.xml replacing the default.m2 repository path.

Define New Classpath Variable “M2_Repo” Create New Variable M2_Repo And Point It.

Setting the m2_repo classpath variable in eclipse.

Find The M2 Location As , {M2_Home}\Conf\ Where M2_Home Is Maven Installation Folder.

Related Posts