How run maven 3.9 on OpenJDK 21 ubi9 images

Solution Verified - Updated -

Issue

  • How to run maven 3.9 on OpenJDK 21 ubi9 images
  • The OpenJDK 21 ubi9 image has maven version 3.8.5 installed, released in March 2022 (3+ years old).

Environment

  • Universal Base Image (UBI)
    • 9
  • OpenJDK
  • maven

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content