mimaison opened a new pull request, #14464:
URL: https://github.com/apache/kafka/pull/14464

   We bumped the `swagger-gradle-plugin` version in 
https://github.com/apache/kafka/commit/d1ad1d7b7013ea2c24a3f71c485a2a914adf1348
   
   This breaks the `genConnectOpenAPIDocs` task:
   ```
   > Task :connect:runtime:genConnectOpenAPIDocs FAILED
   
   FAILURE: Build failed with an exception.
   
   * What went wrong:
   Execution failed for task ':connect:runtime:genConnectOpenAPIDocs'.
   > 
io.swagger.v3.jaxrs2.integration.SwaggerLoader.setSkipResolveAppPath(java.lang.Boolean)
   ```
   
   We've had a similar [breakage](https://github.com/apache/kafka/pull/13387) 
in the past when `swagger-gradle-plugin` and 
`swaggerAnnotations`/`swaggerJaxrs2` used different versions. 
   
   As far as I can tell `swaggerAnnotations` and `swaggerJaxrs2` are stuck with 
2.2.8 as it's the last version that supports Java 8. I get the build working 
using `swagger-gradle-plugin` 2.2.10 but it's probably safer, at least for now, 
to keep these versions aligned.
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to