diff --git a/pom.xml b/pom.xml
index f27cc76be38..b671570df2b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -399,21 +399,21 @@
maven-assembly-plugin
- ${project.build.directory}/releases/
+ ${project.build.directory}/releases/
${basedir}/src/main/assemblies/targz-bin.xml
${basedir}/src/main/assemblies/zip-bin.xml
-
+
-
+
package
single
-
-
+
+
maven-dependency-plugin
@@ -424,19 +424,19 @@
${project.build.directory}/lib
-
+
-
+
jdeb
org.vafer
0.8
- ${project.build.directory}/releases/${artifactId}-${version}.deb
-
+ ${project.build.directory}/releases/${project.artifactId}-${project.version}.deb
+
package
@@ -444,33 +444,33 @@
jdeb
-
-
+
+
${project.basedir}/
*.txt, *.textile
directory
perm
- /usr/share/elasticsearch
+ /usr/share/elasticsearch
root
root
-
-
+
+
${project.basedir}/bin
directory
*.bat
perm
- /usr/share/elasticsearch/bin
+ /usr/share/elasticsearch/bin
755
root
root
-
-
-
+
+
+
${project.build.directory}/
- ${project.build.finalName}.jar, ${project.basedir}/lib/sigar/*
+ ${project.build.finalName}.jar
directory
perm
@@ -478,9 +478,20 @@
root
root
-
+
- ${project.build.directory}/lib
+ ${project.basedir}/lib/sigar/
+ sigar-*.jar, libsigar-*-linux.*
+ directory
+
+ perm
+ /usr/share/elasticsearch/lib/sigar
+ root
+ root
+
+
+
+ ${project.build.directory}/lib
lucene*, log4j*, jline*, jna*
directory
@@ -490,17 +501,17 @@
root
-
+
${project.basedir}/src/deb/default/
directory
perm
- /etc/default
+ /etc/default
root
root
-
+
${project.basedir}/src/deb/init.d/
directory
@@ -511,22 +522,22 @@
root
-
+
${project.basedir}/config
directory
perm
- /etc/elasticsearch
+ /etc/elasticsearch
root
root
-
-
+
+
-
+
\ No newline at end of file
diff --git a/src/main/assemblies/common-bin.xml b/src/main/assemblies/common-bin.xml
index 130fef6c810..c6df88a26ac 100644
--- a/src/main/assemblies/common-bin.xml
+++ b/src/main/assemblies/common-bin.xml
@@ -28,6 +28,10 @@
+
+
+ /
+
/