From 706f53c497b2e15adf24c32c5d0ef4341b87f9d6 Mon Sep 17 00:00:00 2001 From: Jay Modi Date: Wed, 5 Oct 2016 10:46:24 -0400 Subject: [PATCH] build: fix the artifactId in the pom for x-pack-transport This changes the pom generation to use the value of archivesBaseName when generating the pom file. Closes elastic/elasticsearch#3668 Original commit: elastic/x-pack-elasticsearch@a6e537cffeffcec391743148c05f487b82e8e012 --- elasticsearch-transport-client/build.gradle | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/elasticsearch-transport-client/build.gradle b/elasticsearch-transport-client/build.gradle index a8ce39bb23b..245bb38a9e3 100644 --- a/elasticsearch-transport-client/build.gradle +++ b/elasticsearch-transport-client/build.gradle @@ -31,3 +31,11 @@ namingConventions { //we don't have integration tests skipIntegTestInDisguise = true } + +publishing { + publications { + nebula(MavenPublication) { + pom.projectIdentity.artifactId = archivesBaseName + } + } +}