Uploaded image for project: 'Serverless logic'
  1. Serverless logic
  2. SRVLOGIC-325

Wrong version sonataflow-quarkus-devui in Quarkus KN CLI plugin project

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 1.33.0
    • None
    • Cloud:CLI
    • None
    • False
    • None
    • False
    • Hide
      1. Create a Quarkus project by "kn quarkus create --name my_project"
      2. Enter the directory "cd my_project"
      3. Run the quarkus project by "kn quarkus run"
      4. Expected result: The project should be started and the dev ui opened.
      5. Current result: There is an error about non existing dependency.
      Show
      Create a Quarkus project by "kn quarkus create --name my_project" Enter the directory "cd my_project" Run the quarkus project by "kn quarkus run" Expected result: The project should be started and the dev ui opened. Current result: There is an error about non existing dependency.

      There is a wrong version of sonataflow-quarkus-devui dependency in Quarkus KN CLI plugin project.

      <groupId>org.apache.kie.sonataflow</groupId>
      <artifactId>sonataflow-quarkus-devui</artifactId>
      <version>1.33.0</version>
      

      After running "kn quarkus run", exception is thrown:

      kn quarkus run
      ✅ Checking dependencies...
       - Java version check.
       - Maven version check.
      🛠️ Starting your Quarkus SonataFlow in dev mode...
      [INFO] Scanning for projects...
      [INFO] 
      [INFO] ----------------------------< org.acme:aaa >----------------------------
      [INFO] Building aaa 1.0.0-SNAPSHOT
      [INFO]   from pom.xml
      [INFO] --------------------------------[ jar ]---------------------------------
      [WARNING] The POM for org.apache.kie.sonataflow:sonataflow-quarkus-devui:jar:1.33.0 is missing, no dependency information available
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time:  1.691 s
      [INFO] Finished at: 2024-06-07T13:45:45+02:00
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal on project aaa: Could not resolve dependencies for project org.acme:aaa:jar:1.0.0-SNAPSHOT: The following artifacts could not be resolved: org.apache.kie.sonataflow:sonataflow-quarkus-devui:jar:1.33.0 (absent): org.apache.kie.sonataflow:sonataflow-quarkus-devui:jar:1.33.0 was not found in https://bxms-qe.rhev-ci-vms.eng.rdu2.redhat.com:8443/nexus/content/groups/public/ during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of mirror-central has elapsed or updates are forced -> [Help 1]
      [ERROR] 
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR] 
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
      ERROR: something went wrong during command "mvn quarkus:dev"
      

              rguimara Roberto Oliveira
              tdavid@redhat.com Tomas David
              Tomas David Tomas David
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: