HHH-10579 : Add missing Manifest data
(cherry picked from commit 5c1f4238c6
)
This commit is contained in:
parent
213478fc7d
commit
2af374a7bc
|
@ -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')
|
||||
|
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue