M2_REPO is just a normal classpath variable in eclipse/sts to find your local maven repository.
I can add in two ways M2_REPO classpath variable into eclipse/sts ide.
step-2: select Windows -> Preferences
step-3: select Java -> Build Path --> Classpath Variable
step-4: click on New... button --> define New Variable Entry Name: M2_REPO variable and Path point it to your local maven repository
step-5: enjoy !!
I can add in two ways M2_REPO classpath variable into eclipse/sts ide.
- Add M2_REPO manually:
step-2: select Windows -> Preferences
step-3: select Java -> Build Path --> Classpath Variable
step-4: click on New... button --> define New Variable Entry Name: M2_REPO variable and Path point it to your local maven repository
step-5: enjoy !!
- Add M2_REPO automatically:
No comments:
Post a Comment