Generally speaking, there are three types of package, *.jar
, *-sources.jar
and *-javadoc.jar
, for each artifact in remote maven repository, but mvn
only resolves the jar
dependencis while compiling the source code.
Could someone tell me how to resolve *-sources.jar
and *-javadoc.jar
from remote repository by mvn
.