0

I am getting the same error as this question: When maven says "resolution will not be reattempted until the update interval of MyRepo has elapsed", where is that interval specified?

The solution is to delete the particular artifact directory. But how do I find where it is?

Running mvn clean install -U as suggested here does not work for me. It gives error:

Could not find artifact <artifact info>... in central (https://repo.maven.apache.org/maven2)
Community
  • 1
  • 1
dc95
  • 1,319
  • 1
  • 22
  • 44
  • 1
    Your local repo is usually in user's home directory under .m2/repository/, is that what you mean? – Ondřej Xicht Světlík Oct 04 '16 at 23:22
  • it's not a direct answer to your question, but try `mvn dependency:purge-local-repository` (running just this tends to fail the build, so i'm likely missing something..but it seems to successfully delete dependencies from the local repo) – jamey graham Oct 04 '16 at 23:36

1 Answers1

0

Default local repo will be in <User_Home>\.m2\repository

You can check your maven settings.xml to see if there is any custom directory configured.

ravthiru
  • 8,878
  • 2
  • 43
  • 52
  • Wow, I knew about the .m2 folder, but didn't know that's what they were referring to in the linked question. Deleting the contents of that folder seems to resolve the problem. – dc95 Oct 04 '16 at 23:51