Skip to content

Commit 6e0e0bd

Browse files
committed
Build: Add back setting artifact id of pom for rest high level client (#32731)
This commit adds back the publishing section that sets the artifact id of the generated pom file for the high level rest client. This was accidentally removed during a consolidationo of the shadow plugin logic.
1 parent e64bb48 commit 6e0e0bd

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

client/rest-high-level/build.gradle

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,14 @@ apply plugin: 'com.github.johnrengelman.shadow'
3030
group = 'org.elasticsearch.client'
3131
archivesBaseName = 'elasticsearch-rest-high-level-client'
3232

33+
publishing {
34+
publications {
35+
nebula {
36+
artifactId = archivesBaseName
37+
}
38+
}
39+
}
40+
3341
//we need to copy the yaml spec so we can check naming (see RestHighlevelClientTests#testApiNamingConventions)
3442
Task copyRestSpec = RestIntegTestTask.createCopyRestSpecTask(project, Providers.FALSE)
3543
test.dependsOn(copyRestSpec)

0 commit comments

Comments
 (0)