How to download sources and javadoc artifacts with Maven Eclipse plugin from other repository?

I have spring framework dependencies in my Maven project. I want to attach the Javadoc for spring framework dependencies.

I added to pom.xml following lines

        <name>SpringSource Repository</name>


I have installed m2eclipse and I also checked option Download Artifact Sources/Javadoc in settings.

When I run mvn eclipse:eclipse, it doesn't show any warnings. But javadoc .jar files aren't downloaded.


In Eclipse goto Windows->preferences->Maven and there you check the box with download sources and may be download javadoc as well. That should do the trick.

You can download from this location

Need Your Help

Sorted array list in Java

java data-structures sorted

I'm baffled that I can't find a quick answer to this. I'm essentially looking for a datastructure in Java which implements the java.util.List interface, but which stores its members in a sorted or...

Is there any way to change android:windowSoftInputMode value from java class?

android android-tabhost android-softkeyboard

I want to act my tabs to have different windowSoftInputMode properties for each tab. How to access this property from java class when all handling of your tab is done from one single activity?