From 36c70702170fd39501c5f6669e2df7aa2c2fd085 Mon Sep 17 00:00:00 2001 From: Ryan Ernst Date: Mon, 3 Oct 2016 19:25:44 -0700 Subject: [PATCH] Fix xpack api jar artifact naming Original commit: elastic/x-pack-elasticsearch@bb7b0a639257e5deca2c6fbd95e05b4c61bdf8ac --- elasticsearch/build.gradle | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/elasticsearch/build.gradle b/elasticsearch/build.gradle index 043b186f037..d6d76e162c6 100644 --- a/elasticsearch/build.gradle +++ b/elasticsearch/build.gradle @@ -126,11 +126,10 @@ project.afterEvaluate { String apiFileName = jarFile.fileName.toString().replace(project.version, "api-${project.version}") Files.copy(jarFile, jarFile.resolveSibling(apiFileName), StandardCopyOption.REPLACE_EXISTING) - /*String pomFileName = jarFile.fileName.toString().replace('.jar', '.pom') + String pomFileName = jarFile.fileName.toString().replace('.jar', '.pom') String apiPomFileName = apiFileName.replace('.jar', '.pom') Files.copy(jarFile.resolveSibling(pomFileName), jarFile.resolveSibling(apiPomFileName), StandardCopyOption.REPLACE_EXISTING) - */ } } assemble.dependsOn(apiJar)