score:169

Accepted answer

to download sources for your dependencies:

mvn eclipse:eclipse -ddownloadsources=true

to attach sources to an installation:

mvn source:jar install

it's also preferable to use the goal source:jar-no-fork in your pom as described on the maven-source-plugin page.

score:-1

it is quite easy with eclipse, right click the project in project explorer view, click maven menu item , then click download sources..

score:5

please use mvn source:jar install to install the maven artifacts.

score:66

simple, get your sources and javadocs:

mvn dependency:resolve -dclassifier=javadoc
mvn dependency:resolve -dclassifier=sources

Related Query

More Query from same tag