The workflow currently produces the following error.
Error: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project api: Fatal error compiling: invalid target release: 11 -> [Help 1]
Upgrade deprecated GitHub Actions runner to ubuntu-latest.
"Deprecation will begin on 2022/08/08 and the image will be fully unsupported by 2023/04/01"
The ubuntu-18.04 environment is deprecated, consider switching to ubuntu-20.04(ubuntu-latest), or ubuntu-22.04 instead. For more details seehttps://github.com/actions/runner-images/issues/6002
Use JDK 11 for Maven Snapshot Release Workflow.
The workflow currently produces the following error.
Error: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project api: Fatal error compiling: invalid target release: 11 -> [Help 1]
Upgrade deprecated GitHub Actions runner to ubuntu-latest. "Deprecation will begin on 2022/08/08 and the image will be fully unsupported by 2023/04/01"
The ubuntu-18.04 environment is deprecated, consider switching to ubuntu-20.04(ubuntu-latest), or ubuntu-22.04 instead. For more details see
https://github.com/actions/runner-images/issues/6002