fix deb to properly copy over sigar
This commit is contained in:
parent
6d0b94b81b
commit
16c2c6b2c3
15
pom.xml
15
pom.xml
|
@ -435,7 +435,7 @@
|
|||
<groupId>org.vafer</groupId>
|
||||
<version>0.8</version>
|
||||
<configuration>
|
||||
<deb>${project.build.directory}/releases/${artifactId}-${version}.deb</deb>
|
||||
<deb>${project.build.directory}/releases/${project.artifactId}-${project.version}.deb</deb>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
|
@ -470,7 +470,7 @@
|
|||
</data>
|
||||
<data>
|
||||
<src>${project.build.directory}/</src>
|
||||
<includes>${project.build.finalName}.jar, ${project.basedir}/lib/sigar/*</includes>
|
||||
<includes>${project.build.finalName}.jar</includes>
|
||||
<type>directory</type>
|
||||
<mapper>
|
||||
<type>perm</type>
|
||||
|
@ -479,6 +479,17 @@
|
|||
<group>root</group>
|
||||
</mapper>
|
||||
</data>
|
||||
<data>
|
||||
<src>${project.basedir}/lib/sigar/</src>
|
||||
<includes>sigar-*.jar, libsigar-*-linux.*</includes>
|
||||
<type>directory</type>
|
||||
<mapper>
|
||||
<type>perm</type>
|
||||
<prefix>/usr/share/elasticsearch/lib/sigar</prefix>
|
||||
<user>root</user>
|
||||
<group>root</group>
|
||||
</mapper>
|
||||
</data>
|
||||
<data>
|
||||
<src>${project.build.directory}/lib</src>
|
||||
<includes>lucene*, log4j*, jline*, jna*</includes>
|
||||
|
|
|
@ -28,6 +28,10 @@
|
|||
</fileSet>
|
||||
</fileSets>
|
||||
<files>
|
||||
<file>
|
||||
<source>README.textile</source>
|
||||
<outputDirectory>/</outputDirectory>
|
||||
</file>
|
||||
<file>
|
||||
<source>LICENSE.txt</source>
|
||||
<outputDirectory>/</outputDirectory>
|
||||
|
|
Loading…
Reference in New Issue