From 05edb0367d36ce0edbfe7c7d448ca543021e0568 Mon Sep 17 00:00:00 2001 From: Ryan Ernst Date: Fri, 29 Jul 2016 07:41:39 -0700 Subject: [PATCH] Add client jars pom generation, and make transport client depend on transport client plugin jars --- client/rest/build.gradle | 2 ++ client/sniffer/build.gradle | 2 ++ client/transport/build.gradle | 12 +++++++----- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/client/rest/build.gradle b/client/rest/build.gradle index fabe5c65373..1c92013da97 100644 --- a/client/rest/build.gradle +++ b/client/rest/build.gradle @@ -22,6 +22,8 @@ import org.gradle.api.JavaVersion apply plugin: 'elasticsearch.build' apply plugin: 'ru.vyarus.animalsniffer' +apply plugin: 'nebula.maven-base-publish' +apply plugin: 'nebula.maven-scm' targetCompatibility = JavaVersion.VERSION_1_7 sourceCompatibility = JavaVersion.VERSION_1_7 diff --git a/client/sniffer/build.gradle b/client/sniffer/build.gradle index 639871cccb3..f35110e4f9e 100644 --- a/client/sniffer/build.gradle +++ b/client/sniffer/build.gradle @@ -22,6 +22,8 @@ import org.gradle.api.JavaVersion apply plugin: 'elasticsearch.build' apply plugin: 'ru.vyarus.animalsniffer' +apply plugin: 'nebula.maven-base-publish' +apply plugin: 'nebula.maven-scm' targetCompatibility = JavaVersion.VERSION_1_7 sourceCompatibility = JavaVersion.VERSION_1_7 diff --git a/client/transport/build.gradle b/client/transport/build.gradle index 3573467b0ef..140ef1b4303 100644 --- a/client/transport/build.gradle +++ b/client/transport/build.gradle @@ -20,16 +20,18 @@ import org.elasticsearch.gradle.precommit.PrecommitTasks apply plugin: 'elasticsearch.build' +apply plugin: 'nebula.maven-base-publish' +apply plugin: 'nebula.maven-scm' group = 'org.elasticsearch.client' dependencies { compile "org.elasticsearch:elasticsearch:${version}" - compile project(path: ':modules:transport-netty3', configuration: 'runtime') - compile project(path: ':modules:transport-netty4', configuration: 'runtime') - compile project(path: ':modules:reindex', configuration: 'runtime') - compile project(path: ':modules:lang-mustache', configuration: 'runtime') - compile project(path: ':modules:percolator', configuration: 'runtime') + compile "org.elasticsearch.plugin:transport-netty3-client:${version}" + compile "org.elasticsearch.plugin:transport-netty4-client:${version}" + compile "org.elasticsearch.plugin:reindex-client:${version}" + compile "org.elasticsearch.plugin:lang-mustache-client:${version}" + compile "org.elasticsearch.plugin:percolator-client:${version}" testCompile "com.carrotsearch.randomizedtesting:randomizedtesting-runner:${versions.randomizedrunner}" testCompile "junit:junit:${versions.junit}" }