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" <tb...@alumni.duke.edu> 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" <bpradee...@gmail.com> 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:
>> http://activemq.2283324.n4.nabble.com/What-all-jars-are-required-to-run-ActiveMQ-client-and-what-all-jars-are-included-in-ActiveMq-all-jar-tp4689651p4689677.html
>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>
>

Reply via email to