Maven extract fails to resolve placeholders from parent module #31004
Labels
manager:maven
Maven (Java) package manager
priority-3-medium
Default priority, "should be done" but isn't prioritised ahead of others
type:bug
Bug fix of existing functionality
Discussed in #30778
Originally posted by acote-coveo August 14, 2024
What would you like help with?
I think I found a bug
How are you running Renovate?
Self-hosted
If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.
Github
Please tell us more about your question or problem
Hi,
Renovate is skipping our maven dependencies because it is not able to resolve the placeholder within the dependency name.
I've made a reproduction example here: https://github.com/acote-coveo/renovate-bug/blob/main/README.md
Excerpt from the repro:
Project setup
The parent module define some properties (e.g: which scala version to use):
The child module leverage the parent properties to add some dependencies (e.g: json4s):
Upon running renovate, dependencies using parent properties are getting skip because renovate is not able to resolve the parent properties.
How to reproduce:
Upon running the
npx renovate
command, you should notice the following error:Logs (if relevant)
Logs
Reproduction forked to https://github.com/renovate-reproductions/30778
The text was updated successfully, but these errors were encountered: