users@jersey.java.net

jersey-spring dependency question

From: Tom Davies <tom_at_atlassian.com>
Date: Thu, 18 Sep 2008 09:39:09 +1000

Hi,

The jersey-spring dependencies look like this:

[INFO] +- com.sun.jersey:jersey-spring:jar:0.9-ea:compile
[INFO] | +- org.springframework:spring-core:jar:2.5.5:compile
[INFO] | \- org.springframework:spring-webmvc:jar:2.5.5:compile
[INFO] | +- org.springframework:spring-beans:jar:2.5.5:compile
[INFO] | +- org.springframework:spring-context:jar:2.5.5:compile
[INFO] | | \- aopalliance:aopalliance:jar:1.0:compile
[INFO] | +- org.springframework:spring-context-support:jar:
2.5.5:compile
[INFO] | \- org.springframework:spring-web:jar:2.5.5:compile

i.e. the pom declares a dependency on spring-webmvc.

Looking at the code, it seems to me that a dependency on spring-web
would be sufficient -- but I admit that I haven't tried it.

Tom

--
ATLASSIAN - http://www.atlassian.com
Our products help over 8,500 customers in more than 95 countries to  
collaborate