Skip to content

Conversation

@zvigrinberg
Copy link
Contributor

Description

Sometimes XML parser parse from maven pom.xml ( effective or real pom) a full major version ( for example 1 or 2 or 3), as number instead of string, hence causing exceptions when creating purls.
on such cases, need to "stringify" the number before creating the purl.

Checklist

  • I have followed this repository's contributing guidelines.
  • I will adhere to the project's code of conduct.

Signed-off-by: Zvi Grinberg <zgrinber@redhat.com>
@zvigrinberg zvigrinberg changed the title fix: in case version is of type number , "stringify" it fix: maven - in case version is of type number , "stringify" it Nov 29, 2023
@zvigrinberg zvigrinberg merged commit 001804a into main Nov 29, 2023
@zvigrinberg zvigrinberg deleted the hotfix/bug-numeric-version branch November 29, 2023 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants