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

S2I build failure if Kogito runner is packed as uberjar

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Done
    • 0.9.0
    • 0.9.1, 0.10.0
    • Image
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: