mvn eclipse:eclipse -DdownloadSources=true -DdownloadJavadocs=true http://maven.apache.org/plugins/maven-eclipse-plugin/examples/attach-library-sources.html
Kalle On Tue, Oct 20, 2009 at 8:16 PM, jpswain <[email protected]> wrote: > > I looked at the link but I still have these questions: > Is there any sane way to simply tell maven, "download and install src & > javadoc for all artifacts in local repository"? > > If not is their at least a way to say, "install this jar with javadoc & src, > AND ALSO the javadoc & src of all its transitive dependencies? I'm having a > heck of a time with this! > > Thanks, > Jamie > > > Sean Davis-5 wrote: >> >> On Fri, Oct 2, 2009 at 8:35 PM, Roland Asmann <[email protected]> >> wrote: >>> Check the install-mojo for this: >>> http://maven.apache.org/plugins/maven-install-plugin/install-file-mojo.html >>> >>> Reinstall the jar into your repository and add the 'javadoc' and >>> 'sources' >>> switches or install them separately with the 'classifier' switch. >> >> Thanks, Roland. That is exactly what I needed. >> >>>> I apologize for the naive question in advance. I have installed an >>>> external jar file into my local repository--very easy. The jar file >>>> was built using ant as part of a third-party project. I would now >>>> like to add the source and/or the javadocs to my local repository, >>>> also. I have the source (in src/java/....) and can generate the >>>> javadoc. How can I install these files into my local repository (so >>>> that I have the equivalent of the "download sources and javadocs")? >>>> >>>> Thanks, >>>> Sean >>>> >>>> --------------------------------------------------------------------- >>>> 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] >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> >> > > -- > View this message in context: > http://www.nabble.com/installing-src-or-javadoc-into-local-repository-tp25724190p25985910.html > Sent from the Maven - Users mailing list archive at Nabble.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]
