Issue
EDIT: I've found out, that my problem is this one.
If I want to add a dependency, which is definitely in href="http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22net.java.truevfs%22%20AND%20v%3A%220.11.0%22" rel="nofollow noreferrer">Maven Central, it doesnt find it.
My effective pom contains two entries with the id "central":
- In repositories (https://repo1.maven.org/maven2) which comes from my 'settings.xml' in my .m2-folder
- 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'?
Solution
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".
Answered By - jz051
Answer Checked By - David Marino (JavaFixing Volunteer)