Maven dependencies with a name referencing a property of a parent are not identified #21510
gaeljw
started this conversation in
Suggest an Idea
Replies: 2 comments 6 replies
-
The reproduction repo doesn't seem to be doing anything. Per the logs, it was empty when it was installed, so was disabled in the backend. Try pushing a |
Beta Was this translation helpful? Give feedback.
6 replies
-
For the record, duplicated issue and discussion: #14670, #24875 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Type of discussion.
I just want to chat
Tell us more.
Using Maven as package manager and having dependencies where the
artifactId
includes a variable from a Maven parent POM are not getting renovated.For instance, in the parent:
And the project to be renovated:
No upgrades are suggested for
cucumber-scala_2.12
even though many exist: https://mvnrepository.com/artifact/io.cucumber/cucumber-scala_2.12.Reproduction repository: https://github.com/gaeljw/renovate-maven-bug (with a different parent and dependency as in my case these are private projects).
In logs, we can see that no updates are detected for this dependency with the reason
name-placeholder
:Whereas if not using variables in the name, it works fine.
The reproduction repository also contains other variants that do work as long as the property is in the same file.
Beta Was this translation helpful? Give feedback.
All reactions