Build: Add pom building and associated files to rest api spec jar (#20460)
We put the rest api spec into a jar for upload to maven, so that we can use within external rest tests. This change adds making a pom for maven (as well as producing sources and javadoc jars, even though they will be empty, because maven central requires them).
This commit is contained in:
parent
821004d5cd
commit
81e4cdfbc0
|
@ -1,8 +1,7 @@
|
||||||
apply plugin: 'java'
|
apply plugin: 'elasticsearch.build'
|
||||||
apply plugin: 'com.bmuschko.nexus'
|
apply plugin: 'nebula.maven-base-publish'
|
||||||
|
apply plugin: 'nebula.maven-scm'
|
||||||
|
|
||||||
extraArchive {
|
test.enabled = false
|
||||||
sources = false
|
jarHell.enabled = false
|
||||||
javadoc = false
|
licenseHeaders.enabled = false
|
||||||
tests = false
|
|
||||||
}
|
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
"wait_for_completion": {
|
"wait_for_completion": {
|
||||||
"type" : "boolean",
|
"type" : "boolean",
|
||||||
"description" : "Specify whether the request should block until the all segments are upgraded (default: false)"
|
"description" : "Specify whether the request should block until the all segments are upgraded (default: false)"
|
||||||
},
|
},
|
||||||
"only_ancient_segments": {
|
"only_ancient_segments": {
|
||||||
"type" : "boolean",
|
"type" : "boolean",
|
||||||
"description" : "If true, only ancient (an older Lucene major release) segments will be upgraded"
|
"description" : "If true, only ancient (an older Lucene major release) segments will be upgraded"
|
||||||
|
|
Loading…
Reference in New Issue