Setting up M2_REPO classpath

后端 未结 3 1564

I have a few questions corresponding to this.

  1. What is M2_REPO?
  2. What does this command do?

    mvn -Declipse.workspace=

3条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-17 11:14

    Go to Windows-> Preference -> Java ->Build Path -> Classpath Variables -> New and add the following ;

    Name = M2_REPO (or what ever name you gave for your Maven repository) Path = C:\Users\Administrator.m2\repository (Mine is saved here)

提交回复
热议问题