Update maven-dependency-analyzer to support Java24#528
Merged
elharo merged 2 commits intoapache:masterfrom Jul 7, 2025
Merged
Conversation
This commit updates the analyser version which supports reading byte code generated by Java 24. Fixes apache#524
Contributor
|
Tests failed: Running post-build script: /home/runner/work/maven-dependency-plugin/maven-dependency-plugin/target/it/mdep-779-analyze-only-verbose-shows-class-names/verify.bsh |
elharo
requested changes
Jun 18, 2025
Contributor
elharo
left a comment
There was a problem hiding this comment.
mdep-779-analyze-only-verbose-shows-class-names likely needs to be updated
elharo
requested changes
Jun 18, 2025
Contributor
elharo
left a comment
There was a problem hiding this comment.
Yes, the warning is
String expected = "[WARNING] Used undeclared dependencies found:\n" +
"[WARNING] xml-apis:xml-apis:jar:1.4.01:compile\n" +
"[WARNING] class org.apache.xmlcommons.Version\n" +
"[WARNING] Unused declared dependencies found:\n" +
"[WARNING] net.java.dev.msv:xsdlib:jar:2022.7:compile";
The new version of the dependency analyzer specifically avoids warning about xml-apis:xml-apis so the upgrade does require this fix.
Member
elharo
approved these changes
Jul 7, 2025
|
@elharo Please assign appropriate label to PR according to the type of change. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

This commit updates the analyser version which supports reading byte code generated by Java 24.
Fixes #524
Following this checklist to help us incorporate your
contribution quickly and easily:
Your pull request should address just one issue, without pulling in other changes.
Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
Each commit in the pull request should have a meaningful subject line and body.
Note that commits might be squashed by a maintainer on merge.
Run
mvn verifyto make sure basic checks pass.You have run the integration tests successfully (
mvn -Prun-its verify). They build under Java 23 with some errors, but fail to build under 24.This IT test passes without the analyzer update. I'll take a look later when I have time to see if I see whats failing, tho I'm unfamiliar with both code bases.
To make clear that you license your contribution under
the Apache License Version 2.0, January 2004
you have to acknowledge this by using the following check-box.