Re: creating and using source archive

2006-04-28 Thread Aaron Freeman
lity would have to be reimplemented. So, just as Jamie said, > > I think the piece that downloads the POMs and binaries should have a > > switch that will make it download the sources and javadocs (in the XML > > or as a -D option like on the eclipse plugin). > > > --

Re: creating and using source archive

2006-04-28 Thread Tom Huybrechts
t; or as a -D option like on the eclipse plugin). > -- View this message in context: http://www.nabble.com/creating-and-using-source-archive-t1512274.html#a4121026 Sent from the Maven - Users forum at Nabble.com. - To uns

Re: creating and using source archive

2006-04-27 Thread Wayne Fay
unctionality would have to be reimplemented. So, just as Jamie said, > > I think the piece that downloads the POMs and binaries should have a > > switch that will make it download the sources and javadocs (in the XML > > or as a -D option like on the eclipse plugin). > > > -

Re: creating and using source archive

2006-04-27 Thread jdigger
n). > -- View this message in context: http://www.nabble.com/creating-and-using-source-archive-t1512274.html#a4121026 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: creating and using source archive

2006-04-26 Thread Aaron Freeman
I agree with Jamie. Since the ability to build javadoc and source jars is a built in part of the maven deploy plugin, it doesn't make sense that the only way to get maven to download them is using an eclipse specific plugin. What if people want to use these source files for other things or with oth

Re: creating and using source archive

2006-04-26 Thread gdub
Jamie Bisotti wrote: 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 t

Re: creating and using source archive

2006-04-26 Thread Jamie Bisotti
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

Re: creating and using source archive

2006-04-26 Thread Aaron Freeman
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

Re: creating and using source archive

2006-04-26 Thread gdub
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 i

Re: creating and using source archive

2006-04-26 Thread Tom Huybrechts
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. Tom On 4/26/06, gdub <[EMAIL PROTECTED]> wrote: > gdub wrote: > > gdub wrote: > > I have the source and > > javadoc

Re: creating and using source archive

2006-04-26 Thread gdub
Tom Huybrechts wrote: If you execute 'mvn eclipse:eclipse -DdownloadSources=true', an Eclipse project will be generated with sources or javadocs attached. Thanks, Tom. I've started using that flag. However, a surprising number of packages on ibiblio don't include source or javadoc archives. I'

Re: creating and using source archive

2006-04-26 Thread Greg Wiley
gdub wrote: Jake Pezaro wrote: > to get the source into your > repository then you need to > attache the source plugin > to the package phase as below. > this will then automatically > generate the sources and > deploy them. Wow, that was easy. That's going to save alot of time. Thank you

Re: creating and using source archive

2006-04-26 Thread gdub
gdub wrote: gdub wrote: I have the source and javadoc archives going into the repository just fine but the eclipse plugin isn't picking them up when I execute the eclipse:eclipse goal. It was just a plugin version issue. The newest version picks up the sources just fine. It does not set the j

Re: creating and using source archive

2006-04-26 Thread Tom Huybrechts
If you execute 'mvn eclipse:eclipse -DdownloadSources=true', an Eclipse project will be generated with sources or javadocs attached. While you may not want the related project files (.project & .classpath) this will have the side effect of downloading what you need into your local repository. Tom

RE: creating and using source archive

2006-04-26 Thread Jake Pezaro
jar -Original Message- From: gdub [mailto:[EMAIL PROTECTED] Sent: 26 April 2006 17:01 To: Maven Users List Subject: creating and using source archive Good morning- We just completed our first

creating and using source archive

2006-04-26 Thread gdub
Good morning- We just completed our first Maven-based project and are on to the next. First, thanks to the Maven developers for their efforts and to the members of this list who were invariably helpful and patient during the newbie days. So, we are moving from the "let's see how Maven works" pha