-
Task
-
Resolution: Done
-
Blocker
-
None
-
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)
- relates to
-
SRVLOGIC-612 Maven wrapper download timeouts for image running in disconnected cluster
-
- ON_QA
-