Thanks for the responses guys... I wouldn't say that I want to hide the dependencies, I just want an easy way of figuring out what a library depends on. It would be nice if the project.xml for a dependency was published along side the jar file (I notice there are poms directories on ibiblio but they don't seem to contain anything).
I noticed that when you download a plug-in it heads off and downloads jar files it depends on... I was wondering if there could be something similar for the jar files... Cheers, Dan -----Original Message----- From: Amato Massimiliano (TLAB) [mailto:[EMAIL PROTECTED] Sent: Tuesday, 18 May 2004 4:58 PM To: Maven Users List Subject: RE: External Library dependencies within a project 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] 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]