1

I meet an weird issue that Maven don't download the latest jar from my repository. I think maven will check the sha1 file of local jar with the sha1 file on repository, if different, it should download the latest jar. But it don't download in my case, could anyone help on this ?

Thanks

2
  • Have you deleted your local repository and tried it a gain ?
    – khmarbaise
    Commented Apr 13, 2012 at 14:25
  • Are you using a Repository Manager (like Nexus)?
    – FrVaBe
    Commented Apr 13, 2012 at 19:52

1 Answer 1

5

You can run maven with the -U flag. This forces maven to check for new Versions also on non snapshot dependencies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.