Search code examples
mavendependenciesjavadocjodatime

Add Javadoc/source to Joda-Time when imported as Maven dependency


I'm new to Maven and the Joda-Time library. Is there a simple way to add Javadoc/source code to the Joda-Time library when I import it with Maven?

This is what I added to the pom.xml:

<dependency>
  <groupId>joda-time</groupId>
  <artifactId>joda-time</artifactId>
  <version>2.0</version>
</dependency>

Thanks.


Solution

  • If you are using Eclipse with the Maven Plugin you'll find this setting under: Preferences / Maven / Download Artifact Sources and Download Artifact JavaDoc