If you're using Maven you would just need to exclude the spring jars:
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-foo</artifactId>
<excludes>
<exclude>
<groupId>org.springframework</groupId>
<artifactId>spring-beans</artifactId>
</exclude>
... exclude other spring dependencies here
</excludes>
</dependency>
Otherwise just leave Spring off your classpath and you'll be good to go!
- Dan
On 4/17/07, Bharath Ganesh <[EMAIL PROTECTED]> wrote:
Hi
Is there a neat way to completely remove CXF dependecny on
Spring.? Assume
I take care of all initializations and injections and use CXFBus. In such
a
case, is there a way to remove Spring. I could still see some dependency.
Also why is the JBI dependecny needed. I tried removing jbi jars and got
some issues. I think we need to have a doc explaining all these
dependencies.
Any suggestions would be of great help.
-Bharath
--
Dan Diephouse
Envoi Solutions
http://envoisolutions.com | http://netzooid.com/blog