diff --git a/distribution/deb/build.gradle b/distribution/deb/build.gradle index 9689f5997e8..afe55e0cc02 100644 --- a/distribution/deb/build.gradle +++ b/distribution/deb/build.gradle @@ -19,6 +19,7 @@ task buildDeb(type: Deb) { dependsOn dependencyFiles, preparePackagingFiles + baseName 'elasticsearch' // this is what pom generation uses for artifactId // Follow elasticsearch's deb file naming convention archiveName "${packageName}-${project.version}.deb" packageGroup 'web' diff --git a/distribution/rpm/build.gradle b/distribution/rpm/build.gradle index ab2e61ad463..a665316a3e6 100644 --- a/distribution/rpm/build.gradle +++ b/distribution/rpm/build.gradle @@ -19,6 +19,7 @@ task buildRpm(type: Rpm) { dependsOn dependencyFiles, preparePackagingFiles + baseName 'elasticsearch' // this is what pom generation uses for artifactId // Follow elasticsearch's rpm file naming convention archiveName = "${packageName}-${project.version}.rpm" packageGroup 'Application/Internet'