Reputation: 1830
I have a maven project in eclipse and want eclipse to show me the docs of an item (class, member, interface...) when hovering over it with the mouse cursor. When I hover over an item the popup displays the following text:
Note: This element neither has attached source nor attached Javadoc and hence no Javadoc could be found.
I know I can tell eclipse the location of the docs of each dependency myself, but I want eclipse to automatically search for docs and sources in my local maven repository itself.
The local repo is already entered at
window -> preferences -> Maven -> User Settings -> Local Repository (From merged user and global settings)
How can I configure eclipse to look for docs & sources in my local maven repo automatically?
Upvotes: 2
Views: 155
Reputation: 20023
Right-click on the project, and in the Maven menu, tell it to download the Javadoc.
Upvotes: 1