Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-7971

Kogito smallrye-open-api dependencies in conflict for Quarkus LTS

XMLWordPrintable

      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 

              rhn-support-zanini Ricardo Zanini
              jstastny@redhat.com Jan Stastny
              Marian Macik Marian Macik
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: