91 lines
2.7 KiB
XML
91 lines
2.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>asia.asio.nixmsg</groupId>
|
|
<artifactId>nixmsg-sdk</artifactId>
|
|
<version>0.1.0</version>
|
|
<packaging>jar</packaging>
|
|
<name>nixmsg-sdk</name>
|
|
<description>NixMsg Java/Android SDK</description>
|
|
|
|
<licenses>
|
|
<license>
|
|
<name>Proprietary</name>
|
|
<url>https://git.asio.asia/nixevol/NixMsg/src/branch/main/LICENSE</url>
|
|
<distribution>repo</distribution>
|
|
</license>
|
|
</licenses>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<maven.compiler.release>8</maven.compiler.release>
|
|
<hivemq.mqtt.version>1.3.5</hivemq.mqtt.version>
|
|
<junit.version>4.13.2</junit.version>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.hivemq</groupId>
|
|
<artifactId>hivemq-mqtt-client</artifactId>
|
|
<version>${hivemq.mqtt.version}</version>
|
|
</dependency>
|
|
<!-- WebSocket 传输所需 Netty HTTP 编解码(HiveMQ 文档中的 websocket 能力) -->
|
|
<dependency>
|
|
<groupId>io.netty</groupId>
|
|
<artifactId>netty-codec-http</artifactId>
|
|
<version>4.1.118.Final</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.code.gson</groupId>
|
|
<artifactId>gson</artifactId>
|
|
<version>2.11.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>${junit.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.13.0</version>
|
|
<configuration>
|
|
<release>8</release>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>3.5.2</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>3.4.2</version>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>central</id>
|
|
<url>https://repo.maven.apache.org/maven2</url>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<distributionManagement>
|
|
<repository>
|
|
<id>asio-gitea</id>
|
|
<url>https://git.asio.asia/api/packages/nixevol/maven</url>
|
|
</repository>
|
|
</distributionManagement>
|
|
</project>
|