|
|
@ -1,68 +1,65 @@
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<?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"
|
|
|
|
<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">
|
|
|
|
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>
|
|
|
|
<groupId>com.ruoyi</groupId>
|
|
|
|
<artifactId>ruoyi-modules</artifactId>
|
|
|
|
<artifactId>ruoyi-modules</artifactId>
|
|
|
|
<version>3.6.3</version>
|
|
|
|
<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>
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<artifactId>hw-mqtt-broker</artifactId>
|
|
|
|
<artifactId>hw-mqtt-broker</artifactId>
|
|
|
|
|
|
|
|
|
|
|
|
<description>MQTT Broker</description>
|
|
|
|
<description>
|
|
|
|
|
|
|
|
Mqtt Broker
|
|
|
|
|
|
|
|
</description>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<properties>
|
|
|
|
<revision>2.1.0</revision>
|
|
|
|
<java.version>8</java.version>
|
|
|
|
<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>
|
|
|
|
|
|
|
|
</properties>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependencies>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- SpringCloud Alibaba Nacos -->
|
|
|
|
|
|
|
|
<!--<dependency>
|
|
|
|
|
|
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
|
|
|
|
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
|
|
|
|
|
|
|
</dependency>-->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- SpringCloud Alibaba Nacos Config -->
|
|
|
|
<dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.dreamlu</groupId>
|
|
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
|
|
<artifactId>mica-mqtt-server-spring-boot-starter</artifactId>
|
|
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
|
|
|
|
</dependency>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- SpringCloud Alibaba Sentinel -->
|
|
|
|
<dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.dreamlu</groupId>
|
|
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
|
|
<artifactId>mica-lite</artifactId>
|
|
|
|
<artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
|
|
|
|
</dependency>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--Mica-Mqtt-->
|
|
|
|
<dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.dreamlu</groupId>
|
|
|
|
<groupId>net.dreamlu</groupId>
|
|
|
|
<artifactId>mica-logging</artifactId>
|
|
|
|
<artifactId>mica-mqtt-server-spring-boot-starter</artifactId>
|
|
|
|
|
|
|
|
<version>2.1.0</version>
|
|
|
|
</dependency>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.dreamlu</groupId>
|
|
|
|
<groupId>net.dreamlu</groupId>
|
|
|
|
<artifactId>mica-redis</artifactId>
|
|
|
|
<artifactId>mica-redis</artifactId>
|
|
|
|
|
|
|
|
<version>2.7.9</version>
|
|
|
|
</dependency>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.dreamlu</groupId>
|
|
|
|
<groupId>net.dreamlu</groupId>
|
|
|
|
<artifactId>mica-openapi</artifactId>
|
|
|
|
<artifactId>mica-logging</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<version>2.7.9</version>
|
|
|
|
<!-- 开启 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>
|
|
|
|
|
|
|
|
</dependency>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
@ -70,52 +67,6 @@
|
|
|
|
</dependency>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</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>
|
|
|
|
<build>
|
|
|
|
<finalName>${project.artifactId}</finalName>
|
|
|
|
<finalName>${project.artifactId}</finalName>
|
|
|
|
<plugins>
|
|
|
|
<plugins>
|
|
|
|