Build: Fix rpm and deb generated poms to have correct artifactId

For all our distributions, we use "elasticsearch" as the artifactId.
This fixes the id for the generated poms of rpm and deb distributions.
This commit is contained in:
Ryan Ernst 2015-11-28 11:30:49 -08:00
parent a66be6cfb9
commit 7788c4cd69
2 changed files with 2 additions and 0 deletions

View File

@ -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'

View File

@ -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'