HHH-10579 : Add missing Manifest data
This commit is contained in:
parent
bdf8fb48b4
commit
5c1f4238c6
|
@ -183,6 +183,10 @@ subprojects { subProject ->
|
||||||
instruction 'Implementation-Version', version
|
instruction 'Implementation-Version', version
|
||||||
instruction 'Implementation-Vendor', 'Hibernate.org'
|
instruction 'Implementation-Vendor', 'Hibernate.org'
|
||||||
instruction 'Implementation-Vendor-Id', 'org.hibernate'
|
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
|
from sourceSets.main.allSource
|
||||||
classifier = 'sources'
|
classifier = 'sources'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sourcesJar {
|
||||||
|
manifest = jar.manifest
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
task release(type: Task, dependsOn: 'release:release')
|
task release(type: Task, dependsOn: 'release:release')
|
||||||
|
|
|
@ -42,8 +42,10 @@ compileTestJava {
|
||||||
|
|
||||||
jar {
|
jar {
|
||||||
manifest {
|
manifest {
|
||||||
attributes 'Implementation-Title' : '${project.name}',
|
attributes 'Implementation-Title' : name,
|
||||||
'Implementation-Version' : '${project.version}'
|
'Implementation-Version' : version,
|
||||||
|
'Specification-Title' : name,
|
||||||
|
'Specification-Version' : version
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue