Hello, everyone!
I'm trying to find a way to automatically fetch the source code of the dependencies used in projects with Maven.
I see that Eclipse has an option of downloading the fonts, but it should require some special configuration in pom.xml to work, as I trigger it and nothing happens.
For example, consider the following dependencies as a target:
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>4.5.2</version>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.8.0</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-xml</artifactId>
<version>2.8.5</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpasyncclient</artifactId>
<version>4.1.2</version>
</dependency>
<dependency>
<groupId>io.rest-assured</groupId>
<artifactId>rest-assured</artifactId>
<version>3.0.1</version>
</dependency>
</dependencies>
Source: link
What I'd like to get, please, is that in addition to the jars with the binaries declared above, their respective jars of source codes should also be downloaded to the project for use during debugging.
Is it possible to do this? (I know there's a plugin in Eclipse to decompile, but that's not what I'm looking for)
Thankful, Marcos