I seem to have to maunally click "Download Sources and Documentation" after each clean install, is there a way to get this to happen by default?


It is also a setting on the Import Project/Module screen, or available via settings under Maven > Importing: Automatically download sources/documentation

If you want to change this setting across all projects change the above option in File > Other Settings > Default Settings


Intellij is ultimately using maven to download sources and documentation. So you need to configure maven.

Please see: https://stackoverflow.com/questions/5780758/maven-always-download-sources-and-javadocs

So your sources and javadocs will be automatically downloaded whenever you do clean install.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.