-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
feat(datasource/maven): Use relocation information #32636
base: main
Are you sure you want to change the base?
feat(datasource/maven): Use relocation information #32636
Conversation
relocation.valueWithPath('artifactId') ?? dependency.name; | ||
result.replacementName = relocationGroup + ':' + relocationName; | ||
const relocationVersion = relocation.valueWithPath('version'); | ||
result.replacementVersion = relocationVersion ?? version; |
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.
skip version, do not set if not defined
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.
It would be wrong, if the version will not be set.
The documentation says the following:
If any of the values are omitted, it is assumed to be the same as it was before.
This is the maven datasource part of #32550