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:
Ryan Ernst 2016-09-13 14:05:52 -07:00 committed by GitHub
parent 821004d5cd
commit 81e4cdfbc0
2 changed files with 7 additions and 8 deletions

View File

@ -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