-
Notifications
You must be signed in to change notification settings - Fork 82
Sync dependencies with odlparent 14.0.9 #2229
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
Merged
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This update changes the
com.puppycrawl.tools:checkstyleversion (used as a dependency bymaven-checkstyle-plugin) to10.23.0. This version aligns with what is specified inodlparent 14.0.9, which is good.However, there's a nuance regarding the comment on the preceding line (194):
<!-- This should match the dependency management on com.puppycrawl.tools:checkstyle above -->.Currently, the project imports
org.opendaylight.odlparent:odlparent:pom:14.0.8(inlighty-core/dependency-versions/pom.xml), which managescom.puppycrawl.tools:checkstyleat version10.21.4.By explicitly setting the version here to
10.23.0, you are correctly using the newer version intended byodlparent 14.0.9, but it means this version overrides the (older) managed version. This makes the comment on line 194 potentially less clear or accurate if "dependency management above" refers to the effective managed version from the14.0.8BOM.For full consistency and to ensure the project truly syncs with
odlparent 14.0.9:org.opendaylight.odlparent:odlparentBOM import inlighty-core/dependency-versions/pom.xmlshould be updated to14.0.9(as highlighted in the general PR feedback).com.puppycrawl.tools:checkstyleis managed at10.23.0by default, making the comment on line 194 accurate without needing an explicit version here (or this explicit version would match the new managed version).org.opendaylight.odlparent:checkstyleartifact dependency (currently on line 205, version14.0.8) should be updated to14.0.9to use the checkstyle rules corresponding toodlparent 14.0.9.While this specific version change to
10.23.0is correct in isolation for the tool, the broader context of theodlparentsynchronization (especially updating the main BOM import) is crucial.