To download source of dependencies jars in local repository while building project using Maven, you need to add "dependency:sources" goal while building your project.
Run following command for your project and it will download all sources for dependencies if it exists.
Command : mvn dependency:sources
You can find more information related to dependency plugin at Maven Dependency Plugin project.
Run following command for your project and it will download all sources for dependencies if it exists.
Command : mvn dependency:sources
You can find more information related to dependency plugin at Maven Dependency Plugin project.