Closed
Description
Description
jaxrs-cxf-cdi sample has following dependency
<dependency>
<groupId>com.fasterxml.jackson.jaxrs</groupId>
<artifactId>jackson-jaxrs-json-provider</artifactId>
<version>[2.8.3,3)</version>
</dependency>
In last version of this dependency 2.12.2 sub-artifact jackson-annotations
not included. This leads to jaxrs-cxf-cdi
compilation error and ruin all builds on CircleCI (1, 2 and a lot of others)
[ERROR] COMPILATION ERROR :
[ERROR] /home/circleci/OpenAPITools/openapi-generator/samples/server/petstore/jaxrs-cxf-cdi/src/gen/java/org/openapitools/model/ModelApiResponse.java:[3,40] package com.fasterxml.jackson.annotation does not exist
[ERROR] /home/circleci/OpenAPITools/openapi-generator/samples/server/petstore/jaxrs-cxf-cdi/src/gen/java/org/openapitools/model/ModelApiResponse.java:[4,40] package com.fasterxml.jackson.annotation does not exist
...
openapi-generator version
openapi-generator 5.0.1
jackson-jaxrs-json-provider 2.12.2
Steps to reproduce
Run mvn clean install
under jaxrs-cxf-cdi
Suggest a fix
Use dependency up to 2.12.1
<dependency>
<groupId>com.fasterxml.jackson.jaxrs</groupId>
<artifactId>jackson-jaxrs-json-provider</artifactId>
<version>[2.8.3,2.12.1]</version>
</dependency>