a peek into my MIND

September 11, 2012

Maven download source code for dependencies

Filed under: Java — Bharat Kondeti @ 10:00 pm

If you are using eclipse, then you can set maven preferences to download source and java doc

If you don’t want eclipse to automatically download source files then you can use maven to do that

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

This will only work if there are sources and java doc’s available.

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: