What's the right way to update your maven project in eclipse after a git pull
Joined: Jul 18, 2012
I am fairly new to Eclipse, not a massive fan of it so far, as an IDE, but I want to try to like it, before I move to intelliJ.
So, can I ask, after doing a git pull, on the command line, whats the best way for me to update any new maven dependencies, refresh the project, and ensure its up to date.
It seems to me each time I get different results and have to re-run them a couple of times sometimes to see the updates, or even radically close and reopen the project.
Here is the typical routine I use:
1. Do a git pull
2. Refresh the project
3. Project -> clean
4. Maven -> Update project configuration
5. Maven -> Update project
6. In the project directory, mvn clean install -D skipTests
Look, Im fairly new to all of this, so this may well be completely wrong, more than likely its very wrong, I just want the correct minimal amount of steps to ensure my project in the IDE is showing the up to date artefacts, and dependecncies etc.
Sorry again, as a newbie, I hope this isnt too embarrassing a question, and I did google it before I posted it! But to no avail...