打包输出deb包
This commit is contained in:
@@ -20,6 +20,13 @@
|
|||||||
<artifactId>moquette-broker</artifactId>
|
<artifactId>moquette-broker</artifactId>
|
||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<!-- https://mvnrepository.com/artifact/org.vafer/jdeb -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.vafer</groupId>
|
||||||
|
<artifactId>jdeb</artifactId>
|
||||||
|
<version>1.10</version>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
|
||||||
@@ -93,6 +100,34 @@
|
|||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<artifactId>jdeb</artifactId>
|
||||||
|
<groupId>org.vafer</groupId>
|
||||||
|
<version>1.8</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<phase>package</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>jdeb</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<controlDir>${project.basedir}/src/main/deb/control</controlDir>
|
||||||
|
<skipPOMs>false</skipPOMs>
|
||||||
|
<deb>${project.build.directory}/wildfirechat-${project.version}.deb</deb>
|
||||||
|
<dataSet>
|
||||||
|
<data>
|
||||||
|
<src>${project.build.directory}/distribution-${project.version}-bundle-tar.tar.gz</src>
|
||||||
|
<type>archive</type>
|
||||||
|
<mapper>
|
||||||
|
<type>perm</type>
|
||||||
|
<prefix>/usr/local/wildfirechat/im</prefix>
|
||||||
|
</mapper>
|
||||||
|
</data>
|
||||||
|
</dataSet>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,9 @@
|
|||||||
|
Package: wildfirechat
|
||||||
|
Version: [[version]]
|
||||||
|
Section: misc
|
||||||
|
Priority: optional
|
||||||
|
Architecture: all
|
||||||
|
Maintainer: Wildfirechat <[email protected]>
|
||||||
|
Description: Wildfirechat IM Server
|
||||||
|
Distribution: development
|
||||||
|
Homepage: https://wildfirechat.cn
|
||||||
@@ -28,7 +28,6 @@
|
|||||||
<groupId>commons-codec</groupId>
|
<groupId>commons-codec</groupId>
|
||||||
<artifactId>commons-codec</artifactId>
|
<artifactId>commons-codec</artifactId>
|
||||||
<version>1.11</version>
|
<version>1.11</version>
|
||||||
<scope>compile</scope>
|
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|||||||
Reference in New Issue
Block a user