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
1 Answer
Reset to default 0Solution was this:
image: maven:3-amazoncorretto-21
Looks like openjdk stops at 17
本文标签: How to run Maven 3Java 21 in Bitbucket piplineStack Overflow
版权声明:本文标题:How to run Maven 3 + Java 21 in Bitbucket pipline? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744780782a2624698.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论