Skip to content
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

Merged

Conversation

aloubyansky
Copy link
Member

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

@quarkus-bot quarkus-bot bot added area/core area/devtools Issues/PR related to maven, gradle, platform and cli tooling/plugins area/documentation labels Nov 22, 2024
@aloubyansky aloubyansky changed the title Amazon services conditional dep Fix conditional dependency resolution when runtime-deployment dependencies are not mirrored Nov 22, 2024
Copy link

github-actions bot commented Nov 22, 2024

🙈 The PR is closed and the preview is expired.

Copy link

quarkus-bot bot commented Nov 22, 2024

Status for workflow Quarkus Documentation CI

This is the status report for running Quarkus Documentation CI on commit 5e9bef3.

✅ The latest workflow run for the pull request has completed successfully.

It should be safe to merge provided you have a look at the other checks in the summary.

Warning

There are other workflow runs running, you probably need to wait for their status before merging.

@Override
protected BootstrapAppModelResolver newAppModelResolver(LocalProject currentProject) throws Exception {
var resolver = super.newAppModelResolver(currentProject);
// resolver.setIncubatingModelResolver(true);
Copy link
Contributor

@geoand geoand Nov 25, 2024

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

Copy link
Member Author

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).

Copy link
Contributor

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);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TIL :)

@aloubyansky aloubyansky merged commit 192a870 into quarkusio:main Nov 25, 2024
55 checks passed
@quarkus-bot quarkus-bot bot added this to the 3.18 - main milestone Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/core area/devtools Issues/PR related to maven, gradle, platform and cli tooling/plugins area/documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants