On 4/26/06, Aaron Freeman <[EMAIL PROTECTED]> wrote: > > So what you all are saying is that the "eclipse:eclipse > -DdownloadSources=true" command is the only way to get Maven to copy > source jars into the local repository. So if you already have .project > and .classpath file, the there is no way to get the sources in the > local repository without messing up my .project and .classpath file. > > > > On 4/26/06, gdub <[EMAIL PROTECTED]> wrote: > > Tom Huybrechts wrote: > > > The Eclipse plugin will (or should) > > > only download javadocs if the > > > sources are not available. Makes > > > sense for Eclipse, since it will > > > extract the javadocs from the sources if needed. > > > > Ah. I see. I deleted a source > > archive and it did indeed attach > > the javadoc archive instead. > > > > However, I think it should attach > > both if if finds them. In Eclipse, > > shift-f2 pops up a browser pointed > > at the javadocs for the item under > > the cursor. If only the sources > > are attached that function doesn't > > work. > > > > With only the sources attached, > > hovering over an item shows the javadoc > > in a local window but the ui is not > > as functional as the normal browser- > > based api docs. > > > > -dub > > > > > > --------------------------------------------------------------------- > > 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] > > Seems like there should be a non-Eclipse-related method of downloading source/javadoc. I'd think whatever code downloads the POMs/binaries/etc could/should be responsible for downloading these as well, at the same time. Some sort of switch in the XML could turn this on/off for users who don't like the default.
My $0.02. -- Jamie
