feat: ensure maven 3.9 - #169
Conversation
| microdnf -y module reset maven \ | ||
| && microdnf -y module enable maven:3.9 \ |
There was a problem hiding this comment.
ubi10 upgrades the default to Maven 3.9: https://gitlab.com/redhat/centos-stream/rpms/maven/-/blob/c10s/maven.spec?ref_type=heads#L9
terrytangyuan
left a comment
There was a problem hiding this comment.
Could you update the PR description and address the comment from Adam?
93297dc to
a8f2207
Compare
|
For now, I think it is better to stay with UBI9, while trying UBI10 a few issues were found, including: The Maven's ASM dependency is unbundled and missing RHEL 10's So Maven fails to inject any plugin compiled with Java 17+ bytecode (e.g., Root cause: The package exists in CentOS Stream 10 AppStream ( This is effectively a packaging bug — Maven is broken out of the box on UBI 10 for any plugin requiring bytecode scanning. |
Signed-off-by: Spolti <fspolti@redhat.com>
Submitted this to RHEL for further investigation: https://issues.redhat.com/browse/RHEL-154034 |
|
@adambkaplan @terrytangyuan can we go with ubi9 for now? |
|
Yes |
It is bundled but the bytecode-version-handling code not been kept up-to-date. |
Motivation
Modifications
Result