From 9e40700478a1da3c4df6ef713cca6cf9259e7774 Mon Sep 17 00:00:00 2001 From: wing328 Date: Thu, 2 Mar 2017 02:16:13 +0800 Subject: [PATCH] update jackson dependency and fix closing xml tag in jaxrs pom --- .../src/main/resources/JavaJaxRS/pom.mustache | 11 ++- samples/server/petstore/jaxrs/jersey2/pom.xml | 11 ++- .../petstore/springboot-delegate/pom.xml | 73 ------------------- 3 files changed, 16 insertions(+), 79 deletions(-) delete mode 100644 samples/server/petstore/springboot-delegate/pom.xml diff --git a/modules/swagger-codegen/src/main/resources/JavaJaxRS/pom.mustache b/modules/swagger-codegen/src/main/resources/JavaJaxRS/pom.mustache index 1739ddd5cc..a28823d585 100644 --- a/modules/swagger-codegen/src/main/resources/JavaJaxRS/pom.mustache +++ b/modules/swagger-codegen/src/main/resources/JavaJaxRS/pom.mustache @@ -134,8 +134,13 @@ ${jersey2-version} - com.fasterxml.jackson.core - jackson-core + com.fasterxml.jackson.datatype + jackson-datatype-joda + ${jackson-version} + + + com.fasterxml.jackson.jaxrs + jackson-jaxrs-json-provider ${jackson-version} @@ -186,7 +191,7 @@ 1.5.12 9.2.9.v20150224 2.22.2 - 2.8.7 + 2.8.7 {{#supportJava6}} 2.5 3.5 diff --git a/samples/server/petstore/jaxrs/jersey2/pom.xml b/samples/server/petstore/jaxrs/jersey2/pom.xml index bf8b2a889d..39125b0a9b 100644 --- a/samples/server/petstore/jaxrs/jersey2/pom.xml +++ b/samples/server/petstore/jaxrs/jersey2/pom.xml @@ -134,8 +134,13 @@ ${jersey2-version} - com.fasterxml.jackson.core - jackson-core + com.fasterxml.jackson.datatype + jackson-datatype-joda + ${jackson-version} + + + com.fasterxml.jackson.jaxrs + jackson-jaxrs-json-provider ${jackson-version} @@ -171,7 +176,7 @@ 1.5.12 9.2.9.v20150224 2.22.2 - 2.8.7 + 2.8.7 4.12 1.1.7 2.5 diff --git a/samples/server/petstore/springboot-delegate/pom.xml b/samples/server/petstore/springboot-delegate/pom.xml deleted file mode 100644 index d777f7d31f..0000000000 --- a/samples/server/petstore/springboot-delegate/pom.xml +++ /dev/null @@ -1,73 +0,0 @@ - - 4.0.0 - io.swagger - swagger-spring - jar - swagger-spring - 1.0.0 - - 1.7 - ${java.version} - ${java.version} - 2.5.0 - - - org.springframework.boot - spring-boot-starter-parent - 1.3.5.RELEASE - - - src/main/java - - - org.springframework.boot - spring-boot-maven-plugin - - - - repackage - - - - - - - - - org.springframework.boot - spring-boot-starter-web - - - org.springframework.boot - spring-boot-starter-tomcat - provided - - - - io.springfox - springfox-swagger2 - ${springfox-version} - - - io.springfox - springfox-swagger-ui - ${springfox-version} - - - - com.fasterxml.jackson.datatype - jackson-datatype-joda - - - joda-time - joda-time - - - - javax.validation - validation-api - 1.1.0.Final - provided - - - \ No newline at end of file