0

I have the Select Dependency Window open from within the Maven Repositories view in Eclipse Mars.

I want to be able to select from auto-populated entries when I type into the filter box. Instead, I get no search results at all:

image1

These are my Maven settings:

image2

When I select "Rebuild Index" against the central Global Repository, it hangs on 0%.

There are a small handful of questions around this topic, but the most commonly provided answer is to check the "Download repository index updates on startup". This has not solved the problem.

ρяσѕρєя K
  • 132,198
  • 53
  • 198
  • 213

2 Answers2

0

Here are a few things to check/know:

  • You might not have properly set up proxy settings. If this is the case (which is most-likely), then it's understandable that it's not moving past 0%.

  • It might take a while to download the indexes. These are normally 150-200 MB.

carlspring
  • 31,231
  • 29
  • 115
  • 197
  • Thanks, how do I check proxy settings? I'm not using a proxy; everything I'm doing is done on a single, local machine. Also, why can't I select dependencies from the viewer? I have to resort to adding them manually by finding them on a repository website, e.g. mvnrepository.com. –  Jan 20 '16 at 10:50
0

answers already here: link1 link2

else Delete content in .metadata.plugins\org.eclipse.m2e.core\nexus Enable full index from preferences --> maven Else there is proxy issue for you where you would need to configure settings.xml from ~/.m2/settings.xml with the necessary proxy details

Community
  • 1
  • 1
Mrunal Gosar
  • 4,595
  • 13
  • 48
  • 71
  • Thanks, I did that and it made no difference. I still don't know why I can't select dependencies from the viewer, and instead have to add them manually to the pom.xml. –  Jan 20 '16 at 10:52