diff --git a/plugins/jvm-example/src/main/assemblies/plugin.xml b/plugins/jvm-example/src/main/assemblies/plugin.xml
index f1f9e0f04b1..434aaecdaf7 100644
--- a/plugins/jvm-example/src/main/assemblies/plugin.xml
+++ b/plugins/jvm-example/src/main/assemblies/plugin.xml
@@ -17,6 +17,10 @@
src/main/config
config
+
+ src/main/bin
+ bin
+
diff --git a/plugins/jvm-example/src/main/bin/test b/plugins/jvm-example/src/main/bin/test
new file mode 100755
index 00000000000..76ba88943ac
--- /dev/null
+++ b/plugins/jvm-example/src/main/bin/test
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+echo test
diff --git a/plugins/jvm-example/src/main/bin/test.bat b/plugins/jvm-example/src/main/bin/test.bat
new file mode 100644
index 00000000000..7c650525059
--- /dev/null
+++ b/plugins/jvm-example/src/main/bin/test.bat
@@ -0,0 +1 @@
+echo test