enable more flexible java manifest structure (closer to the spec)

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
This commit is contained in:
Alex Goodman
2020-10-29 16:26:04 -04:00
parent a4f22e65fc
commit a5cba13ddf
7 changed files with 110 additions and 94 deletions
+16 -16
View File
@@ -126,7 +126,7 @@
},
"manifest": {
"properties": {
"extraFields": {
"main": {
"properties": {
"Archiver-Version": {
"type": "string"
@@ -149,6 +149,12 @@
"Hudson-Version": {
"type": "string"
},
"Implementation-Title": {
"type": "string"
},
"Implementation-Version": {
"type": "string"
},
"Jenkins-Version": {
"type": "string"
},
@@ -158,6 +164,9 @@
"Main-Class": {
"type": "string"
},
"Manifest-Version": {
"type": "string"
},
"Minimum-Java-Version": {
"type": "string"
},
@@ -181,32 +190,23 @@
},
"Short-Name": {
"type": "string"
},
"Specification-Title": {
"type": "string"
}
},
"required": [
"Archiver-Version",
"Build-Jdk",
"Built-By",
"Created-By"
"Created-By",
"Manifest-Version"
],
"type": "object"
},
"implementationTitle": {
"type": "string"
},
"implementationVersion": {
"type": "string"
},
"manifestVersion": {
"type": "string"
},
"specificationTitle": {
"type": "string"
}
},
"required": [
"extraFields",
"manifestVersion"
"main"
],
"type": "object"
},