123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339 |
- <?xml version="1.0" encoding="UTF-8"?>
- <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns="http://maven.apache.org/POM/4.0.0"
- 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>com.yushu</groupId>
- <artifactId>iot-dependencies</artifactId>
- <version>${revision}</version>
- <packaging>pom</packaging>
- <name>${project.artifactId}</name>
- <description>基础 bom 文件,管理整个项目的依赖版本</description>
- <properties>
- <revision>1.0.0</revision>
- <!-- 统一依赖管理 -->
- <!-- https://github.com/alibaba/spring-cloud-alibaba/wiki/版本说明-->
- <spring-boot.version>2.4.2</spring-boot.version>
- <spring-cloud-alibaba.version>2021.1</spring-cloud-alibaba.version>
- <spring-cloud.version>2020.0.1</spring-cloud.version>
- <!-- Web 相关 -->
- <knife4j.version>3.0.2</knife4j.version>
- <swagger-annotations.version>1.5.22</swagger-annotations.version>
- <servlet.versoin>2.5</servlet.versoin>
- <!-- DB 相关 -->
- <mysql.version>5.1.46</mysql.version>
- <druid.version>1.2.4</druid.version>
- <mybatis-plus.version>3.4.2</mybatis-plus.version>
- <dynamic-datasource.version>3.3.2</dynamic-datasource.version>
- <redisson.version>3.16.3</redisson.version>
- <!-- Job 定时任务相关 -->
- <!-- 服务保障相关 -->
- <lock4j.version>2.2.0</lock4j.version>
- <resilience4j.version>1.7.0</resilience4j.version>
- <!-- 监控相关 -->
- <skywalking.version>8.7.0</skywalking.version>
- <spring-boot-admin.version>2.3.1</spring-boot-admin.version>
- <opentracing.version>0.31.0</opentracing.version>
- <!-- Test 测试相关 -->
- <podam.version>7.2.6.RELEASE</podam.version>
- <jedis-mock.version>0.1.16</jedis-mock.version>
- <!-- 工具类相关 -->
- <lombok.version>1.18.12</lombok.version>
- <mapstruct.version>1.4.1.Final</mapstruct.version>
- <hutool.version>5.6.1</hutool.version>
- <fastjson.version>1.2.76</fastjson.version>
- <easyexcel.verion>2.2.11</easyexcel.verion>
- <velocity.version>2.2</velocity.version>
- <screw.version>1.0.5</screw.version>
- <guava.version>30.1.1-jre</guava.version>
- <commons-io.version>2.6</commons-io.version>
- <!-- Maven Plugin Versions -->
- <maven-compiler-plugin.version>3.7.0</maven-compiler-plugin.version>
- <maven-deploy-plugin.version>2.8.2</maven-deploy-plugin.version>
- <maven-surefire-plugin.version>2.21.0</maven-surefire-plugin.version>
- <maven-source-plugin.version>2.2.1</maven-source-plugin.version>
- <maven-javadoc-plugin.version>3.1.1</maven-javadoc-plugin.version>
- <maven-gpg-plugin.version>1.6</maven-gpg-plugin.version>
- <flatten-maven-plugin.version>1.1.0</flatten-maven-plugin.version>
- <gmavenplus-plugin.version>1.6</gmavenplus-plugin.version>
- <jacoco.version>0.8.3</jacoco.version>
- </properties>
- <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>org.springframework.cloud</groupId>
- <artifactId>spring-cloud-dependencies</artifactId>
- <version>${spring-cloud.version}</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- <dependency>
- <groupId>com.alibaba.cloud</groupId>
- <artifactId>spring-cloud-alibaba-dependencies</artifactId>
- <version>${spring-cloud-alibaba.version}</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- <!-- 业务组件 -->
- <!-- Spring 核心 -->
- <dependency>
- <!-- 用于生成自定义的 Spring @ConfigurationProperties 配置类的说明文件 -->
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-configuration-processor</artifactId>
- <version>${spring-boot.version}</version>
- </dependency>
- <!-- 测试 相关 -->
- <dependency>
- <groupId>com.yushu</groupId>
- <artifactId>iot-spring-boot-starter-test</artifactId>
- <version>${revision}</version>
- </dependency>
- <dependency>
- <groupId>com.yushu</groupId>
- <artifactId>iot-spring-boot-starter-redis</artifactId>
- <version>${revision}</version>
- </dependency>
- <!-- Web 相关 -->
- <dependency>
- <groupId>com.yushu</groupId>
- <artifactId>iot-spring-boot-starter-web</artifactId>
- <version>${revision}</version>
- </dependency>
- <dependency>
- <groupId>com.github.xiaoymin</groupId>
- <artifactId>knife4j-spring-boot-starter</artifactId>
- <version>${knife4j.version}</version>
- <exclusions>
- <exclusion>
- <artifactId>mapstruct</artifactId>
- <groupId>org.mapstruct</groupId> <!-- 避免冲突 -->
- </exclusion>
- <exclusion>
- <artifactId>guava</artifactId>
- <groupId>com.google.guava</groupId>
- </exclusion>
- <exclusion>
- <artifactId>swagger-annotations</artifactId>
- <groupId>io.swagger</groupId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>io.swagger</groupId>
- <artifactId>swagger-annotations</artifactId>
- <version>${swagger-annotations.version}</version>
- </dependency>
- <!-- DB 相关 -->
- <dependency>
- <groupId>com.yushu</groupId>
- <artifactId>iot-spring-boot-starter-mybatis</artifactId>
- <version>${revision}</version>
- </dependency>
- <dependency>
- <groupId>mysql</groupId>
- <artifactId>mysql-connector-java</artifactId>
- <version>${mysql.version}</version>
- </dependency>
- <dependency>
- <groupId>com.alibaba</groupId>
- <artifactId>druid-spring-boot-starter</artifactId>
- <version>${druid.version}</version>
- </dependency>
- <dependency>
- <groupId>com.baomidou</groupId>
- <artifactId>mybatis-plus-boot-starter</artifactId>
- <version>${mybatis-plus.version}</version>
- </dependency>
- <dependency>
- <groupId>com.baomidou</groupId>
- <artifactId>dynamic-datasource-spring-boot-starter</artifactId> <!-- 多数据源 -->
- <version>${dynamic-datasource.version}</version>
- </dependency>
- <dependency>
- <groupId>org.redisson</groupId>
- <artifactId>redisson-spring-boot-starter</artifactId>
- <version>${redisson.version}</version>
- </dependency>
- <dependency>
- <groupId>com.baomidou</groupId>
- <artifactId>lock4j-redisson-spring-boot-starter</artifactId>
- <version>${lock4j.version}</version>
- <exclusions>
- <exclusion>
- <artifactId>redisson-spring-boot-starter</artifactId>
- <groupId>org.redisson</groupId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>io.github.resilience4j</groupId>
- <artifactId>resilience4j-ratelimiter</artifactId>
- <version>${resilience4j.version}</version>
- </dependency>
- <dependency>
- <groupId>io.github.resilience4j</groupId>
- <artifactId>resilience4j-spring-boot2</artifactId>
- <version>${resilience4j.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.skywalking</groupId>
- <artifactId>apm-toolkit-trace</artifactId>
- <version>${skywalking.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.skywalking</groupId>
- <artifactId>apm-toolkit-log4j-2.x</artifactId>
- <version>${skywalking.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.skywalking</groupId>
- <artifactId>apm-toolkit-opentracing</artifactId>
- <version>${skywalking.version}</version>
- </dependency>
- <dependency>
- <groupId>io.opentracing</groupId>
- <artifactId>opentracing-util</artifactId>
- <version>${opentracing.version}</version>
- </dependency>
- <dependency>
- <groupId>de.codecentric</groupId>
- <artifactId>spring-boot-admin-starter-server</artifactId> <!-- 实现 Spring Boot Admin Server 服务端 -->
- <version>${spring-boot-admin.version}</version>
- </dependency>
- <dependency>
- <groupId>de.codecentric</groupId>
- <artifactId>spring-boot-admin-starter-client</artifactId> <!-- 实现 Spring Boot Admin Server 服务端 -->
- <version>${spring-boot-admin.version}</version>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-test</artifactId>
- <version>${spring-boot.version}</version>
- <exclusions>
- <exclusion>
- <artifactId>asm</artifactId>
- <groupId>org.ow2.asm</groupId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>com.github.fppt</groupId> <!-- 单元测试,我们采用内嵌的 Redis 数据库 -->
- <artifactId>jedis-mock</artifactId>
- <version>${jedis-mock.version}</version>
- </dependency>
- <dependency>
- <groupId>uk.co.jemos.podam</groupId> <!-- 单元测试,随机生成 POJO 类 -->
- <artifactId>podam</artifactId>
- <version>${podam.version}</version>
- </dependency>
- <!-- 工具类相关 -->
- <dependency>
- <groupId>com.yushu</groupId>
- <artifactId>iot-common</artifactId>
- <version>${revision}</version>
- </dependency>
- <dependency>
- <groupId>com.yushu</groupId>
- <artifactId>iot-spring-boot-starter-excel</artifactId>
- <version>${revision}</version>
- </dependency>
- <dependency>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- <version>${lombok.version}</version>
- </dependency>
- <dependency>
- <groupId>org.mapstruct</groupId>
- <artifactId>mapstruct</artifactId> <!-- use mapstruct-jdk8 for Java 8 or higher -->
- <version>${mapstruct.version}</version>
- </dependency>
- <dependency>
- <groupId>org.mapstruct</groupId>
- <artifactId>mapstruct-jdk8</artifactId>
- <version>${mapstruct.version}</version>
- </dependency>
- <dependency>
- <groupId>org.mapstruct</groupId>
- <artifactId>mapstruct-processor</artifactId>
- <version>${mapstruct.version}</version>
- </dependency>
- <dependency>
- <groupId>cn.hutool</groupId>
- <artifactId>hutool-all</artifactId>
- <version>${hutool.version}</version>
- </dependency>
- <dependency>
- <groupId>com.alibaba</groupId>
- <artifactId>fastjson</artifactId>
- <version>${fastjson.version}</version>
- </dependency>
- <dependency>
- <groupId>com.alibaba</groupId>
- <artifactId>easyexcel</artifactId>
- <version>${easyexcel.verion}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.velocity</groupId>
- <artifactId>velocity-engine-core</artifactId>
- <version>${velocity.version}</version>
- </dependency>
- <!-- 实现数据库文档 -->
- <dependency>
- <groupId>cn.smallbun.screw</groupId>
- <artifactId>screw-core</artifactId>
- <version>${screw.version}</version>
- </dependency>
- <dependency>
- <groupId>com.google.guava</groupId>
- <artifactId>guava</artifactId>
- <version>${guava.version}</version>
- </dependency>
- <dependency>
- <groupId>commons-io</groupId>
- <artifactId>commons-io</artifactId>
- <version>${commons-io.version}</version>
- </dependency>
- <dependency>
- <groupId>com.alibaba.cloud</groupId>
- <artifactId>spring-cloud-starter-stream-rocketmq</artifactId>
- <version>${spring-cloud-alibaba.version}</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
- </project>
|