HHH-12525 Allow JBoss module definition to eventually import an Infinispan 2LC module
This commit is contained in:
parent
898667772c
commit
89b8bb5372
|
@ -72,6 +72,7 @@ featurepack {
|
|||
// Just the minor ORM version, e.g. "5.3"; Is used as an alias for the exact version
|
||||
variables['minorSlot'] = rootProject.hibernateMajorMinorVersion
|
||||
variables['bytebuddySlot'] = bytebuddyVersion
|
||||
variables['infinispan2lcSlot'] = 'for-orm-' + rootProject.hibernateMajorMinorVersion
|
||||
//Dependency on another Feature Pack:
|
||||
dependency "org.wildfly:wildfly-feature-pack:${project.wildflyVersion}" // It will assume it is "zip" by default
|
||||
//Ensure we declare all source repositories explicitly
|
||||
|
|
|
@ -30,8 +30,6 @@
|
|||
<module name="org.hibernate.commons-annotations"/>
|
||||
<module name="org.hibernate.orm.jipijapa-hibernate5" services="import" slot="${slot}"/>
|
||||
<module name="net.bytebuddy" slot="${bytebuddySlot}" />
|
||||
<!-- need an ORM 5.3 slot version of this service created
|
||||
<module name="org.infinispan.hibernate-cache" services="import" optional="true"/>
|
||||
-->
|
||||
<module name="org.infinispan.hibernate-cache" services="import" optional="true" slot="${infinispan2lcSlot}"/>
|
||||
</dependencies>
|
||||
</module>
|
||||
|
|
|
@ -29,8 +29,6 @@
|
|||
<module name="org.jboss.vfs"/>
|
||||
<module name="org.hibernate.commons-annotations"/>
|
||||
<module name="org.infinispan" services="import"/>
|
||||
<!-- need an ORM 5.3 slot version of this service created
|
||||
<module name="org.infinispan.hibernate-cache" services="import"/>
|
||||
-->
|
||||
<module name="org.infinispan.hibernate-cache" services="import" optional="true" slot="${infinispan2lcSlot}"/>
|
||||
</dependencies>
|
||||
</module>
|
||||
|
|
Loading…
Reference in New Issue