you can't. that jar is intended as a one stop shop that contains all
that you need but does not give you any choice.
You need to take a peek at the activemq-all pom and replicate what it
pulls in as dependencies in your pom so that you can pull in just the
activemq modules that you wish and whatever compatible third party
dependencies that you wish.

https://github.com/apache/activemq/blob/master/activemq-all/pom.xml#L25

On 10 February 2015 at 21:38, alt_alt <alt_...@163.com> wrote:
> Hi all
> I am new to activemq, and I encounter an issue when using activemq. It is
> because we have our own version of javax.jms and there is another one in
> activemq-all.jar, which leads to conflict.
>
> Could any one tell me how to exclude the javax from activemq-all? I am using
> maven.
>
>
>
> --
> View this message in context: 
> http://activemq.2283324.n4.nabble.com/How-to-exclude-javax-from-activemq-all-jar-tp4691298.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to