HHH-10579 : Add missing Manifest data

This commit is contained in:
Gail Badner 2016-03-02 18:07:16 -08:00
parent bdf8fb48b4
commit 5c1f4238c6
2 changed files with 12 additions and 2 deletions

View File

@ -183,6 +183,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'
}
}
@ -315,6 +319,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
}
}