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>
|
<groupId>org.vafer</groupId>
|
||||||
<version>0.8</version>
|
<version>0.8</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<deb>${project.build.directory}/releases/${artifactId}-${version}.deb</deb>
|
<deb>${project.build.directory}/releases/${project.artifactId}-${project.version}.deb</deb>
|
||||||
</configuration>
|
</configuration>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
|
@ -470,7 +470,7 @@
|
||||||
</data>
|
</data>
|
||||||
<data>
|
<data>
|
||||||
<src>${project.build.directory}/</src>
|
<src>${project.build.directory}/</src>
|
||||||
<includes>${project.build.finalName}.jar, ${project.basedir}/lib/sigar/*</includes>
|
<includes>${project.build.finalName}.jar</includes>
|
||||||
<type>directory</type>
|
<type>directory</type>
|
||||||
<mapper>
|
<mapper>
|
||||||
<type>perm</type>
|
<type>perm</type>
|
||||||
|
@ -479,6 +479,17 @@
|
||||||
<group>root</group>
|
<group>root</group>
|
||||||
</mapper>
|
</mapper>
|
||||||
</data>
|
</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>
|
<data>
|
||||||
<src>${project.build.directory}/lib</src>
|
<src>${project.build.directory}/lib</src>
|
||||||
<includes>lucene*, log4j*, jline*, jna*</includes>
|
<includes>lucene*, log4j*, jline*, jna*</includes>
|
||||||
|
|
|
@ -28,6 +28,10 @@
|
||||||
</fileSet>
|
</fileSet>
|
||||||
</fileSets>
|
</fileSets>
|
||||||
<files>
|
<files>
|
||||||
|
<file>
|
||||||
|
<source>README.textile</source>
|
||||||
|
<outputDirectory>/</outputDirectory>
|
||||||
|
</file>
|
||||||
<file>
|
<file>
|
||||||
<source>LICENSE.txt</source>
|
<source>LICENSE.txt</source>
|
||||||
<outputDirectory>/</outputDirectory>
|
<outputDirectory>/</outputDirectory>
|
||||||
|
|
Loading…
Reference in New Issue