views:

370

answers:

2

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 since it doesn't always seem to pick up the latest updates.

+3  A: 

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

Pascal Thivent
+1  A: 

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

eugener