Repository navigation
Backport Grails Bom Restructure from Hibernate 7 branch - #15605
Conversation
…er to ensure we pick the right bom version
…a consistent version
…d cause API breakage (we don't want to force this on other grails apps)
|
For micronaut, given that we have an open ticket on the netty incompatibilties, I just added a "skip" option for validation to those projects. (I don't want to pull in tomcat 11 in spring 3.x, netty 4.2.x, etc) |
|
I forgot to pull forward the forge changes, will do that later today |
…ring boot updates
|
i tried several solutions for micronaut, but the only one that i can find that works reliably is a dedicated bom. Otherwise users have to override manually |
|
I opened: To fix the version resolution logic that I put in PublishPlugin. Once those are merged, that logic can be removed. |
jamesfredley
left a comment
There was a problem hiding this comment.
BOM_PROJECT_NAMES = ['grails-bom', 'grails-gradle-bom'] is missing the new BOMs
File: GrailsDependencyValidatorPlugin.groovy:57
sbglasius
left a comment
There was a problem hiding this comment.
Looks good to me.
Not sure I understood all the gradle logic though. 😉
… support Spring 3.5
🚨 TestLens detected 1 failed tests 🚨Here is what you can do:
Test Summary
🏷️ Commit: caa7473 Test FailureUserControllerSpec > User list (:grails-test-examples-scaffolding:integrationTest in CI / Functional Tests (25))Muted TestsNote Checks are currently running using the configuration below. Select tests to mute in this pull request: 🔲 UserControllerSpec > User list Reuse successful test results: 🔲 ♻️ Only rerun the tests that failed or were muted before Click the checkbox to trigger a rerun: 🔲 Rerun jobs Learn more about TestLens at testlens.app. |
One of the critical changes I added in the Hibernate 7 branch was a restructuring of the bom. As part of this, it's now possible to use the bom and set the hibernate5 version correctly. Given the size of the hibernate7 branch, I decided to split this off. Upon further investigation, I found dependency mismatches from the Spring Boot update so I decided to back port this all the way to 7.0.x.
Note: I had to "duplicate" the grails-bom & grails-hibernate5-bom definitions because inheriting doesn't allow Gradle to resolve the same way. I could publish 2 project names from grails-hibernate5-bom but I chose to just duplicate instead.
@matrei @jamesfredley given that these versions are mismatching after the recent boot update, I think we have to backport this. I view this change as a bug fix since it makes the bom work like you would expect. I want to commit to 7.0.x, and merge all the way up. Then we can also take advantage of this in the graphql & other PRs. Also, it will reduce the scope of the hibernate 7 PR that has to be reviewed.