Search code examples
javamavenintellij-idea

IntelliJ Maven where are downloaded sources and documentations


This may be stupid but I'm following a tutorial (https://www.youtube.com/watch?v=D1sRK8JLCQ4) and he mentions around 26:17 that you can download sources and documentations (if available) for dependencies, and plugins, ... But he doesn't show where they are downloaded nor how to download them. I've tried downloading them and after several seconds of downloading intelliJ just does some indexing but i can't find the files.

Thanks


Solution

  • These files are placed next to the library .jar files under Maven home directory (usually .m2 subdirectory under the user's home directory). You can check the library configuration for the exact location:

    sources