-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Fix conditional dependency resolution when runtime-deployment dependencies are not mirrored #44666
Fix conditional dependency resolution when runtime-deployment dependencies are not mirrored #44666
Conversation
dependencies are not mirrored
🙈 The PR is closed and the preview is expired. |
Status for workflow
|
@Override | ||
protected BootstrapAppModelResolver newAppModelResolver(LocalProject currentProject) throws Exception { | ||
var resolver = super.newAppModelResolver(currentProject); | ||
// resolver.setIncubatingModelResolver(true); |
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.
Is this commented out code needed? The same applies to a few more places in the PR
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.
There is a global switch to enable the incubating impl but it's more convenient to do it this way when testing in an IDE. I can remove it in a couple of subsequent PRs (on the way).
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.
Okay, thanks
deps.add(dep); | ||
} else { | ||
deps.add(dep); | ||
Collections.rotate(deps, 1); |
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.
TIL :)
Fixes an issue reported in https://quarkusio.zulipchat.com/#narrow/channel/187038-dev/topic/conditional.20dependency.20with.20multiple.20layer.20of.20dependency/near/482870695
Tests included.
Also includes doc adjustments in the second commit pointed out in #44424