This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
Classic error: Unable to update index for central|http://repo1.maven.org/maven2
nitesh chauhan
Greenhorn
Joined: Jul 02, 2009
Posts: 3
posted
0
hi,
i am facing a situation where my eclipse indigo is "Unable to update index for central|http://repo1.maven.org/maven2"
i am using an external maven 3.0.3 installation
and i am definitely not behind any proxy
also my networking configuration in eclipse is all set to direct.
still i am unable to update the indexes.
is there anything else that i may have overlooked?
The only thing I can think of is that your workspace is corrupt. Try creating a new workspace and create a Maven project in that workspace and see if that works. If that works, you can copy over your projects from the old workspace to the new.
By the way, it often takes the m2eclipse plugin a while to get the indexes updated, so you might just need to wait a bit. I know that one of my colleagues was in my office several times complaining about various error he was getting with m2eclipse, and those all just went away after a while.
nitesh chauhan
Greenhorn
Joined: Jul 02, 2009
Posts: 3
posted
0
hi,
i tried creating a new work-space and created a mvn simple project. still the issues stays as it is. unable to update the index's
i also tried to get it from a mirror location. but it was of no use.
I think that Sonatype recently move the m2eclipse development to Eclipse, hence the change in the URL.
Installing Nexus should not have any bearing on this problem. But then since you would be pointing at the Nexus repository instead of Maven Central, and you would be relying on Nexus to index Maven Central, it just might work.