summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorRyan Ernst <ryan@iernst.net>2016-09-19 15:10:41 -0700
committerGitHub <noreply@github.com>2016-09-19 15:10:41 -0700
commit85b8f294152714273c3dadf790bd6e67c1598139 (patch)
tree1ec2608f3aeae183d3b6c15880a85bd18f7ded10 /client
parente2854bb3a4ddb7465395f2813f6074918c74e361 (diff)
Build: Remove old maven deploy support (#20403)
* Build: Remove old maven deploy support This change removes the old maven deploy that we have in parallel to maven-publish, and makes maven-publish fully work with publishing to maven local. Using `gradle publishToMavenLocal` should be used to publish to .m2. Note that there is an unfortunate hack that means for zip artifacts we must first create/publish a dummy pom file, and then follow that with the real pom file. It would be nice to have the pom file contains packaging=zip, but maven central then requires sources and javadocs. But our zips are really just attached artifacts, so we already set the packaging type to pom for our zip files. This change just works around a limitation of the underlying maven publishing library which silently skips attached artifacts when the packaging type is set to pom. relates #20164 closes #20375 * Remove unnecessary extra spacing
Diffstat (limited to 'client')
-rw-r--r--client/benchmark/build.gradle4
-rw-r--r--client/client-benchmark-noop-api-plugin/build.gradle1
-rw-r--r--client/test/build.gradle5
3 files changed, 1 insertions, 9 deletions
diff --git a/client/benchmark/build.gradle b/client/benchmark/build.gradle
index bd4abddbd1..e17c7b8470 100644
--- a/client/benchmark/build.gradle
+++ b/client/benchmark/build.gradle
@@ -64,7 +64,3 @@ dependencies {
// No licenses for our benchmark deps (we don't ship benchmarks)
dependencyLicenses.enabled = false
-
-extraArchive {
- javadoc = false
-}
diff --git a/client/client-benchmark-noop-api-plugin/build.gradle b/client/client-benchmark-noop-api-plugin/build.gradle
index 9f3af3ce00..a0d52f1591 100644
--- a/client/client-benchmark-noop-api-plugin/build.gradle
+++ b/client/client-benchmark-noop-api-plugin/build.gradle
@@ -20,7 +20,6 @@
group = 'org.elasticsearch.plugin'
apply plugin: 'elasticsearch.esplugin'
-apply plugin: 'com.bmuschko.nexus'
esplugin {
name 'client-benchmark-noop-api'
diff --git a/client/test/build.gradle b/client/test/build.gradle
index a7ffe79ac5..e57d415e9e 100644
--- a/client/test/build.gradle
+++ b/client/test/build.gradle
@@ -26,9 +26,6 @@ apply plugin: 'ru.vyarus.animalsniffer'
targetCompatibility = JavaVersion.VERSION_1_7
sourceCompatibility = JavaVersion.VERSION_1_7
-install.enabled = false
-uploadArchives.enabled = false
-
dependencies {
compile "org.apache.httpcomponents:httpcore:${versions.httpcore}"
compile "com.carrotsearch.randomizedtesting:randomizedtesting-runner:${versions.randomizedrunner}"
@@ -61,4 +58,4 @@ namingConventions.enabled = false
//we aren't releasing this jar
thirdPartyAudit.enabled = false
-test.enabled = false \ No newline at end of file
+test.enabled = false