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

Serverless workflow extension should include the `quarkus-jackson-rest` lib

    XMLWordPrintable

Details

    • False
    • False
    • Hide

      $ export quarkus_version=2.5.0.Final

      $ mvn  io.quarkus:quarkus-maven-plugin:"${quarkus_version}":create -DprojectGroupId=$PROJECT_GROUP_ID -DprojectArtifactId=$PROJECT_ARTIFACT_ID -DprojectVersion=$PROJECT_VERSION -Dextensions="kogito,quarkus-smallrye-health,quarkus-smallrye-openapi"

      $ cd code-with-quarkus

      $ mvn io.quarkus:quarkus-maven-plugin:"${quarkus_version}":add-extension -Dextensions="org.kie.kogito:kogito-quarkus-serverless-workflow"

      $ mvn clean package

      Show
      $ export quarkus_version=2.5.0.Final $ mvn  io.quarkus:quarkus-maven-plugin:"${quarkus_version}":create -DprojectGroupId=$PROJECT_GROUP_ID -DprojectArtifactId=$PROJECT_ARTIFACT_ID -DprojectVersion=$PROJECT_VERSION -Dextensions="kogito,quarkus-smallrye-health,quarkus-smallrye-openapi" $ cd code-with-quarkus $ mvn io.quarkus:quarkus-maven-plugin:"${quarkus_version}":add-extension -Dextensions="org.kie.kogito:kogito-quarkus-serverless-workflow" $ mvn clean package
    • 2021 Week 46-48 (from Nov 15)

    Description

      Due to the removal of jackson-rest by default, this is no more a transitive dependency and it needs to be added to the serveless workflow extension.

      [ERROR] Failed to execute goal io.quarkus.platform:quarkus-maven-plugin:2.5.0.Final:build (default) on project code-with-quarkus: Failed to build quarkus application: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
      [ERROR]     [error]: Build step org.kie.kogito.quarkus.common.deployment.KogitoAssetsProcessor#generateModel threw an exception: org.kie.kogito.quarkus.common.deployment.MissingRestCapabilityException: No REST capability detected! 
      [ERROR] Add the RestEasy extension if you want Kogito to generate REST endpoints automatically. 
      [ERROR] RestEasy Reactive extension is currently not supported: see https://issues.redhat.com/browse/KOGITO-6131 
      [ERROR] You may also disable automated REST generation by setting `kogito.generate.rest = false`. 
      [ERROR] You may also override this notice by setting `kogito.generate.rest = true` 
      

      Attachments

        Activity

          People

            rhn-support-zanini Ricardo Zanini Fernandes
            tradisso@redhat.com Tristan Radisson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: