Re: Any idea how to determine all the JAR dependencies a give JAR has?

peter royal <[email protected]> Sun, 14 Dec 2003 15:39:09 -0500
Newsgroups gmane.comp.java.jcontainer.interest
Message-ID <[email protected]>
On Dec 14, 2003, at 1:32 PM, Mike Hogan wrote:
>  * A maven repo should have a small XML file detailing the runtime
> dependencies for each jar in the repo.  When I see that
> spice-threadpool-0.1.jar is a dependency on MikesComponent.jar, I can 
> parse
> that XML file and determine what else is required, and so on 
> recursively.
> This XML file need be no more than the <dependencies> section of the 
> Maven
> POM.

How about just putting the POM in the repository, if available? The 
fallback could be a POM that only contained the <dependencies> block.
-pete
smime.p7s (application/pkcs7-signature, 2.3 KB) - not displayed