|
@@ -0,0 +1,93 @@
|
|
|
|
|
+<?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>
|
|
|
|
|
+ <parent>
|
|
|
|
|
+ <groupId>com.zksy</groupId>
|
|
|
|
|
+ <artifactId>dh-server-micro</artifactId>
|
|
|
|
|
+ <version>1.0.0</version>
|
|
|
|
|
+ </parent>
|
|
|
|
|
+ <groupId>org.example</groupId>
|
|
|
|
|
+ <artifactId>infrared-reading-meter-service</artifactId>
|
|
|
|
|
+ <version>1.0-SNAPSHOT</version>
|
|
|
|
|
+
|
|
|
|
|
+ <properties>
|
|
|
|
|
+ <maven.compiler.source>11</maven.compiler.source>
|
|
|
|
|
+ <maven.compiler.target>11</maven.compiler.target>
|
|
|
|
|
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
|
+ </properties>
|
|
|
|
|
+
|
|
|
|
|
+ <dependencies>
|
|
|
|
|
+ <!--common-->
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>com.zksy</groupId>
|
|
|
|
|
+ <artifactId>zksy-common</artifactId>
|
|
|
|
|
+ <version>1.0.0</version>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
|
|
+ <artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ <!--数据库-->
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>mysql</groupId>
|
|
|
|
|
+ <artifactId>mysql-connector-java</artifactId>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ <!--mybatis-->
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>com.baomidou</groupId>
|
|
|
|
|
+ <artifactId>mybatis-plus-boot-starter</artifactId>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ <!--nacos 服务注册发现-->
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>com.alibaba.cloud</groupId>
|
|
|
|
|
+ <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ <!--负载均衡-->
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>org.springframework.cloud</groupId>
|
|
|
|
|
+ <artifactId>spring-cloud-starter-loadbalancer</artifactId>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ <!--统一配置管理-->
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>com.alibaba.cloud</groupId>
|
|
|
|
|
+ <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ <!--加载bootstrap-->
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>org.springframework.cloud</groupId>
|
|
|
|
|
+ <artifactId>spring-cloud-starter-bootstrap</artifactId>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ <!--redis-->
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
|
|
+ <artifactId>spring-boot-starter-data-redis</artifactId>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ <!--sentinel-->
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>com.alibaba.cloud</groupId>
|
|
|
|
|
+ <artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ <!--netty依赖-->
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>io.netty</groupId>
|
|
|
|
|
+ <artifactId>netty-all</artifactId>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ <!--websocket-->
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
|
|
+ <artifactId>spring-boot-starter-websocket</artifactId>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ </dependencies>
|
|
|
|
|
+
|
|
|
|
|
+ <build>
|
|
|
|
|
+ <finalName>${project.artifactId}</finalName>
|
|
|
|
|
+ <plugins>
|
|
|
|
|
+ <plugin>
|
|
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
|
|
+ <artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
|
+ </plugin>
|
|
|
|
|
+ </plugins>
|
|
|
|
|
+ </build>
|
|
|
|
|
+</project>
|