cancel
Showing results for 
Search instead for 
Did you mean: 

Maven and Eclipse code completion & suggestions

schipmolder
Champ on-the-rise
Champ on-the-rise
Hi,

With the old SDK I used to configure Eclipse so it knew where the sources were and therefor it could provide code completion and other features like that.
Now that I changed to SDK 2 with Maven I can't get this to work at all any more.

Can someone point me in the right direction how to get this working again?

Thanks!
2 REPLIES 2

sujaypillai
Confirmed Champ
Confirmed Champ
In Eclipse goto Window > Preferences > Maven and checking the "Download Artifact Sources" and "Download Artifact JavaDoc" options as shown in the attached screenshot.


Once done then right click on your project and select "Maven > Update Project …" which will cause your source jars to download. Wait for the download to complete and then verify.

Thanks a lot Sujay, I've been looking everywhere for that but am clearly not an Eclipse expert (yet).