Stephane Grenier Stephane Grenier -4 years ago 167
Java Question

How to update maven repository in Eclipse?

Assuming you're already using the m2eclipse plugin, what can you do it doesn't update the dependencies to the latest in your repo.

For example, on the command line you can just add the

-U
flag as in:

mvn clean install -U


...to force the dependencies to be updated. Is there something like this within Eclipse? (It doesn't always seem to pick up the latest updates.)

Answer Source

You can right-click on your project then Maven > Update Snapshots.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download