Hi, You can also create a relatively simple project.xml for the other projects on which your project is dependent, containing e.g. only their dependencies. Then AFAIK the most elegant way is to use the Maven Reactor (there's a small example in the Maven docs) to do your multiproject builds in case the build order is important (which it most likely is!). If you install all JARs of the other projects, then it's a good "ad hoc" situation, but how will you cope with changes/updates then? Maybe better to go all the way and dig into the reactor a little... It's quite easy and there's intelligent dependency handling.
regards, Johan ----- Original Message ----- From: "Heritier Arnaud" <[EMAIL PROTECTED]> To: "Maven Users List" <[EMAIL PROTECTED]> Sent: Tuesday, January 27, 2004 5:06 PM Subject: RE: Using maven for a project with multiple dependencies. > You need to do is to install (copy) all jars of the 5 others projects in your local repository (or in a local repository for your company). > Then in your new project you can use dependencies with the others. > You only need to define how to update the old projects jars (manually, ftp, ....) > > Arnaud. > > > -----Message d'origine----- > De : Dmitriy Yuriev [mailto:[EMAIL PROTECTED] > Envoy� : mardi 27 janvier 2004 16:39 > � : [EMAIL PROTECTED] > Objet : Using maven for a project with multiple dependencies. > > > Greetings. > > I am starting a new project and would like to use maven for the development > process (my compliments to its creators and all committers). One obstacle I > am facing is that the code for the new project will be dependent upon > several (up to 5) other projects and builds for those projects have been > handled strictly by the IDE (WebSphere Studio 5.0 built on eclipse 2.0) and > I don't really want create/troubleshoot build scripts/project files for 5 > other projects. Is there a way around it? Or is maven a 'all or nothing' > kind of a thing when it comes to multiple projects? > > Thanks. > > _________________________________________________________________ > There are now three new levels of MSN Hotmail Extra Storage! Learn more. > http://join.msn.com/?pgmarket=en-us&page=hotmail/es2&ST=1 > > > --------------------------------------------------------------------- > 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]
