[JIRA] (OGM-1568) Missing Wildfly Feature Pack for Hibernate 5.4
by Markus Gritsch (JIRA)
Markus Gritsch ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=5e9eef3... ) *created* an issue
Hibernate OGM ( https://hibernate.atlassian.net/browse/OGM?atlOrigin=eyJpIjoiYWY3NjExNzk5... ) / Deprecation ( https://hibernate.atlassian.net/browse/OGM-1568?atlOrigin=eyJpIjoiYWY3NjE... ) OGM-1568 ( https://hibernate.atlassian.net/browse/OGM-1568?atlOrigin=eyJpIjoiYWY3NjE... ) Missing Wildfly Feature Pack for Hibernate 5.4 ( https://hibernate.atlassian.net/browse/OGM-1568?atlOrigin=eyJpIjoiYWY3NjE... )
Issue Type: Deprecation Affects Versions: 5.4.2.Final Assignee: Unassigned Components: build, tests Created: 24/Apr/2020 05:51 AM Priority: Blocker Reporter: Markus Gritsch ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=5e9eef3... )
I tried to slowly increase the dependency version of hibernate (5.3.6.Final -> 5.4.0.Final). The primary build completes, but the wildfly feature pack build failed. I get the following runtime exception in the module hibernate-ogm-featurepack-core.
Missing module ModuleIdentifier
{name='org.hibernate', slot='5.4'}
. Module was required by [ModuleIdentifier
{name='org.hibernate.ogm', slot='5.4'}
, ModuleIdentifier
{name='org.hibernate.ogm.jipijapa', slot='5.4.2-SNAPSHOT'}
]
It is evident what the error tells, but harder to track without knowing anything about the module hibernate-ogm-jipijapa. This module has the following dependency.
<groupId>org.wildfly</groupId>
<artifactId>jipijapa-hibernate5</artifactId>
<version>$
{version.wildfly}
</version>
Looking at maven central, if there is a different version available, I found only an artifact which has a slightly different denominator, it is jipijapa-hibernate5-3.
So basically
jipijapa-hibernate5 is compatible with hibernate 5.1 (JPA 2.1) Integration and
jipijapa-hibernate5 is compatible with hibernate 5.3 (JPA 2.2) Integration.
Neither of those dependencies are working. A version that is compatible with hibernate 5.4 is not available. Maybe I miss something, but I guess due to the ongoing discussion about widlfly feature packs in hibernate-orm, respectively, the removal in 5.5 the version pack for hibernate 5.4 was not even generated in the first place when the release of hibernate was published to the maven repository. Unfortunately, I do not know how to solve this on my own. Any suggestions are welcome.
I will create a followup issue that due to the decisions made in hibernate-orm removing widlfy feature packs, any way forward is to rethink the approach for integration tests.
( https://hibernate.atlassian.net/browse/OGM-1568#add-comment?atlOrigin=eyJ... ) Add Comment ( https://hibernate.atlassian.net/browse/OGM-1568#add-comment?atlOrigin=eyJ... )
Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.... ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailN... ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100125- sha1:84eb093 )
4 years, 4 months