1

i have many modules and when i build i get this error, how to fix this error? jar:1.0-SNAPSHOT in http://twitter4j.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of twitter4j.org has elapsed or updates are force. help for fix this

  • Possible duplicate of [this](https://stackoverflow.com/questions/4856307/when-maven-says-resolution-will-not-be-reattempted-until-the-update-interval-of) SO question. – Jeroen Heier Oct 13 '17 at 04:07

1 Answers1

0

You can use --update-snapshots (or the shorthand -U) to force maven to update its snapshots:

$ mvn clean install --update-snapshots
Mureinik
  • 297,002
  • 52
  • 306
  • 350
  • Thank you, i try, but i get this Could not find artifact jar:1.0-SNAPSHOT in twitter4j.org (http://twitter4j.org/maven2) -> [Help 1]? – Rini Nurfitriani Oct 16 '17 at 02:26