Skip to content

Commit

Permalink
Fix publication of elasticsearch-cli to Maven
Browse files Browse the repository at this point in the history
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
  • Loading branch information
jasontedor committed Dec 17, 2017
1 parent 2589710 commit d49fe89
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions core/cli/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,17 @@
import org.elasticsearch.gradle.precommit.PrecommitTasks

apply plugin: 'elasticsearch.build'
apply plugin: 'nebula.optional-base'
apply plugin: 'nebula.maven-base-publish'
apply plugin: 'nebula.maven-scm'

publishing {
publications {
nebula {
artifactId 'elasticsearch-cli'
}
}
}

archivesBaseName = 'elasticsearch-cli'

Expand Down

0 comments on commit d49fe89

Please sign in to comment.