This closes Changed nifi-toolkit-api to use Jersey 2 and Jackson
@@ -20,10 +20,6 @@ language governing permissions and limitations under the License. -->
<artifactId>nifi-toolkit-api</artifactId>
- <properties>
- <okhttp2.version>2.7.5</okhttp2.version>
- </properties>
-
<dependencies>
<!-- to get swagger definitions -->
<dependency>
@@ -42,23 +38,28 @@ language governing permissions and limitations under the License. -->
<version>1.6.0</version>
</dependency>
<dependency>
- <groupId>com.squareup.okhttp</groupId>
- <artifactId>okhttp</artifactId>
- <version>${okhttp2.version}</version>
+ <groupId>org.glassfish.jersey.core</groupId>
+ <artifactId>jersey-client</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.media</groupId>
+ <artifactId>jersey-media-json-jackson</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.media</groupId>
+ <artifactId>jersey-media-multipart</artifactId>
</dependency>
<dependency>
- <groupId>com.squareup.okhttp</groupId>
- <artifactId>logging-interceptor</artifactId>
- <version>${okhttp2.version}</version>
+ <groupId>com.fasterxml.jackson.core</groupId>
+ <artifactId>jackson-databind</artifactId>
</dependency>
<dependency>
- <groupId>com.google.code.gson</groupId>
- <artifactId>gson</artifactId>
+ <groupId>com.fasterxml.jackson.jaxrs</groupId>
+ <artifactId>jackson-jaxrs-json-provider</artifactId>
</dependency>
<dependency>
- <groupId>joda-time</groupId>
- <artifactId>joda-time</artifactId>
- <version>2.8.2</version>
+ <groupId>com.fasterxml.jackson.datatype</groupId>
+ <artifactId>jackson-datatype-jsr310</artifactId>
</dependency>
</dependencies>
@@ -83,7 +84,7 @@ language governing permissions and limitations under the License. -->
<plugin>
<groupId>io.swagger</groupId>
<artifactId>swagger-codegen-maven-plugin</artifactId>
- <version>2.2.2</version>
+ <version>2.4.27</version>
<executions>
<execution>
<goals>
@@ -100,6 +101,8 @@ language governing permissions and limitations under the License. -->
<apiPackage>org.apache.nifi.api.toolkit.api</apiPackage>
<modelPackage>org.apache.nifi.api.toolkit.model</modelPackage>
<httpUserAgent>apache-nifi-api-toolkit-agent</httpUserAgent>
+ <library>jersey2</library>
+ <dateLibrary>java8</dateLibrary>
</configOptions>
</configuration>
</execution>
