activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Bain <>
Subject Re: What all jars are required to run ActiveMQ client and what all jars are included in ActiveMq-all jar
Date Fri, 09 Jan 2015 14:15:13 GMT
Sorry, I misread what Art recommended to you.  Yes, setting up a Maven
project and declaring a dependency on activemq-client.jar should give you
its transitive dependencies.  They'll all be sitting in your output lib
directory.  But once you include them in your project, you'll want to do
what I said and see if anything was missed.  And there might be transitive
dependencies that you aren't actually using (if they support code paths you
don't use) so if you really want only the minimum set, then skip Maven and
use the process I described.

But I still question why you're doing this and whether it's worth your time.
On Jan 9, 2015 7:07 AM, "Tim Bain" <> wrote:

> Maven's going to download all the JARs in the POM, so that won't help
> you.  The only way to do this is to run with only the JARs you're sure you
> need, and look for ClassNotFoundExceptions.  If you see any, Google to
> figure out which JAR contains that class, and it to your list, and try
> again till you no longer see ClassNotFoundExceptions.  (You'll want to make
> sure you run for a while and that you make the code do everything it's
> going to do before you declare victory; be thorough about this, because you
> don't want to hit a ClassNotFoundException in production simply because you
> didn't test thoroughly enough.)
> Why do you want to do this?  Why don't you want to just use
> activemq-all.jar and know you'll be safe?
> On Jan 8, 2015 6:32 PM, "bansalp" <> wrote:
>> I have no experience with Maven, but if I setup a maven project and
>> include
>> activemq-client jar then after successful run is there a way to see which
>> all jar have been downloaded by maven ?
>> --
>> View this message in context:
>> Sent from the ActiveMQ - User mailing list archive at

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message