How to update maven repository in Eclipse? How to update maven repository in Eclipse? java java

How to update maven repository in Eclipse?


You can right-click on your project then Maven > Update Project..., then select Force Update of Snapshots/Releases checkbox then click OK.


In newer versions of Eclipse that use the M2E plugin it is:

Right-click on your project(s) --> Maven --> Update Project...

In the following dialog is a checkbox for forcing the update ("Force Update of Snapshots/Releases")


Right-click on your project and choose Maven > Update Snapshots. In addition to that you can set "update Maven projects on startup" in Window > Preferences > Maven

UPDATE: In latest versions of Eclipse: Maven > Update Project. Make sure "Force Update of Snapshots/Releases" is checked.