How to force IntelliJ to download javadocs with Maven?

后端 未结 4 1828
刺人心
刺人心 2020-12-05 06:28

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

\"enter

相关标签:
4条回答
  • 2020-12-05 06:42

    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

    0 讨论(0)
  • 2020-12-05 06:54

    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.

    0 讨论(0)
  • 2020-12-05 07:02

    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.

    0 讨论(0)
  • 2020-12-05 07:03

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

    0 讨论(0)
提交回复
热议问题