Error updating group repository metadata maven

Eclipse was not able to search dependency in Maven central repository.

I was surprised because I have never faced this issue while I was using M2Eclipse plugin from long time.

It will show you all kind of maven repositories e.g.

I have created a Maven Java project in Eclipse and subsequently tried to add Spring framework as dependency, to my surprise, nothing was happening.After some trial and error, I realized that this is my brand new workspace and I am running with Eclipse Luna, newest version of Eclipse which I had just downloaded couple days of back.My first hunch was that Eclipse might not able to connect to Internet, and to verify that I tried connecting Eclipse market place, and boom it was working fine.Once you enable option to "Download repository Index updates on startup", Maven will remember it and it will keep updating index every time you restart the Eclipse.Sometime this makes your Eclipse little bit slower so you might want to disable it and then do it manually.

Search for error updating group repository metadata maven:

error updating group repository metadata maven-66error updating group repository metadata maven-6error updating group repository metadata maven-10error updating group repository metadata maven-23

You should also check the option "Do not automatically update dependencies from remote repositories", because that will download latest build every time they were pushed into Maven central repository.

Leave a Reply

Your email address will not be published. Required fields are marked *

One thought on “error updating group repository metadata maven”