how to force maven to update local repo

后端 未结 6 1235
灰色年华
灰色年华 2021-02-03 22:27

I compiled a jar file in one project so it can be consumed in the 2nd one. I can see the jar file in .m2 folder. But in the 2nd project it complains about artifact not found. I

6条回答
  •  梦毁少年i
    2021-02-03 23:11

    Click settings and search for "Repositories", then select the local repo and click "Update". That's all. This action meets my need.

提交回复
热议问题