mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-25 06:16:40 +00:00
Merge pull request #11637 from dadoonet/plugins/elasticsearch-provided
[build] mark elasticsearch as provided in plugins When we build a plugin, we suppose it will be executed within elasticsearch server. So we should mark it as `provided`. If a java developer needs to embed the plugin and elasticsearch, it will make sense to declare both in its `pom.xml` file.
This commit is contained in:
commit
fbf83e3568
@ -42,6 +42,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.elasticsearch</groupId>
|
<groupId>org.elasticsearch</groupId>
|
||||||
<artifactId>elasticsearch</artifactId>
|
<artifactId>elasticsearch</artifactId>
|
||||||
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.elasticsearch</groupId>
|
<groupId>org.elasticsearch</groupId>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user