How to force IntelliJ to download javadocs with Ma

2019-01-22 11:55发布

问题:

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

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:

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

回答1:

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



回答2:

Maven Projects panel

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

See IntelliJ IDEA documentation for Version 14.1 or current version.