Skip to content

Commit c6a693d

Browse files
committed
Fix publication of elasticsearch-cli to Maven
This commit addresses the publication of the elasticsearch-cli to Maven. For now for simplicity we publish this to Maven so that it is available as a transitive dependency for any artifacts that depend on the core elasticsearch artifact. It is possible that in the future we can simply exclude this dependency but for now this is the safest and simplest approach that can happen in a patch release. Relates #27853
1 parent 471db4d commit c6a693d

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

core/cli/build.gradle

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,17 @@
2020
import org.elasticsearch.gradle.precommit.PrecommitTasks
2121

2222
apply plugin: 'elasticsearch.build'
23+
apply plugin: 'nebula.optional-base'
24+
apply plugin: 'nebula.maven-base-publish'
25+
apply plugin: 'nebula.maven-scm'
26+
27+
publishing {
28+
publications {
29+
nebula {
30+
artifactId 'elasticsearch-cli'
31+
}
32+
}
33+
}
2334

2435
archivesBaseName = 'elasticsearch-cli'
2536

0 commit comments

Comments
 (0)