0

I miss a way to download the sources and javadoc for my project's Maven dependencies when working on VSCode. I remember having this on Eclipse. Is there a way to configure that on vscode-java extension?

Today I've to manually add this plugin in my pom.xml to do that.

      <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-dependency-plugin</artifactId>
          <version>3.1.2</version>
          <executions> 
              <execution>
                <?m2e execute onConfiguration?>
                  <goals>
                      <goal>sources</goal>
                      <goal>resolve</goal>
                  </goals>
                  <configuration>
                      <classifier>javadoc</classifier>
                      <classifier>sources</classifier>
                  </configuration>
              </execution>
          </executions>
      </plugin>

0 Answers0