How to run Maven 3 + Java 21 in Bitbucket pipline? - Stack Overflow

The Bitbucket YAML file we are given has this:image: maven:3-openjdk-17But we need Maven with Java

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

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744780783a4593325.html

相关推荐

  • How to run Maven 3 + Java 21 in Bitbucket pipline? - Stack Overflow

    The Bitbucket YAML file we are given has this:image: maven:3-openjdk-17But we need Maven with Java

    12小时前
    40

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信