how to force maven to update local repo

后端 未结 6 1232
灰色年华
灰色年华 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 22:58

    If you are struggling with authenticating to a site, and Maven is caching the results, simply removing the meta-data about the site from the meta-data stash will force Maven to revisit the site.

    gvim /commons-codec/resolver-status.properties
    

提交回复
热议问题