-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[enhancement]: Support Java21 in Maven-Build task #19131
Comments
Hi @szczepad, thanks for the feedback! We'll try to add a new version in the future once we have enough time. |
Hi I have this issue today, Java 21 not installed on Azure DevOps pipeline.
|
Hi team, Any idea on when might this feature get pushed? |
Hello, is there any update on this feature? |
Really appreciate it if this can be looked at |
Hi team, Any reason these issues don't get any attention? |
Looking forward to this being resolved. |
Looks like it's already implemented in current version, but not yet documented.
|
@DmitriiBobreshev would you confirm this for us, please? |
Tried this and it seems to work. Only caveat being that JaCoCo's code coverage seems to be broken so we can't use this just yet.
|
#19400 bumps jacoco to 0.8.11 in task Maven@4, making it compatible with Java 21. Also asking for this feature please. |
We also have an issue with jacoco not working with java 21 with the Maven@4 task. |
@JWATSU The PR Fradantim mentioned was only merged 19 hours ago. |
@Heatmanofurioso #19400 was merged on Dec 20, 2023, jwatsu has to use Maven@4 instead of Maven@3 |
@Heatmanofurioso @Fradantim I use Maven@4 but the Jacoco version still isn't updated. Might it be because we are using Azure DevOps Server and it's lagging behind? How can we check this? |
@Fradantim I understood that he's using Maven@4. @JWATSU We're using it as well, hence my questions. According to their release notes, it isn't there yet. |
@JWATSU jacoco v0.8.11 for Java 21 is available in Maven >=4.234.0. |
I'm also affected, there is no java21 option available :( |
@ivanduplenskikh I'm experiencing the same issue. In Azure DevOps, there is no option to specify the exact version, like 4.234.0. It just lets you select 4.x, 3.x, 2.x or 1.x. I have selected 4.x, but the option to select JDK 21 is still not there, and the latest one shown is JDK 17. I have to select "default" to use JDK 21, which is fine for now, but when another JDK version is released in the future it will automatically switch to use that one, which is not desired. |
Task name
Maven
Describe your feature request here
As Java 21 is now released as LTS the Maven task should support that version. The last supported version seems to be Java 17.
Additionally it might be an idea to not have the possible versions defined as a list, as this requires updates every time a new version is released.
The text was updated successfully, but these errors were encountered: