Failed to collect dependencies in Maven project

After a lot of headaches and time I simply realized that there is a huge problem with the m2e plugin and its versions. Thus I solved my problem by making entering the project and making mvn clean compile followed by mvn install.

Thanks for the help anyway!


Looks like you are missing some Maven repos. Ask for your friend's .m2/settings.xml, and you'll probably want to update the POM to include the repositories there.


Could you try use only console ?

"mvn clean compile" should be enough to check if problem is with eclipse or not.

Sometimes I had problem with dependencies in some maven project, and usually was because i didn't add a specific repository for them. Some dependencies are not installed in maven central repo, so you must check if your dependencies ara available in this repo. If not, you can add more repositories in your pom in order to tell maven "hey look for my dependencies in this other repo too".

Tags:

Eclipse

Maven

M2E