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: 'com.bmuschko.nexus'
|
||||
apply plugin: 'elasticsearch.build'
|
||||
apply plugin: 'nebula.maven-base-publish'
|
||||
apply plugin: 'nebula.maven-scm'
|
||||
|
||||
extraArchive {
|
||||
sources = false
|
||||
javadoc = false
|
||||
tests = false
|
||||
}
|
||||
test.enabled = false
|
||||
jarHell.enabled = false
|
||||
licenseHeaders.enabled = false
|
||||
|
|
Loading…
Reference in New Issue