[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:
parent
8e85304af3
commit
7c365daf67
|
@ -39,6 +39,7 @@
|
|||
<dependency>
|
||||
<groupId>org.elasticsearch</groupId>
|
||||
<artifactId>elasticsearch</artifactId>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.elasticsearch</groupId>
|
||||
|
|
Loading…
Reference in New Issue