diff --git a/pom.xml b/pom.xml
index c868e5a15bd..8dc3caba1d9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -47,7 +47,7 @@
log4j
log4j
1.2.17
- compile
+ runtime
true
diff --git a/src/main/assemblies/plugin.xml b/src/main/assemblies/plugin.xml
new file mode 100644
index 00000000000..2ccfc875e9c
--- /dev/null
+++ b/src/main/assemblies/plugin.xml
@@ -0,0 +1,17 @@
+
+ plugin
+
+ zip
+
+ false
+
+
+ /
+ true
+ true
+
+ org.elasticsearch:elasticsearch
+
+
+
+
\ No newline at end of file