-
Bug
-
Resolution: Done
-
Blocker
-
1.27.0.Final
-
False
-
None
-
False
-
- checkout 1.27.x branch
- mvn dependency:tree -Dversion.io.quarkus=2.7.6.Final | grep smallrye-open-api
-
---
-
---
Quarkus LTS (2.7) manages versions of smallrye-open-api dependencies at 2.1.22 version.
In kogito-dependencies-bom we override the version of io.smallrye:smallrye-open-api-core to 2.2.0, which leads to compatibility issues because of the change of operator signature between smallrye 2.1 and 2.2 versions ([1] and [2]).
The ultimate failure shows as
[error]: Build step io.quarkus.smallrye.openapi.deployment.SmallRyeOpenApiProcessor#build threw an exception: java.lang.NoSuchMethodError: 'void io.smallrye.openapi.runtime.scanner.spi.AbstractParameterProcessor.<init>(io.smallrye.openapi.runtime.scanner.spi.AnnotationScannerContext, java.util.function.Function, java.util.List)'
in several modules of kogito-runtimes, e.g. kogito-quarkus-processes-integration-test
[1] https://github.com/smallrye/smallrye-open-api/blob/2.1.x/core/src/main/java/io/smallrye/openapi/runtime/scanner/spi/AbstractParameterProcessor.java#L223
[2] https://github.com/smallrye/smallrye-open-api/blob/2.2.x/core/src/main/java/io/smallrye/openapi/runtime/scanner/spi/AbstractParameterProcessor.java#L223