Note the extra tags for "build" and "plugins" absent in some of the other posts.
Once you save the file, Eclipse will notify you that your pom is out of synch with your project.
You can then right click the project ...choose Maven..update project
A key insight for me was that Maven will automatically re-set the build path in Eclipse. Which you can verify by Project...build path..configure build path...Libraries.
So in essence this means you should not have to mess with directly configuring the build path in Eclipse if you are using a Maven project.