Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to force maven repository indexing in Eclipse?

I have m2e installed in Eclipse and global maven configured in it. Recently I have added two geottools repositories, but Eclipse does not show them:

enter image description here

Also it is not finding artefacts from it, like gt-shapefile.

How to force indexing? Rebuild Index and Update Index did not help. Removing m2e plugin folders from .metadata workspace folder also didn't help.

like image 231
Suzan Cioc Avatar asked Aug 30 '13 00:08

Suzan Cioc


1 Answers

Go to Preferences > Maven
and select Download repository index updates on startup check box

Restarting eclipse should trigger index download for each repository. Also note that Repository should provide an index in first place for this option to work.

Please see error log ( Window > Show View ) for any related messages.

like image 100
Prashant Bhate Avatar answered Oct 23 '22 15:10

Prashant Bhate