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

S2I build failure if Kogito runner is packed as uberjar

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 0.9.0
    • Fix Version/s: 0.9.1, 0.10.0
    • Component/s: Image
    • Labels:
      None

      Description

      If Kogito quarkus non native application enables uberJar in quarkus-maven-plugin then quarkus S2I build fails with error:

      --> Copying application libraries
      cp: cannot stat 'target/lib/': No such file or directory
      subprocess exited with status 1
      subprocess exited with status 1
      error: build error: error building at STEP "RUN /usr/local/s2i/assemble": exit status 1
      

      It is caused by S2I scripts expecting lib folder, while uberJar configuration in quarkus-maven-plugin skips creation of this folder as all dependencies are already placed in jar itself.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ksuta Karel Suta
              Reporter:
              ksuta Karel Suta
              Tester:
              Tristan Radisson Tristan Radisson
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: