HHH-12327 - Remove javassist from jar manifest and explicitly exclude it from the build.
This commit is contained in:
parent
4cfdbaaf1f
commit
d26a2adb54
|
@ -11,7 +11,10 @@ apply plugin: 'hibernate-matrix-testing'
|
||||||
description = 'Hibernate\'s entity version (audit/history) support'
|
description = 'Hibernate\'s entity version (audit/history) support'
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile( project( ':hibernate-core' ) )
|
compile( project( ':hibernate-core' ) ) {
|
||||||
|
// Exclude access to this to avoid future use.
|
||||||
|
exclude group: "org.javassist", module: "javassist"
|
||||||
|
}
|
||||||
|
|
||||||
provided( libraries.ant )
|
provided( libraries.ant )
|
||||||
provided( project( ':hibernate-jpamodelgen' ) )
|
provided( project( ':hibernate-jpamodelgen' ) )
|
||||||
|
@ -38,9 +41,6 @@ sourceSets {
|
||||||
jar {
|
jar {
|
||||||
manifest {
|
manifest {
|
||||||
instructionFirst 'Import-Package',
|
instructionFirst 'Import-Package',
|
||||||
// TODO: Remove after Javassist is blown away in ORM 6
|
|
||||||
"javassist;version=\"${javassistVersion}\"",
|
|
||||||
"javassist.util.proxy;version=\"${javassistVersion}\"",
|
|
||||||
// TODO: Shouldn't have to explicitly list the JPA packages, but
|
// TODO: Shouldn't have to explicitly list the JPA packages, but
|
||||||
// the plugin generates them with [1.0,2) versions.
|
// the plugin generates them with [1.0,2) versions.
|
||||||
'javax.persistence;version="2.1.0"',
|
'javax.persistence;version="2.1.0"',
|
||||||
|
|
Loading…
Reference in New Issue