-
Notifications
You must be signed in to change notification settings - Fork 91
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 Build fails if quarkus-oidc-client is not in the classpath #829
Conversation
@ricardozanini I managed to reproduce it by not using the parent for this new integration test |
07a8381
to
901a5db
Compare
@@ -61,6 +64,10 @@ void additionalBean( | |||
Capabilities capabilities, | |||
BuildProducer<AdditionalBeanBuildItem> producer) { | |||
|
|||
if (!isClassPresentAtRuntime(ABSTRACT_TOKEN_PRODUCER)) { |
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.
the oidc client does not declare any capability, I need to use this as a fallback
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.
not sure why it is not able to find the parent pom on the CI, I got it to work on my machine |
Are you running:
From the root? I think mvn is trying to find the relative path from there given the |
As requested here: quarkiverse/quarkus-openapi-generator#829 (review) (cherry picked from commit deefc68)
hey @ricardozanini I finally got some time to work on this. Of course, I had to nuke my m2 folder to reproduce the relative path error, that's why I was not able to see it on my machine. |
if you want to merge this now I can provide a new PR once the new release is out ! |
@rmanibus, we can merge this now, release it (because the main is somewhat broken), and backport it to the new-to-be LTS branch. WDYT? |
@ricardozanini FYI, we can use the backport-pr workflow to backport it to other branches. |
…#840) Co-authored-by: Loïc Hermann <[email protected]>
As requested here: quarkiverse/quarkus-openapi-generator#829 (review) (cherry picked from commit deefc68)
As requested here: quarkiverse/quarkus-openapi-generator#829 (review) (cherry picked from commit deefc68)
Fix #824
Many thanks for submitting your Pull Request ❤️!
Please make sure that your PR meets the following requirements:
[0.9.x] Subject
How to backport a pull request to a different branch?
In order to automatically create a backporting pull request please add one or more labels having the following format
backport-<branch-name>
, where<branch-name>
is the name of the branch where the pull request must be backported to (e.g.,backport-quarkus2
to backport the original PR to thequarkus2
branch).Once the original pull request is successfully merged, the automated action will create one backporting pull request per each label (with the previous format) that has been added.
If something goes wrong, the author will be notified and at this point a manual backporting is needed.