How to force IntelliJ to download javadocs with Maven?

JavaMavenIntellij Idea

Java Problem Overview


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...

Java Solutions


Solution 1 - Java

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

Solution 2 - Java

Maven Projects panel

Maven Projects tool window > Icon with green arrow and a box > Download Documentation:

enter image description here

See IntelliJ IDEA documentation for Version 14.1 or current version.

Solution 3 - Java

For me, it worked when I pressed on Download Source and Documentation.

Solution 4 - Java

By the way, if you experience same case with me (working with corporate Maven repository), Maven may be ignoring an opportunity to further download javadoc if it once wasn't there. And to make it request it one more time, you have to remove <artifactId>-<version>-javadoc.jar.lastUpdated file from .m2/repository/<groupId>/<artifactId>/<version>, then try again.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionDimsView Question on Stackoverflow
Solution 1 - Javauser3207081View Answer on Stackoverflow
Solution 2 - JavaLu55View Answer on Stackoverflow
Solution 3 - JavaAH DeveloperView Answer on Stackoverflow
Solution 4 - JavavintproxView Answer on Stackoverflow