HHH-12177 - Disable generation of hibernate-infinispan jar
This commit is contained in:
parent
25854433ac
commit
1e4d483e73
|
@ -455,7 +455,7 @@ subprojects { subProject ->
|
|||
|
||||
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
// Publishing
|
||||
if ( !subProject.name.equals( 'documentation' ) || !subProject.name.equals( 'hibernate-infinispan' ) ) {
|
||||
if ( !subProject.name.equals( 'documentation' ) && !subProject.name.equals( 'hibernate-infinispan' ) ) {
|
||||
// do not configure publishing for the documentation module
|
||||
publishing {
|
||||
publications {
|
||||
|
|
|
@ -10,21 +10,23 @@ mavenPom {
|
|||
description = '(deprecated - use org.infinispan:infinispan-hibernate-cache instead) Integration for Infinispan into Hibernate as a second-level caching service'
|
||||
}
|
||||
|
||||
def osgiDescription() {
|
||||
return mavenPom.description
|
||||
}
|
||||
jar.enabled = false
|
||||
|
||||
jar {
|
||||
// The OSGi JAR manifest support does not like a non-existent classes dir,
|
||||
// so make sure we dont use the OSGi one :)
|
||||
manifest = null
|
||||
}
|
||||
|
||||
sourcesJar {
|
||||
// The OSGi JAR manifest support does not like a non-existent classes dir,
|
||||
// so make sure we dont use the OSGi one :)
|
||||
manifest = null
|
||||
}
|
||||
//def osgiDescription() {
|
||||
// return mavenPom.description
|
||||
//}
|
||||
//
|
||||
//jar {
|
||||
// // The OSGi JAR manifest support does not like a non-existent classes dir,
|
||||
// // so make sure we dont use the OSGi one :)
|
||||
// manifest = null
|
||||
//}
|
||||
//
|
||||
//sourcesJar {
|
||||
// // The OSGi JAR manifest support does not like a non-existent classes dir,
|
||||
// // so make sure we dont use the OSGi one :)
|
||||
// manifest = null
|
||||
//}
|
||||
|
||||
def relocatedGroupId = 'org.infinispan'
|
||||
def relocatedArtifactId = 'infinispan-hibernate-cache'
|
||||
|
|
|
@ -238,7 +238,10 @@ karafFeatures {
|
|||
name = 'hibernate-infinispan'
|
||||
description = 'Feature for easily adding Infinispan-based caching support to hibernate-orm'
|
||||
dependencyFeatureNames = ['hibernate-orm']
|
||||
projects = [rootProject.childProjects.'hibernate-infinispan']
|
||||
bundle {
|
||||
match group: 'org.infinispan', module: 'infinispan-hibernate-cache'
|
||||
include = true
|
||||
}
|
||||
bundle {
|
||||
match group: 'org.hibernate', module: 'hibernate-core'
|
||||
include = false
|
||||
|
|
Loading…
Reference in New Issue