HHH-12177 - Disable generation of hibernate-infinispan jar

This commit is contained in:
Andrea Boriero 2017-12-18 19:23:25 +00:00 committed by Steve Ebersole
parent 25854433ac
commit 1e4d483e73
3 changed files with 21 additions and 16 deletions

View File

@ -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 {

View File

@ -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'

View File

@ -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