How do I enable index downloads in Eclipse for Maven dependency search? [duplicate] Ask Question

How do I enable index downloads in Eclipse for Maven dependency search? [duplicate] Ask Question

I am using Eclipse Luna with the m2e plug-in. When I search for dependencies, I get the following warning (also see the screenshot after):

Index downloads are disabled, search result may be incomplete.

ここに画像の説明を入力してください

How can I enable index downloads?

ベストアンサー1

  1. In Eclipse, click on Windows > Preferences, and then choose Maven in the left side.
  2. Check the box "Download repository index updates on startup".
    • Optionally, check the boxes Download Artifact Sources and Download Artifact JavaDoc.
  3. Click OK. The warning won't appear anymore.
  4. Restart Eclipse.

http://i.imgur.com/IJ2T3vc.png

おすすめ記事