@@ -20,9 +20,6 @@ configurations {
2020 description = ' Configuration used to isolate the dependency on the Karaf distro'
2121 transitive = false
2222 }
23- aries {
24- description = ' Runtime dependencies for Aries for the hibernate-jpa-aries Karaf feature'
25- }
2623 hibernateEntityManager {
2724 description = ' Used in Karaf feature generation to define the Hibernate JPA dependencies'
2825 transitive = false
@@ -66,9 +63,6 @@ dependencies {
6663 }
6764
6865 karafDistro " org.apache.karaf:apache-karaf:${ karafVersion} @tar.gz"
69-
70- aries ' org.apache.aries.transaction:org.apache.aries.transaction.blueprint:1.0.0'
71- aries ' org.apache.aries.transaction:org.apache.aries.transaction.manager:1.0.1'
7266}
7367
7468mavenPom {
@@ -116,9 +110,9 @@ task generateVersionFile {
116110
117111karafFeatures {
118112 features {
119- hibernateBase {
120- name = ' hibernate-base '
121- description = ' Isolates all Hibernate core dependencies into a single feature'
113+ hibernateOrm {
114+ name = ' hibernate-orm '
115+ description = ' Combines all Hibernate core dependencies and required modules into a single feature'
122116 projects = [
123117 rootProject. childProjects. ' hibernate-core' ,
124118 rootProject. childProjects. ' hibernate-entitymanager' ,
@@ -159,31 +153,12 @@ karafFeatures {
159153 remap group : ' org.apache.servicemix.bundles' , module : ' org.apache.servicemix.bundles.dom4j' , version : ' 1.6.1_5'
160154 }
161155 }
162- hibernateNative {
163- name = ' hibernate-native'
164- description = ' Defines support for using Hibernate native APIs (SessionFactory, Session) in user applications/bundles'
165- dependencyFeatureNames = [' hibernate-base' ]
166- projects = []
167- }
168- hibernateJpa {
169- name = ' hibernate-jpa'
170- description = ' Defines support for using Hibernate JPA implementation in user applications/bundles in an unmanaged manner'
171- dependencyFeatureNames = [' hibernate-base' ]
172- projects = []
173- }
174- hibernateJpaAries {
175- name = ' hibernate-jpa-aries'
176- description = ' Defines support for using Hibernate JPA implementation in user applications/bundles in an managed manner using Aries for OSGi JPA support'
177- bundleDependencies = [project. configurations. aries]
178- dependencyFeatureNames = [' hibernate-base' ]
179- projects = []
180- }
181156 // NOTE : would like to include spatial as well, but we need to wait for
182157 // it to not define dependency on postgresql driver
183158 hibernateEnvers {
184159 name = ' hibernate-envers'
185- description = ' Feature for easily adding Envers support to hibernate-native, hibernate-jpa or hibernate-jpa-aries '
186- dependencyFeatureNames = [' hibernate-base ' ]
160+ description = ' Feature for easily adding Envers support to hibernate-orm '
161+ dependencyFeatureNames = [' hibernate-orm ' ]
187162 projects = [rootProject. childProjects. ' hibernate-envers' ]
188163 bundle {
189164 match group : ' org.hibernate' , module : ' hibernate-core'
@@ -212,8 +187,8 @@ karafFeatures {
212187 }
213188 hibernateInfinispan {
214189 name = ' hibernate-infinispan'
215- description = ' Feature for easily adding Infinispan-based caching support to hibernate-native, hibernate-jpa or hibernate-jpa-aries '
216- dependencyFeatureNames = [' hibernate-base ' ]
190+ description = ' Feature for easily adding Infinispan-based caching support to hibernate-orm '
191+ dependencyFeatureNames = [' hibernate-orm ' ]
217192 projects = [rootProject. childProjects. ' hibernate-infinispan' ]
218193 bundle {
219194 match group : ' org.hibernate' , module : ' hibernate-core'
@@ -242,8 +217,8 @@ karafFeatures {
242217 }
243218 hibernateEhcache {
244219 name = ' hibernate-ehcache'
245- description = ' Feature for easily adding Ehcache-based caching support to hibernate-native, hibernate-jpa or hibernate-jpa-aries '
246- dependencyFeatureNames = [' hibernate-base ' ]
220+ description = ' Feature for easily adding Ehcache-based caching support to hibernate-orm '
221+ dependencyFeatureNames = [' hibernate-orm ' ]
247222 projects = [rootProject. childProjects. ' hibernate-ehcache' ]
248223 bundle {
249224 match group : ' org.hibernate' , module : ' hibernate-core'
0 commit comments