|
|
|
@ -1,68 +1,65 @@
|
|
|
|
|
<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
<!--<parent>
|
|
|
|
|
<parent>
|
|
|
|
|
<groupId>com.ruoyi</groupId>
|
|
|
|
|
<artifactId>ruoyi-modules</artifactId>
|
|
|
|
|
<version>3.6.3</version>
|
|
|
|
|
</parent>-->
|
|
|
|
|
<parent>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
|
|
|
<version>2.7.9</version>
|
|
|
|
|
<relativePath/> <!-- lookup parent from repository -->
|
|
|
|
|
</parent>
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<artifactId>hw-mqtt-broker</artifactId>
|
|
|
|
|
|
|
|
|
|
<description>MQTT Broker</description>
|
|
|
|
|
<description>
|
|
|
|
|
Mqtt Broker
|
|
|
|
|
</description>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
|
<revision>2.1.0</revision>
|
|
|
|
|
<java.version>1.8</java.version>
|
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
|
<mica.version>2.7.9</mica.version>
|
|
|
|
|
<spring.boot.version>2.7.9</spring.boot.version>
|
|
|
|
|
<fastjson.version>1.2.83</fastjson.version>
|
|
|
|
|
<tinylog.version>2.6.0</tinylog.version>
|
|
|
|
|
<junit-jupiter.version>5.9.2</junit-jupiter.version>
|
|
|
|
|
<java.version>8</java.version>
|
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
|
|
|
|
|
<!-- SpringCloud Alibaba Nacos -->
|
|
|
|
|
<!--<dependency>
|
|
|
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
|
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
|
|
|
|
</dependency>-->
|
|
|
|
|
|
|
|
|
|
<!-- SpringCloud Alibaba Nacos Config -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>net.dreamlu</groupId>
|
|
|
|
|
<artifactId>mica-mqtt-server-spring-boot-starter</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
|
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- SpringCloud Alibaba Sentinel -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>net.dreamlu</groupId>
|
|
|
|
|
<artifactId>mica-lite</artifactId>
|
|
|
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
|
|
|
<artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!--Mica-Mqtt-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>net.dreamlu</groupId>
|
|
|
|
|
<artifactId>mica-logging</artifactId>
|
|
|
|
|
<artifactId>mica-mqtt-server-spring-boot-starter</artifactId>
|
|
|
|
|
<version>2.1.0</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>net.dreamlu</groupId>
|
|
|
|
|
<artifactId>mica-redis</artifactId>
|
|
|
|
|
<version>2.7.9</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>net.dreamlu</groupId>
|
|
|
|
|
<artifactId>mica-openapi</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!-- 开启 prometheus 指标收集,详见: http://localhost:30012/actuator/prometheus -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.micrometer</groupId>
|
|
|
|
|
<artifactId>micrometer-registry-prometheus</artifactId>
|
|
|
|
|
<artifactId>mica-logging</artifactId>
|
|
|
|
|
<version>2.7.9</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
@ -70,52 +67,6 @@
|
|
|
|
|
</dependency>
|
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
<dependencyManagement>
|
|
|
|
|
<dependencies>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-dependencies</artifactId>
|
|
|
|
|
<version>${spring.boot.version}</version>
|
|
|
|
|
<type>pom</type>
|
|
|
|
|
<scope>import</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>net.dreamlu</groupId>
|
|
|
|
|
<artifactId>mica-bom</artifactId>
|
|
|
|
|
<version>${mica.version}</version>
|
|
|
|
|
<type>pom</type>
|
|
|
|
|
<scope>import</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
|
|
<artifactId>fastjson</artifactId>
|
|
|
|
|
<version>${fastjson.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>net.dreamlu</groupId>
|
|
|
|
|
<artifactId>mica-mqtt-server-spring-boot-starter</artifactId>
|
|
|
|
|
<version>${revision}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!-- tinylog 内存占用更小、性能更好,适合边缘设备 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.tinylog</groupId>
|
|
|
|
|
<artifactId>slf4j-tinylog</artifactId>
|
|
|
|
|
<version>${tinylog.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.tinylog</groupId>
|
|
|
|
|
<artifactId>tinylog-impl</artifactId>
|
|
|
|
|
<version>${tinylog.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.junit.jupiter</groupId>
|
|
|
|
|
<artifactId>junit-jupiter-engine</artifactId>
|
|
|
|
|
<version>${junit-jupiter.version}</version>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
</dependencies>
|
|
|
|
|
</dependencyManagement>
|
|
|
|
|
|
|
|
|
|
<build>
|
|
|
|
|
<finalName>${project.artifactId}</finalName>
|
|
|
|
|
<plugins>
|
|
|
|
|