Search code examples
eclipsejardependenciesplayframeworkjavadoc

Download dependency Jar's with with source and Javadoc with Play framework


Is it possible to specify sources and/or javadocs to be included in dependency JAR's with the Play Framework?

I want to be able to browse the source and javadocs for 3rd party libraries in Eclipse. The Maven Eclipse plugin can apparently be configured to provide this functionality as seen here, I'm wondering if Play provides similar facilities as well.


Solution

  • Have you looked at the Maven plugin? http://www.playframework.org/modules/maven

    It explicitly mentions source and javadocs in its description.

    Expected behavior this module:

    • Allow declaration dependencies in pom.xml, without putting explicitly unless the transitive dependency does not work (for older version or depending on undesirable big jar file)
    • Able to download all dependencies not provided by Play into lib folder, with src and javadoc
    • Able to download source/javadoc artifiacts to depsrc folder for declared or transitive dependency which is provided by Play, for easier debugging (using command mvn:play-src)