Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to force IntelliJ to download javadocs with Maven?

I have the following descriptions for some Maven entries in Project Structure:

enter image description here

Javadoc file is really absent in filesystem. Simultaneously, it is present in central repository. Why it was not downloaded and how to download it by force?

UPDATE

These options are ON already:

enter image description here

Have tried to recompile, close/open etc after setting them...

like image 525
Dims Avatar asked Jun 26 '15 11:06

Dims


People also ask

How do I download JavaDoc for Maven?

To download sources for dependencies of maven project, right click on project → Maven → Download Sources . Similarly to download JavaDoc for dependencies of maven project, right click on project → Maven → Download JavaDoc .


1 Answers

Click on the "maven projects" (make sure tool buttons are on) on the right side of intelij and then click on "Download Documentation".

Also, for future downloading you can go to the File -> Settings -> Build,execution, deployment, -> build tools -> Maven -> importing -> mark "Documentation" checkbox and apply settings

like image 89
user3207081 Avatar answered Sep 19 '22 06:09

user3207081