HHH-12663 Include hibernate-osgi bundle only in hibernate-orm feature
This commit is contained in:
parent
54722fc344
commit
260ec8d3fa
|
@ -21,7 +21,7 @@ buildscript {
|
||||||
classpath 'org.hibernate.build.gradle:hibernate-matrix-testing:2.0.0.Final'
|
classpath 'org.hibernate.build.gradle:hibernate-matrix-testing:2.0.0.Final'
|
||||||
classpath 'org.hibernate.build.gradle:version-injection-plugin:1.0.0'
|
classpath 'org.hibernate.build.gradle:version-injection-plugin:1.0.0'
|
||||||
classpath 'org.hibernate.build.gradle:gradle-xjc-plugin:1.0.2.Final'
|
classpath 'org.hibernate.build.gradle:gradle-xjc-plugin:1.0.2.Final'
|
||||||
classpath 'com.github.lburgazzoli:gradle-karaf-plugin:0.0.49'
|
classpath 'gradle.plugin.com.github.lburgazzoli:gradle-karaf-plugin:0.1.1'
|
||||||
classpath 'org.asciidoctor:asciidoctor-gradle-plugin:1.5.7'
|
classpath 'org.asciidoctor:asciidoctor-gradle-plugin:1.5.7'
|
||||||
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3'
|
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3'
|
||||||
classpath 'de.thetaphi:forbiddenapis:2.5'
|
classpath 'de.thetaphi:forbiddenapis:2.5'
|
||||||
|
|
|
@ -139,22 +139,24 @@ task generateVersionFile {
|
||||||
karaf {
|
karaf {
|
||||||
features {
|
features {
|
||||||
xsdVersion = '1.2.0'
|
xsdVersion = '1.2.0'
|
||||||
includeProject = true
|
|
||||||
feature {
|
feature {
|
||||||
name = 'hibernate-orm'
|
name = 'hibernate-orm'
|
||||||
description = 'Combines all Hibernate core dependencies and required modules into a single feature'
|
description = 'Combines all Hibernate core dependencies and required modules into a single feature'
|
||||||
|
includeProject = true
|
||||||
}
|
}
|
||||||
// NOTE : would like to include spatial as well, but we need to wait for
|
// NOTE : would like to include spatial as well, but we need to wait for
|
||||||
// it to not define dependency on postgresql driver
|
// it to not define dependency on postgresql driver
|
||||||
feature {
|
feature {
|
||||||
name = 'hibernate-envers'
|
name = 'hibernate-envers'
|
||||||
description = 'Feature for easily adding Envers support to hibernate-orm'
|
description = 'Feature for easily adding Envers support to hibernate-orm'
|
||||||
|
includeProject = false
|
||||||
configurations 'hibernateEnvers'
|
configurations 'hibernateEnvers'
|
||||||
feature 'hibernate-orm'
|
feature 'hibernate-orm'
|
||||||
}
|
}
|
||||||
feature {
|
feature {
|
||||||
name = 'hibernate-infinispan'
|
name = 'hibernate-infinispan'
|
||||||
description = 'Feature for easily adding Infinispan-based caching support to hibernate-orm'
|
description = 'Feature for easily adding Infinispan-based caching support to hibernate-orm'
|
||||||
|
includeProject = false
|
||||||
configurations 'hibernateInfinispan'
|
configurations 'hibernateInfinispan'
|
||||||
feature 'hibernate-orm'
|
feature 'hibernate-orm'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue