For the eclipse plugin you have to pass in -DdownloadSource=true to the plugin and they will get downloaded and linked. For the idea plugin I can't tell as the documentation does not state it. I would recommend that you first try passing -DdownloadSources to the idea plugin and if it doe snot work then get the code from svn and find out if it has the capacility and, if it does, what is the name of the property to use for this.

I hope it helps.

cheers,

erick

Stephen Duncan wrote:

Yes, the eclipse plugin downloads the sources and links them within
Eclipse.  To get them downloaded, you could probably run mvn
eclipse:eclipse eclipse:clean

-Stephen

On 3/26/06, Christian Cabanero <[EMAIL PROTECTED]> wrote:
How do you ask Mavne2 to also download the sources if the artifact's sources
are also in the repository?  I have it properly downloading the jars but
often I see something like easymock-2.0-sources.jar and would like to have
them downloaded automatically.

On a related note, once I've got the sources, i'd really like it if "mvn
idea:idea" would generate an IntelliJ project file that also had the sources
hooked up to the jar modules.  That would be slick.  I heard that the maven2
eclipse plug-in does this and I'm jealous.  ;-)

Thanks,
Christian




--
Stephen Duncan Jr
www.stephenduncanjr.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to