How to solve maven 2.6 resource plugin dependency?
Seems your settings.xml
file is missing your .m2 (local maven repo) folder.
When using eclipse navigate to Window -> Preferences -> Maven -> User Settings -> Browse to your settings.xml
and click apply.
Then do maven Update Project.
On windows:
- Remove folder from C:\Users\USER.m2
- Close and open the project or force a change on file: pom.xml for saving :)
Right Click on Project go to -> Maven -> Update project ->select Force update project check box and click on Finish.
If a download fails for some reason Maven will not try to download it within a certain time frame (it leaves a file with a timestamp).
To fix this you can either
- Clear (parts of) your .m2 repo
- Run maven with -U to force an update