2

EDIT: I've found out, that my problem is this one.

If I want to add a dependency, which is definitely in Maven Central, it doesnt find it.

My effective pom contains two entries with the id "central":

  1. In repositories (https://repo1.maven.org/maven2) which comes from my 'settings.xml' in my .m2-folder
  2. In pluginRepositories (http://repo.maven.apache.org/maven2). I don't know where this entry originates from, I will find out that next (but I can exclude the 'settings.xml' and the 'pom.xml' in my project).

If i add the dependency manually, it doesn't download it.

I have checked the boxes mentioned in here , "download repository index on startup" was already active.

In the 'Maven repositories view', when i click 'Enable full index', it says: "Unable to set the index details due to the following error: read past EOF" (on both centrals).

How do i get central 'reconnected'?

General Grievance
  • 4,555
  • 31
  • 31
  • 45
jz051
  • 123
  • 1
  • 11

1 Answers1

10

The solution to this problem: Delete your cached index. It is somewhere in workspace\ .metadata\ .plugins\org.eclipse.m2e.core\nexus (just delete the entire content of the nexus-folder). This resolved the error message "Unable to set the index details due to the following error: read past EOF".

jz051
  • 123
  • 1
  • 11