HHH-10579 : Add missing Manifest data

(cherry picked from commit 5c1f4238c6)
This commit is contained in:
Gail Badner 2016-03-02 18:07:16 -08:00
parent 213478fc7d
commit 2af374a7bc
2 changed files with 12 additions and 2 deletions

View File

@ -176,6 +176,10 @@ subprojects { subProject ->
instruction 'Implementation-Version', version
instruction 'Implementation-Vendor', 'Hibernate.org'
instruction 'Implementation-Vendor-Id', 'org.hibernate'
instruction 'Implementation-Title', name
instruction 'Specification-Title', name
instruction 'Specification-Version', version
instruction 'Specification-Vendor', 'Hibernate.org'
}
}
@ -308,6 +312,10 @@ subprojects { subProject ->
from sourceSets.main.allSource
classifier = 'sources'
}
sourcesJar {
manifest = jar.manifest
}
}
task release(type: Task, dependsOn: 'release:release')

View File

@ -42,8 +42,10 @@ compileTestJava {
jar {
manifest {
attributes 'Implementation-Title' : '${project.name}',
'Implementation-Version' : '${project.version}'
attributes 'Implementation-Title' : name,
'Implementation-Version' : version,
'Specification-Title' : name,
'Specification-Version' : version
}
}