MiP
MiP

Reputation: 483

Adding Javadoc of dependencies of a library from Maven in IntelliJ IDEA

When I want to add a library from Maven, I go to Project Settings -> Libraries -> New Project Library -> From Maven... then search for the right library version and tick the JavaDocs checkbox. IntelliJ IDEA will download the library, its Javadocs and its dependencies jar files to the repository folder.

Is there any way to also download its dependencies's Javadocs?

Upvotes: 2

Views: 1226

Answers (1)

Luciano van der Veekens
Luciano van der Veekens

Reputation: 6577

For this to work, you need to add the library to the POM file instead of using the project settings in IntelliJ and make sure that the following setting is checked:

Settings -> Build -> Build Tools -> Maven -> Importing -> Automatically download: Documentation

enter image description here

Upvotes: 2

Related Questions