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 On 4/26/06, gdub <[EMAIL PROTECTED]> wrote: > 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" phase to the "let's > look at the impact of Maven" phase. > Personally, I have grown from "Maven > child" to "Maven rebellious teenager." > > Now, a thing that would really cut > time would be to have source and javadoc > archives available in the local > repository--for all local and 3rd- > party artifacts. > > So my question is, how can I > automatically install source and javadoc > jars from development projects to the > local repository? I see the instructions > on how to upload them to ibiblio and I > can successfully use the source:jar and > javadoc:jar goals. But how do I get those > jars into my local repository using > Maven?. I know I can copy them directly > but hopefully that's not the recommended > means. Ideally, I'd like it configured so > that building the install goal installs > those jars as well. > > On the comment side, I would like to > plead with ibiblio uploaders to please > include source and javadoc archives > with your packages if at all possible. > I know it's extra work but it could > have a big impact on Maven usability. > > Thanks as always, > > -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]
