how to force maven to update local repo

后端 未结 6 1247
灰色年华
灰色年华 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条回答
  •  渐次进展
    2021-02-03 23:09

    You can also use this command on the command line:

    mvn dependency:purge-local-repository clean install
    

提交回复
热议问题