-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Upgrade RESTEasy from 4.6.1.Final to 4.7.0.Final #18623
Conversation
Thanks for your pull request! The title of your pull request does not follow our editorial rules. Could you have a look?
|
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.
Thanks. I added a small comment.
bom/application/pom.xml
Outdated
<version>${resteasy.version}</version> | ||
<type>pom</type> | ||
<scope>import</scope> | ||
</dependency> |
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.
Why did you move the BOM? The BOM order is important so I wouldn't move it except if we have a good reason.
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 was a conflict with the version of Vert.x the RESTEasy BOM was importing. It was causing compile errors. I just moved it below the Vert.x import.
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.
Why is the RESTEasy BOM including a version of Vert.x? This doesn't seem like a normal behavior.
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.
RESTEasy has a Vert.x module (that is different to the Vert.x support we provide).
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.
Yes sure but it shouldn't include a version for Vert.x artifacts.
I put the BOM back where it was and I don't have any compilation issue.
I'll push to a branch in my fork to see what CI has to say.
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.
Also I made a diff of the effective POM and there's no difference except for the position. BOMs are a sensible matter so I prefer not changing it if we can avoid it.
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.
Let's sort out this ordering issue before thinking about merging this PR.
This workflow status is outdated as a new workflow run has been triggered. Failing Jobs - Building 91e2237
Full information is available in the Build summary check run. Test Failures⚙️ JVM Tests - JDK 11 Windows #📦 extensions/arc/deployment✖ |
I'm not too sure what could be done to sort it out short of using the same version of Vert.x in Quarkus and RESTEasy. Even then it just hides it until it diverges again. |
@jamezp the RESTEasy BOM doesn't enforce any Vert.x version AFAICS so it shouldn't change anything. And indeed, I moved it back and it doesn't change anything. I pushed the old order to CI, let's see how it goes. |
@gsmet I think that's because of this fix https://github.com/resteasy/Resteasy/pull/2856/files#diff-804f7d09a86dc42c94770466e216189fa8816942d41764cb4d31a69b2013f37dR30-R31. If you use 4.7.0.Beta1 which doesn't include that and uses Vert.x 4.0.3 you'll see a compile error in I will admittedly do not understand how the Anyway whatever you prefer. If an upgrade to Vert.x breaks it in the future we'll know how to fix it :) |
bom/application/pom.xml
Outdated
@@ -256,6 +256,7 @@ | |||
|
|||
<!-- RESTEasy dependencies, imported as a BOM --> | |||
<!-- As RESTEasy also imports Jackson, we need to import its BOM after the Jackson BOM --> | |||
<!-- As RESTEasy also imports Vert.x transitively, we need to import its BOM after the Vert.x BOM --> |
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.
This could be removed now since we didn't move the import.
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.
Yeah, I'll clean everything if I can get CI to pass. If not I'll dig a bit more.
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.
Things are looking good. I squashed the commits.
This workflow status is outdated as a new workflow run has been triggered. 🚫 This workflow run has been cancelled. Failing Jobs - Building c244733
|
CI is happy, so let's merge. I'll follow up with re-enabling those rest-client TCK tests that had to be disabled for Java 16. |
Resolves #18622