diff --git a/pom.xml b/pom.xml index 40245186a..7dd7416e3 100644 --- a/pom.xml +++ b/pom.xml @@ -1,172 +1,177 @@ - 4.0.0 + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + 4.0.0 - org.springframework.data - spring-data-elasticsearch - 1.0.0.BUILD-SNAPSHOT + org.springframework.data + spring-data-elasticsearch + 1.0.0.BUILD-SNAPSHOT - - org.springframework.data.build - spring-data-parent - 1.2.0.RELEASE - ../spring-data-build/parent/pom.xml - + + org.springframework.data.build + spring-data-parent + 1.2.0.RELEASE + ../spring-data-build/parent/pom.xml + - Spring Data Elasticsearch - Spring Data Implementation for Elasticsearch - https://github.com/SpringSource/spring-data-elasticsearch + Spring Data Elasticsearch + Spring Data Implementation for Elasticsearch + https://github.com/SpringSource/spring-data-elasticsearch - + - DATAES + DATAES - 3.2.1 - 2.6 - 0.90.6 - 1.9.2 - 1.6.0.BUILD-SNAPSHOT + 3.2.1 + 2.6 + 0.90.6 + 2.2.3 + 1.6.0.BUILD-SNAPSHOT - + - + - - - org.springframework - spring-context - ${spring} - - - commons-logging - commons-logging - - - + + + org.springframework + spring-context + ${spring} + + + commons-logging + commons-logging + + + - - org.springframework - spring-tx - ${spring} - + + org.springframework + spring-tx + ${spring} + - - - cglib - cglib - 2.2.2 - test - + + + cglib + cglib + 2.2.2 + test + - - - org.springframework.data - spring-data-commons - ${springdata.commons} - + + + org.springframework.data + spring-data-commons + ${springdata.commons} + - - - commons-lang - commons-lang - ${commonslang} - - - commons-collections - commons-collections - ${commonscollections} - + + + commons-lang + commons-lang + ${commonslang} + + + commons-collections + commons-collections + ${commonscollections} + - - - joda-time - joda-time - ${jodatime} - + + + joda-time + joda-time + ${jodatime} + - - - org.elasticsearch - elasticsearch - ${elasticsearch} - + + + org.elasticsearch + elasticsearch + ${elasticsearch} + - - - org.codehaus.jackson - jackson-mapper-asl - ${jackson} - + + + com.fasterxml.jackson.core + jackson-core + ${jackson} + + + com.fasterxml.jackson.core + jackson-databind + ${jackson} + - - - javax.enterprise - cdi-api - ${cdi} - provided - true - + + + javax.enterprise + cdi-api + ${cdi} + provided + true + - - - org.springframework - spring-test - ${spring} - test - - - org.apache.openwebbeans.test - cditest-owb - ${webbeans} - test - + + + org.springframework + spring-test + ${spring} + test + + + org.apache.openwebbeans.test + cditest-owb + ${webbeans} + test + - + - - - - org.apache.maven.plugins - maven-assembly-plugin - - - org.codehaus.mojo - wagon-maven-plugin - - - + + + + org.apache.maven.plugins + maven-assembly-plugin + + + org.codehaus.mojo + wagon-maven-plugin + + + - - - biomedcentral - BioMed Central Development Team - +0 - - + + + biomedcentral + BioMed Central Development Team + +0 + + - - - spring-libs-snapshot - http://repo.springsource.org/lib-snapshot-local - - + + + spring-libs-snapshot + http://repo.springsource.org/lib-snapshot-local + + - - https://github.com/SpringSource/spring-data-elasticsearch - scm:git:git://github.com/SpringSource/spring-data-elasticsearch.git - scm:git:ssh://git@github.com:SpringSource/spring-data-elasticsearch.git + + https://github.com/SpringSource/spring-data-elasticsearch + scm:git:git://github.com/SpringSource/spring-data-elasticsearch.git + scm:git:ssh://git@github.com:SpringSource/spring-data-elasticsearch.git - + - - Bamboo - http://build.springsource.org/browse/SPRINGDATAES - + + Bamboo + http://build.springsource.org/browse/SPRINGDATAES + - - JIRA - https://jira.springsource.org/browse/DATAES - + + JIRA + https://jira.springsource.org/browse/DATAES + diff --git a/src/main/java/org/springframework/data/elasticsearch/core/DefaultEntityMapper.java b/src/main/java/org/springframework/data/elasticsearch/core/DefaultEntityMapper.java index bdfb6e33e..6b7ce908e 100644 --- a/src/main/java/org/springframework/data/elasticsearch/core/DefaultEntityMapper.java +++ b/src/main/java/org/springframework/data/elasticsearch/core/DefaultEntityMapper.java @@ -1,7 +1,7 @@ package org.springframework.data.elasticsearch.core; -import org.codehaus.jackson.map.DeserializationConfig; -import org.codehaus.jackson.map.ObjectMapper; +import com.fasterxml.jackson.databind.DeserializationFeature; +import com.fasterxml.jackson.databind.ObjectMapper; import java.io.IOException; @@ -9,6 +9,7 @@ import java.io.IOException; * DocumentMapper using jackson * * @author Artur Konczak + * @author Petar Tahchiev */ public class DefaultEntityMapper implements EntityMapper { @@ -16,7 +17,7 @@ public class DefaultEntityMapper implements EntityMapper { public DefaultEntityMapper() { objectMapper = new ObjectMapper(); - objectMapper.configure(DeserializationConfig.Feature.FAIL_ON_UNKNOWN_PROPERTIES, false); + objectMapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false); } @Override diff --git a/template.mf b/template.mf index 76f78ed99..5b25ec451 100644 --- a/template.mf +++ b/template.mf @@ -10,7 +10,7 @@ Import-Template: javax.enterprise.*;version="${cdi:[=.=.=,+1.0.0)}";resolution:=optional, org.apache.commons.collections.*;version="${commonscollections:[=.=.=,+1.0.0)}";resolution:=optional, org.apache.commons.lang.*;version="${commonslang:[=.=.=,+1.0.0)}", - org.codehaus.jackson.*;version="${jackson:[=.=.=,+1.0.0)}", + com.fasterxml.jackson.*;version="${jackson:[=.=.=,+1.0.0)}";resolution:=optional, org.elasticsearch.*;version="${elasticsearch:[=.=.=,+1.0.0)}", org.joda.time.*;version="${jodatime:[=.=.=,+1.0.0)}", org.slf4j.*;version="${slf4j:[=.=.=,+1.0.0)}",