I have a related question. I have been trying to figure out if Maven can handle a project that consists of multiple CVS projects with dependencies between each.
The example is similar to below: CVS project MyProject1 depends on Foo.jar in CVS CommonProject CVS project MyProject2 depends on Bar.jar in CVS CommonProject When I build either MyProject1 or MyProject2, I want to make sure CommonProject is built too, because I may be modifying code in it as well. To me, this seems like a natural way to manage the code in CVS, instead of one huge CVS project that contains everything. However I am unclear if Maven (or anything else) can manage a structure like this. Thanks for any info... --joe On Mon, 2004-05-17 at 23:58, Amato Massimiliano (TLAB) wrote: > Hi Dan > > We decided not to solve your question since we believed that in the open source > world that approach (not to hide dependencies) is widely accepted. > > Anyway if you really want to do it one solution would be to update the jar plugin so > it accepts a jar.bunlde property that basically includes the hidden dependencies in > the the common.jar file, if you are interested i can send you the piece of code that > do it all. > > I am also thinking that this would be a great addition to the plugin that would come > almost for free. I am stil using RC1 and i am waiting for 1.0 before migrating so > it could be already included in the latest jar plugin release > > Hope this helps > Max > > -----Original Message----- > From: Washusen, Dan [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 18, 2004 3:48 AM > To: [EMAIL PROTECTED] > Subject: External Library dependencies within a project > > > > Morning all, > I have a question regarding dependencies. > > If for example my project depends on a library called common and common > depends on several other libraries (for example castor). Is there a > nice/easy way of determining what libraries I should include in my project > based on the dependencies of the common? > > Example: > MyProject depends on CommonProject > > CommonProject depends on Blah.jar, Foo.jar and Bar.jar > > Can I easily include Blah.jar, Foo.jar and Bar.jar in MyProject (without > having to declare them in MyProjects project.xml)? > > Hope that makes sense... > > -- > Dan Washusen > Developer > Structured Search > Sensis Pty Ltd > > > www.sensis.com.au > > A leading Australian advertising, information > and directories business. > > www.yellowpages.com.au > www.whitepages.com.au > www.citysearch.com.au > www.whereis.com.au > www.telstra.com.au > > This email and any attachments are intended only for the use of the recipient and > may be confidential and/or legally privileged. > Sensis Pty Ltd disclaims liability for any errors, omissions, viruses, loss and/or > damage arising from using, opening or transmitting this email. > If you are not the intended recipient you must not use, interfere with, disclose, > copy or retain this email and you should notify the sender immediately by return > email or by contacting Sensis Pty Ltd by telephone on [+61 3 9201 4888] > > --------------------------------------------------------------------- > 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]