Skip to content

Commit f15267c

Browse files
committed
add missing dependency to jaxrs pom
1 parent d9fb6f8 commit f15267c

File tree

2 files changed

+14
-2
lines changed
  • modules/swagger-codegen/src/main/resources/JavaJaxRS
  • samples/server/petstore/jaxrs/jersey2

2 files changed

+14
-2
lines changed

modules/swagger-codegen/src/main/resources/JavaJaxRS/pom.mustache

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,12 @@
133133
<artifactId>jersey-media-multipart</artifactId>
134134
<version>${jersey2-version}</version>
135135
</dependency>
136-
<!-- Base64 encoding that works in both JVM and Android -->
136+
<dependency>
137+
<groupId>com.fasterxml.jackson.core</groupId>
138+
<artifactId>jackson-core</artifactId>
139+
<version>${jackson-version}</version>
140+
</dependency>
141+
<!-- Base64 encoding that works in both JVM and Android -->
137142
<dependency>
138143
<groupId>com.brsanthu</groupId>
139144
<artifactId>migbase64</artifactId>
@@ -181,6 +186,7 @@
181186
<swagger-core-version>1.5.12</swagger-core-version>
182187
<jetty-version>9.2.9.v20150224</jetty-version>
183188
<jersey2-version>2.22.2</jersey2-version>
189+
<jackson-version>2.8.7</jersey2-version>
184190
{{#supportJava6}}
185191
<commons_io_version>2.5</commons_io_version>
186192
<commons_lang3_version>3.5</commons_lang3_version>

samples/server/petstore/jaxrs/jersey2/pom.xml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,12 @@
133133
<artifactId>jersey-media-multipart</artifactId>
134134
<version>${jersey2-version}</version>
135135
</dependency>
136-
<!-- Base64 encoding that works in both JVM and Android -->
136+
<dependency>
137+
<groupId>com.fasterxml.jackson.core</groupId>
138+
<artifactId>jackson-core</artifactId>
139+
<version>${jackson-version}</version>
140+
</dependency>
141+
<!-- Base64 encoding that works in both JVM and Android -->
137142
<dependency>
138143
<groupId>com.brsanthu</groupId>
139144
<artifactId>migbase64</artifactId>
@@ -166,6 +171,7 @@
166171
<swagger-core-version>1.5.12</swagger-core-version>
167172
<jetty-version>9.2.9.v20150224</jetty-version>
168173
<jersey2-version>2.22.2</jersey2-version>
174+
<jackson-version>2.8.7</jersey2-version>
169175
<junit-version>4.12</junit-version>
170176
<logback-version>1.1.7</logback-version>
171177
<servlet-api-version>2.5</servlet-api-version>

0 commit comments

Comments
 (0)