The spring dependencies are only used for the xbean spring xml configuration of the broker.
A pom like the following, with a spring exclusion will do it: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>spring-free-jms-client</groupId> <artifactId>spring-free-jms-client</artifactId> <version>1.0</version> <dependencies> <dependency> <groupId>org.apache.activemq</groupId> <artifactId>activemq-core</artifactId> <version>5.4.2</version> <exclusions> <exclusion> <groupId>org.springframework</groupId> <artifactId>spring-context</artifactId> </exclusion> </exclusions> </dependency> </dependencies> </project> On 6 January 2011 19:15, David Pollak <feeder.of.the.be...@gmail.com> wrote: > Howdy, > > I'm trying to add ActiveMQ to the client side of my application. I have a > firm ban on anything Spring-related in my applications. > > So, I'm trying to figure out what I need to support JMS and to support > connecting to my ActiveMQ broker and nothing else. > > When I use activemq-core, I get Spring and 20+ other packages. What can I > depend on (I'm using Maven) that will import the least necessary to connect > to my ActiveMQ broker? > > Thanks, > > David > > -- > Lift, the simply functional web framework http://liftweb.net > Beginning Scala http://www.apress.com/book/view/1430219890 > Follow me: http://twitter.com/dpp > Blog: http://goodstuff.im > Surf the harmonics > -- http://blog.garytully.com http://fusesource.com