Skip to content
Discussion options

You must be logged in to vote

maven manager only resolves <parent> poms that exist in the repo (via relativePath); it doesn't fetch remote parents like spring-boot-dependencies. So the jackson-bom import in the parent is never seen, and your jackson-bom.version override isn't tied to any dependency. That's why adding the import to your own pom makes it work.

Your options are to keep the explicit import in your pom, or to add a regex custom manager that targets the property:

{
  "customManagers": [
    {
      "customType": "regex",
      "managerFilePatterns": ["/(^|/)pom\\.xml$/"],
      "matchStrings": ["<jackson-bom\\.version>(?<currentValue>[^<]+)</jackson-bom\\.version>"],
      "depNameTemplate": "tools.jackson:…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by RahulGautamSingh
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants