Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jun 25th, 2012  |  syntax: None  |  size: 2.05 KB  |  hits: 15  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Jersey 1.6 with Spring 3.0.5 using Maven
  2. <dependencies>
  3.     <dependency>
  4.         <groupId>com.sun.jersey</groupId>
  5.         <artifactId>jersey-server</artifactId>
  6.         <version>${jersey-version}</version>
  7.     </dependency>
  8.  
  9.     <dependency>
  10.         <groupId>com.sun.jersey.contribs</groupId>
  11.         <artifactId>jersey-spring</artifactId>
  12.         <version>${jersey-version}</version>
  13.         <exclusions>
  14.             <exclusion>
  15.                 <artifactId>spring-core</artifactId>
  16.                 <groupId>org.springframework</groupId>
  17.             </exclusion>
  18.             <exclusion>
  19.                 <artifactId>spring-aop</artifactId>
  20.                 <groupId>org.springframework</groupId>
  21.             </exclusion>
  22.             <exclusion>
  23.                 <artifactId>spring-beans</artifactId>
  24.                 <groupId>org.springframework</groupId>
  25.             </exclusion>
  26.             <exclusion>
  27.                 <artifactId>spring-context</artifactId>
  28.                 <groupId>org.springframework</groupId>
  29.             </exclusion>
  30.             <exclusion>
  31.                 <artifactId>spring-web</artifactId>
  32.                 <groupId>org.springframework</groupId>
  33.             </exclusion>
  34.         </exclusions>
  35.     </dependency>
  36.  
  37.     <dependency>
  38.         <groupId>org.springframework</groupId>
  39.         <artifactId>spring-core</artifactId>
  40.         <version>3.0.5.RELEASE</version>
  41.     </dependency>
  42.  
  43.     <dependency>
  44.         <groupId>org.springframework</groupId>
  45.         <artifactId>spring-aop</artifactId>
  46.         <version>3.0.5.RELEASE</version>
  47.     </dependency>
  48.  
  49.     <dependency>
  50.         <groupId>org.springframework</groupId>
  51.         <artifactId>spring-context</artifactId>
  52.         <version>3.0.5.RELEASE</version>
  53.     </dependency>
  54.  
  55.     <dependency>
  56.         <groupId>org.springframework</groupId>
  57.         <artifactId>spring-beans</artifactId>
  58.         <version>3.0.5.RELEASE</version>
  59.     </dependency>
  60.  
  61.     <dependency>
  62.         <groupId>org.springframework</groupId>
  63.         <artifactId>spring-web</artifactId>
  64.         <version>3.0.5.RELEASE</version>
  65.     </dependency>
  66. </dependencies>