You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Arik Kfir <ar...@gmail.com> on 2005/11/11 16:34:00 UTC

Attaching '-sources.jar' and '-javadoc.jar' to libraries in generated IDEA projects

Hi,

I've submitted a patch for the maven-idea-plugin that downloads and links
the source code & javadocs jars for pom dependencies in the generated IDEA
modules. The patch is in http://jira.codehaus.org/browse/MNG-1190

For each dependency in the POM it simply tries to download the same dep. but
with a classifier of "sources"/"javadoc" and if successful, links them in
the ".iml" file (not failing if dependency has no sources/javadoc).

I'm not familier with the Eclipse plugin - but I'm sure something along the
same lines would be useful there as well (if not already implemented). And
ofcourse, incorporating it into the idea's plugin would be cool too :)

Cheers,
Arik.