Tusc0R opened a new issue, #15942:
URL: https://github.com/apache/grails-core/issues/15942

   ### Expected Behavior
   
   I want to create e new Grails application using Hibernate 7 and i am able to 
create a dependency report.
   
   ### Actual Behaviour
   
   An error occured:
   `Variant Selection Exception: 
org.gradle.internal.component.resolution.failure.exception.ConflictingConstraintsException
 caused by Resolution Failure: 
org.gradle.internal.component.resolution.failure.type.ModuleRejectedFailure
   Conflicting constraints detected: Cannot find a version of 
'io.smallrye:jandex' that satisfies the version constraints:
      Dependency path: 'root' (classpath) --> 
'org.apache.grails:grails-data-hibernate7:8.0.0-M2' (runtimeElements) --> 
'org.apache.grails.data:grails-data-hibernate7-core:8.0.0-M2' (runtimeElements) 
--> 'io.smallrye:jandex:3.2.3'
      Constraint path: 'root' (classpath) --> 
'org.apache.grails:grails-data-hibernate7:8.0.0-M2' (runtimeElements) --> 
'org.hibernate.orm:hibernate-core:7.4.1.Final' (runtimeElements) --> 
'org.hibernate.orm:hibernate-platform:7.4.1.Final' (runtimeElements) --> 
'io.smallrye:jandex:3.3.2'
      Constraint path: 'root' (classpath) --> 
'org.apache.grails:grails-data-hibernate7:8.0.0-M2' (runtimeElements) --> 
'org.apache.grails:grails-hibernate7-bom:8.0.0-M2' (runtimeElements) --> 
'io.smallrye:jandex:{strictly 3.2.3}'
   `
   Imho `grails-data-hibernate7-core` and `hibernate-platform` require 
different jandex versions strictly.
   
   ### Steps To Reproduce
   
   1. Install Grails 8.0.0-M2
   2. Create new App (`grailsw.bat create-app TestApp --profile=web`)
   3. Modify `build.gradle` (grails-data-hibernate5 -> grails-data-hibernate7)
   4. Run `gradlew.bat -i projectReport`
   
   ### Environment Information
   
   - Windows 11
   - Java amazon-corretto-21.0.11.10.1-windows-x64-jdk
   
   ### Example Application
   
   _No response_
   
   ### Version
   
   8.0.0-M2


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to