I have this problem:
When I start Eclipse (Indigo Service Release 1 with Maven Integration for Eclipse) it's trying to download a file from Maven Repositories :
repo1.maven.org/maven2/.index/nexus-maven-repository-index.gz
It reaches about 10-20% (this takes loooong) and then apparently it gives up:
02.05.12 08:47:36 MESZ: Updating index central|http://repo1.maven.org/maven2
02.05.12 09:09:25 MESZ: Unable to update index for central|http://repo1.maven.org/maven2
Now I tried to download this gz-file manually because I thought, the download hits any timeout within Eclipse. Now I have another two problems:
Any helpful ideas or answers?
icon in the Maven tool window to open the Maven settings. Select Repositories from options on the left. On the Repositories page, click Update to update Maven repositories. After the update is finished, click OK.
Update Maven settings in Eclipse. Right-click your project and select Maven Update Project and update your project.
.m2/repository/.cache/m2e
.Eclipse will download it again, should work now.
Try to change the timeout settings like described here. I do not know which setting is responsible for the repository index update, you have to try a bit...
-Dsun.net.client.defaultReadTimeout=60000
-Dorg.eclipse.ecf.provider.filetransfer.retrieve.readTimeout=60000
You should consider to disable the index update on startup (disable: Preferences -> Maven -> Download repository index updates on startup
) and only update manually in the Maven Repositories View using the context menu on the central repository.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With