knative/func

Maven Version (3.6.3) is not supported

Closed this issue · 0 comments

Hi, I got this issue when running quarkus function:

[INFO]
[INFO] --- quarkus-maven-plugin:3.2.2.Final:dev (default-cli) @ function ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:59 min
[INFO] Finished at: 2023-09-19T20:21:22+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal io.quarkus.platform:quarkus-maven-plugin:3.2.2.Final:dev (default-cli) on project function: Detected Maven Version (3.6.3)  is not supported, it must be in [3.8.2,). -> [Help 1]

It seems that we need to update the maven version in templates, accroding to maven document, 3.6.x has now reached end of life, so I think we should update to a newer version. 3.8.8 should work, but the newest is 3.9.4 (which requires jdk8).