admin管理员组

文章数量:1392095

The Bitbucket YAML file we are given has this:

image: maven:3-openjdk-17    

But we need Maven with Java 21.

How do we go about finding this? maven:3-openjdk-21 doesn't work.

We are currently using Maven 3.9.8.

Any suggestions?

The Bitbucket YAML file we are given has this:

image: maven:3-openjdk-17    

But we need Maven with Java 21.

How do we go about finding this? maven:3-openjdk-21 doesn't work.

We are currently using Maven 3.9.8.

Any suggestions?

Share Improve this question edited Mar 11 at 19:03 jonrsharpe 122k30 gold badges268 silver badges476 bronze badges asked Mar 11 at 17:02 John LittleJohn Little 12.5k27 gold badges111 silver badges186 bronze badges 1
  • 2 A good starting point would be picking a tag that actually exists: hub.docker/_/maven/tags?name=openjdk-21 – jonrsharpe Commented Mar 11 at 19:02
Add a comment  | 

1 Answer 1

Reset to default 0

Solution was this:

image: maven:3-amazoncorretto-21

Looks like openjdk stops at 17

本文标签: How to run Maven 3Java 21 in Bitbucket piplineStack Overflow