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

Fix maven wrapper download in OSL swf-builder and swf-devmode images

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Blocker Blocker
    • 1.36.0
    • None
    • Cloud:Images
    • None

      After migration to Quarkus 3.15.3 it is required to use mvn 3.8.6 or greater but rhel8/rhel9 has mvn 3.8.5 as the newer available version.

      So in upstream it was changed to install mvnw (wrapper) for mvn 3.8.6, see PR https://github.com/apache/incubator-kie-tools/pull/2892. The problem is that it downloads mvnw from central during the build, but OSBS does not allow that - which breaks the prod builds for builder and devmode images.

      As the mvnw is really small, a possible solution is to include it in kubesmarts/kie-tools midstream and copy it inside the image instead of downloading it from maven central.

      Note that this can be reverted in the future when there is newer maven available on rhel or when -DnoMavenVersionCheck flag is available (see https://github.com/quarkusio/quarkus/issues/46105)

              rguimara Roberto Oliveira
              rguimara Roberto Oliveira
              Jakub Schwan Jakub Schwan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: