Skip to content
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

Resolves#1066: Fixed a possible NPE in interpolateVersion #1166

Merged
merged 1 commit into from
Oct 27, 2024

Conversation

andrzejj0
Copy link
Contributor

There is a possible NPE if a depden… dencyManagement entry has no version.

Added a couple unit tests to interpolateVersion.
interpolateVersion does not mutate the dependency anymore but returns a modified copy if it needs to modify it.

…dencyManagement entry has no version.

Added a couple unit tests to interpolateVersion.
interpolateVersion does not mutate the dependency anymore but returns a modified copy if it needs to modify it.
@andrzejj0 andrzejj0 added the bug label Oct 26, 2024
@andrzejj0 andrzejj0 added this to the next-release milestone Oct 26, 2024
@andrzejj0 andrzejj0 linked an issue Oct 26, 2024 that may be closed by this pull request
@andrzejj0 andrzejj0 merged commit 9dd0035 into mojohaus:master Oct 27, 2024
26 checks passed
@andrzejj0 andrzejj0 deleted the npe-interpolate-version branch October 27, 2024 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NPE in MavenProjectUtils::interpolateVersion
2 participants