Cool - that works perfectly. Thanks, J
On 11-May-06, at 11:53 AM, Tim Kettler wrote:
Hi,
Never tried it myself but looking at the mojo sourcecode it is
configured as shown below. I think this is not available in the
current release of the plugin, so you will have to use a snapshot/
svn version.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-idea-plugin</artifactId>
<configuration>
<downloadSources>true</downloadSources>
<downloadJavadocs>true</downloadJavadocs>
</configuration>
</plugin>
Hope this helps
-Tim
Julian Wood schrieb:
How do you include a source jar (or a javadoc jar) as a dependency
in your pom, such that when the idea plugin builds your project,
sources and javadocs are downloaded and linked up properly?
This issue suggests that it already works:
http://jira.codehaus.org/browse/MIDEA-51
These issues suggest that it doesn't yet work.
http://jira.codehaus.org/browse/MPIDEA-36
http://jira.codehaus.org/browse/MNG-2248
I've tried adding 3 deps differing only in their classifier, which
is either nonexistant, 'sources' or 'javadoc'. All are downloaded,
of course, but are simply added as module libraries to the IJ
project file, rather than being correctly linked as sources or
javadocs. This is using the latest idea plugin from svn.
What am I missing (as I start to peruse the idea plugin code to
find out)?
Thanks,
J
--
Julian Wood <[EMAIL PROTECTED]>
Software Engineer
Teaching & Learning Centre
University of Calgary
http://tlc.ucalgary.ca
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]