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

Fix for issue #323: using version range if currentVersion is not available for DependencyUpdatesXmlRenderer #653

Merged
merged 1 commit into from Aug 26, 2022

Conversation

jarmoniuk
Copy link
Contributor

DependencyUpdatesXmlRenderer::getVersionsBlocks is used for both dependency and plugins xml report blocks. While the html renderer uses the version as specified in the Dependency class (which is a range if there's no current version specified), the XML renderer only uses an ArtifactVersions object.

In this PR I'm mimicking the behaviour of the HTML renderer in that regard, i.e. using the range if a concrete version is not given.

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.

NullPointerException in DependencyUpdatesXmlRenderer.getVersionsBlocks with version ranges
2 participants