Permalink
Browse files

Add jersey/json support

  • Loading branch information...
1 parent 80cd695 commit ad796618a3ecd845b2f319cb88a7fe09ec8be575 Rene Treffer committed Mar 23, 2012
Showing with 8 additions and 4 deletions.
  1. +4 −4 pom.xml
  2. +4 −0 src/main/webapp/WEB-INF/web.xml
View
8 pom.xml
@@ -44,11 +44,11 @@
<groupId>org.apache.mahout</groupId>
<artifactId>mahout-core</artifactId>
<version>0.6</version>
- </dependency>
+ </dependency>
<dependency>
- <groupId>org.apache.abdera</groupId>
- <artifactId>abdera-client</artifactId>
- <version>1.1.2</version>
+ <groupId>com.sun.jersey</groupId>
+ <artifactId>jersey-json</artifactId>
+ <version>1.13-b01</version>
</dependency>
</dependencies>
<build>
View
4 src/main/webapp/WEB-INF/web.xml
@@ -11,6 +11,10 @@
<param-name>com.sun.jersey.config.property.packages</param-name>
<param-value>com.hackanoon.youshake.backend</param-value>
</init-param>
+ <init-param>
+ <param-name>com.sun.jersey.api.json.POJOMappingFeature</param-name>
+ <param-value>true</param-value>
+ </init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>

0 comments on commit ad79661

Please sign in to comment.