-
Notifications
You must be signed in to change notification settings - Fork 16
[Question] Large multi-module maven project with private maven repository #309
Comments
Hi @acmcelwee, as I can see, we're relying on |
@zharinov, thanks for weighing in. I updated the repo to add a FWIW, the default value of |
In all but 1 occurrence out 20, we have named the parent module with a Also, say we merge the onboarding PR, what's the worst case scenario for these 20 parent module packages? Is it simply that the job will log a warning every time it checks, and that's it? Or would it have any more visible side-effects on our repo? |
@acmcelwee sorry you had to edit 20 files with explicit |
@acmcelwee once you finish onboarding, you won’t actually see the lookup warnings except in the logs, which you never need to look at unless you want to. From a GitHub.com perspective, they’ll just be ignored for now |
Thanks @zharinov & @rarkins. I'll just move on with the warnings for our parent modules, for now. It looks like all of the warnings for the On a related note - once the initial onboarding is done, is there a way to be alerted when renovate encounters new errors/warnings like these? Basically, if we updated our config, and it somehow stopped being able to resolve things that we expect it to resolve, would we even know about it? |
@acmcelwee right now there is no way to learn of new errors/warnings, but we have plans for this. Our main plan is to introduce the concept of "criticality" of dependencies, and have the ability for Renovate to abort/stop a run if critical dependencies are not found. We do this for any deps on public repositories like npmjs or Docker Hub currently, but not for private repos. The challenge holding us back is that many users - potentially like yourself here - are OK to let certain private dependencies "fail" because everything else is looking up fine. So this new "criticality" option will instead let you opt-in to the setting for all dependencies so that you can choose for Renovate to stop and alert (e.g. via an Issue or other dashboard) that there are lookup failures. |
Thanks @zharinov + @rarkins. I think we'll just let the bot log the silent warnings for now on our parent poms. @rarkins, is that criticality concept what has been discussed in renovatebot/renovate#2263? I subscribed to that issue, but if there's a better place to track that work, please let me know, so I can watch the issue. Thanks again! |
@acmcelwee that's a good issue to follow, we may split the task up into additional issues/PRs but they should be linked from there. |
@zharinov can you make sure we also have an issue in the main Renovate repo tracking the underlying problem here, so that we can hopefully solve it one day? |
Which Renovate are you using? CLI, App, or Pro
App
Which platform are you using? GitHub, GitLab, Bitbucket Azure DevOps
GitHub
Have you checked the logs? Don't forget to include them if relevant
I have, but nothing jumps out as the configuration that I need to tweak to fix this. The most recent build is Job ID 82808594, in the Renovate Bot dashboard (https://renovatebot.com/dashboard).
What is your question?
I'm in the process of onboarding all of our company repos to Renovate, and the process has been really great so far. We have a multi-module Maven repo that we're trying to get the initial Renovate onboard PR finalized. The maven setup is a parent POM that references all of our modules, where sometimes the module referenced is, itself, an aggregating module that has its own sub-modules. None of the modules in the repo are released for consumption by other repos, so the modules are all just a
-SNAPSHOT
version, instead of doing regular releases with maven.Each of the modules directly reference in the parent POM have a reference to the parent, something like this:
Then, for example, the
renovate-demo
pom might look something like this:I have private registry authentication setup, thanks to the docs that already existed. I have a few remaining issues that I haven't been able to figure out from the documentation and logs, and I believe that they might be related to our use of a SNAPSHOT version for all of the parent POMs that we reference in the various levels:
The list goes on to list 20 of our parent modules, and it's identifying a failure to look up all of parent modules across all of our modules.
I also have the following three packages that give the same error, but they don't have the same characteristics of our failures on the parent modules:
The
aws-lambda-java-core
andaws-lambda-java-events
deps are currently on1.1.0
andaws-lambda-java-log4j
is on1.0.0
.Any thoughts on what's going on or suggestions for config updates that I might need to make?
Thanks!
The text was updated successfully, but these errors were encountered: