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:
parent
a66be6cfb9
commit
7788c4cd69
|
@ -19,6 +19,7 @@
|
||||||
|
|
||||||
task buildDeb(type: Deb) {
|
task buildDeb(type: Deb) {
|
||||||
dependsOn dependencyFiles, preparePackagingFiles
|
dependsOn dependencyFiles, preparePackagingFiles
|
||||||
|
baseName 'elasticsearch' // this is what pom generation uses for artifactId
|
||||||
// Follow elasticsearch's deb file naming convention
|
// Follow elasticsearch's deb file naming convention
|
||||||
archiveName "${packageName}-${project.version}.deb"
|
archiveName "${packageName}-${project.version}.deb"
|
||||||
packageGroup 'web'
|
packageGroup 'web'
|
||||||
|
|
|
@ -19,6 +19,7 @@
|
||||||
|
|
||||||
task buildRpm(type: Rpm) {
|
task buildRpm(type: Rpm) {
|
||||||
dependsOn dependencyFiles, preparePackagingFiles
|
dependsOn dependencyFiles, preparePackagingFiles
|
||||||
|
baseName 'elasticsearch' // this is what pom generation uses for artifactId
|
||||||
// Follow elasticsearch's rpm file naming convention
|
// Follow elasticsearch's rpm file naming convention
|
||||||
archiveName = "${packageName}-${project.version}.rpm"
|
archiveName = "${packageName}-${project.version}.rpm"
|
||||||
packageGroup 'Application/Internet'
|
packageGroup 'Application/Internet'
|
||||||
|
|
Loading…
Reference in New Issue