341 lines
13 KiB
XML
341 lines
13 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>com.maibu</groupId>
|
|
<artifactId>MiddlePlatform</artifactId>
|
|
<version>4.0.0</version>
|
|
|
|
<name>MiddlePlatform</name>
|
|
<description>物联网中台</description>
|
|
|
|
<properties>
|
|
<maibu.version>4.0.0</maibu.version>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
<java.version>1.8</java.version>
|
|
<maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
|
|
<bitwalker.version>1.21</bitwalker.version>
|
|
<swagger.version>3.0.0</swagger.version>
|
|
<kaptcha.version>2.3.3</kaptcha.version>
|
|
<mybatis-spring-boot.version>2.2.0</mybatis-spring-boot.version>
|
|
<pagehelper.boot.version>1.4.6</pagehelper.boot.version>
|
|
<fastjson.version>2.0.20</fastjson.version>
|
|
<oshi.version>6.1.6</oshi.version>
|
|
<jna.version>5.9.0</jna.version>
|
|
<commons.io.version>2.11.0</commons.io.version>
|
|
<commons.fileupload.version>1.4</commons.fileupload.version>
|
|
<commons.collections.version>3.2.2</commons.collections.version>
|
|
<poi.version>4.1.2</poi.version>
|
|
<velocity.version>2.3</velocity.version>
|
|
<jwt.version>0.9.1</jwt.version>
|
|
<justAuth.version>1.16.5</justAuth.version>
|
|
<forest.version>1.5.36</forest.version>
|
|
<lombok.version>1.18.24</lombok.version>
|
|
<!-- <rocketmq.version>2.2.1</rocketmq.version>-->
|
|
<hutool.version>5.8.20</hutool.version>
|
|
<!-- <mapstruct.version>1.5.5.Final</mapstruct.version>-->
|
|
<mybatis-plus.version>3.5.3.1</mybatis-plus.version>
|
|
<mybatis-plus-generator.version>3.5.3.1</mybatis-plus-generator.version>
|
|
<!-- <guava.version>32.0.1-jre</guava.version>-->
|
|
<!-- <easyexcel.version>3.3.1</easyexcel.version>-->
|
|
<redisson.version>3.23.1</redisson.version>
|
|
<lock4j.version>2.2.7</lock4j.version>
|
|
<!-- <zxing.version>3.3.3</zxing.version>-->
|
|
<druid.version>1.2.23</druid.version>
|
|
<shardingsphere.version>5.1.1</shardingsphere.version>
|
|
<!-- <dynamic-datasource.version>3.3.2</dynamic-datasource.version>-->
|
|
<okhttp3.version>4.10.0</okhttp3.version>
|
|
</properties>
|
|
|
|
<!-- 依赖声明 -->
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
|
|
<!-- SpringBoot的依赖配置-->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-dependencies</artifactId>
|
|
<version>2.5.14</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
|
|
<!-- 解析客户端操作系统、浏览器等 -->
|
|
<dependency>
|
|
<groupId>eu.bitwalker</groupId>
|
|
<artifactId>UserAgentUtils</artifactId>
|
|
<version>${bitwalker.version}</version>
|
|
</dependency>
|
|
|
|
<!-- mybatis plus -->
|
|
<dependency>
|
|
<groupId>com.baomidou</groupId>
|
|
<artifactId>mybatis-plus-boot-starter</artifactId>
|
|
<version>${mybatis-plus.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.baomidou</groupId>
|
|
<artifactId>mybatis-plus-generator</artifactId>
|
|
<version>${mybatis-plus-generator.version}</version>
|
|
</dependency>
|
|
|
|
<!-- pagehelper 分页插件 -->
|
|
<dependency>
|
|
<groupId>com.github.pagehelper</groupId>
|
|
<artifactId>pagehelper-spring-boot-starter</artifactId>
|
|
<version>${pagehelper.boot.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.mybatis</groupId>
|
|
<artifactId>mybatis</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>mybatis-spring</artifactId>
|
|
<groupId>org.mybatis</groupId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>jsqlparser</artifactId>
|
|
<groupId>com.github.jsqlparser</groupId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<!-- 获取系统信息 -->
|
|
<dependency>
|
|
<groupId>com.github.oshi</groupId>
|
|
<artifactId>oshi-core</artifactId>
|
|
<version>${oshi.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>net.java.dev.jna</groupId>
|
|
<artifactId>jna</artifactId>
|
|
<version>${jna.version}</version>
|
|
</dependency>
|
|
|
|
<!-- Swagger3依赖 -->
|
|
<dependency>
|
|
<groupId>io.springfox</groupId>
|
|
<artifactId>springfox-boot-starter</artifactId>
|
|
<version>${swagger.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>io.swagger</groupId>
|
|
<artifactId>swagger-models</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<!-- io常用工具类 -->
|
|
<dependency>
|
|
<groupId>commons-io</groupId>
|
|
<artifactId>commons-io</artifactId>
|
|
<version>${commons.io.version}</version>
|
|
</dependency>
|
|
|
|
<!-- 文件上传工具类 -->
|
|
<dependency>
|
|
<groupId>commons-fileupload</groupId>
|
|
<artifactId>commons-fileupload</artifactId>
|
|
<version>${commons.fileupload.version}</version>
|
|
</dependency>
|
|
|
|
<!-- excel工具 -->
|
|
<dependency>
|
|
<groupId>org.apache.poi</groupId>
|
|
<artifactId>poi-ooxml</artifactId>
|
|
<version>${poi.version}</version>
|
|
</dependency>
|
|
|
|
<!-- collections工具类 -->
|
|
<dependency>
|
|
<groupId>commons-collections</groupId>
|
|
<artifactId>commons-collections</artifactId>
|
|
<version>${commons.collections.version}</version>
|
|
</dependency>
|
|
|
|
<!--lombok-->
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<version>${lombok.version}</version>
|
|
</dependency>
|
|
|
|
<!-- 阿里JSON解析器 -->
|
|
<dependency>
|
|
<groupId>com.alibaba.fastjson2</groupId>
|
|
<artifactId>fastjson2</artifactId>
|
|
<version>${fastjson.version}</version>
|
|
</dependency>
|
|
|
|
<!-- Token生成与解析-->
|
|
<dependency>
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
<artifactId>jjwt</artifactId>
|
|
<version>${jwt.version}</version>
|
|
</dependency>
|
|
|
|
<!-- 验证码 -->
|
|
<dependency>
|
|
<groupId>pro.fessional</groupId>
|
|
<artifactId>kaptcha</artifactId>
|
|
<version>${kaptcha.version}</version>
|
|
</dependency>
|
|
|
|
<!--Hutool Java工具包-->
|
|
<dependency>
|
|
<groupId>cn.hutool</groupId>
|
|
<artifactId>hutool-all</artifactId>
|
|
<version>${hutool.version}</version>
|
|
</dependency>
|
|
<!-- 核心模块-->
|
|
<dependency>
|
|
<groupId>com.maibu</groupId>
|
|
<artifactId>maibu-framework</artifactId>
|
|
<version>${maibu.version}</version>
|
|
</dependency>
|
|
|
|
<!-- 通用工具-->
|
|
<dependency>
|
|
<groupId>com.maibu</groupId>
|
|
<artifactId>maibu-common</artifactId>
|
|
<version>${maibu.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.maibu</groupId>
|
|
<artifactId>maibu-netty-server</artifactId>
|
|
<version>${maibu.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.maibu</groupId>
|
|
<artifactId>maibu-webrtc-server</artifactId>
|
|
<version>${maibu.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>com.google.guava</groupId>-->
|
|
<!-- <artifactId>guava</artifactId>-->
|
|
<!-- <version>${guava.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>com.alibaba</groupId>-->
|
|
<!-- <artifactId>easyexcel-core</artifactId>-->
|
|
<!-- <version>${easyexcel.version}</version>-->
|
|
<!-- </dependency>-->
|
|
<!--二维码-->
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>com.google.zxing</groupId>-->
|
|
<!-- <artifactId>core</artifactId>-->
|
|
<!-- <version>${zxing.version}</version>-->
|
|
<!-- </dependency>-->
|
|
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>com.google.zxing</groupId>-->
|
|
<!-- <artifactId>javase</artifactId>-->
|
|
<!-- <version>${zxing.version}</version>-->
|
|
<!-- </dependency>-->
|
|
<!-- OkHttp3依赖 -->
|
|
<dependency>
|
|
<groupId>com.squareup.okhttp3</groupId>
|
|
<artifactId>okhttp</artifactId>
|
|
<version>${okhttp3.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<modules>
|
|
<module>maibu-admin</module>
|
|
<module>maibu-framework</module>
|
|
<module>maibu-common</module>
|
|
<module>maibu-external</module>
|
|
<module>maibu-netty-server</module>
|
|
<module>maibu-web-middleware</module>
|
|
<module>maibu-webrtc-server</module>
|
|
<module>maibu-iotDA</module>
|
|
<module>maibu-service</module>
|
|
</modules>
|
|
<packaging>pom</packaging>
|
|
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.1</version>
|
|
<configuration>
|
|
<source>${java.version}</source>
|
|
<target>${java.version}</target>
|
|
<encoding>${project.build.sourceEncoding}</encoding>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>public</id>
|
|
<name>aliyun nexus</name>
|
|
<url>https://maven.aliyun.com/repository/public</url>
|
|
<releases>
|
|
<enabled>true</enabled>
|
|
</releases>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<pluginRepositories>
|
|
<pluginRepository>
|
|
<id>public</id>
|
|
<name>aliyun nexus</name>
|
|
<url>https://maven.aliyun.com/repository/public</url>
|
|
<releases>
|
|
<enabled>true</enabled>
|
|
</releases>
|
|
<snapshots>
|
|
<enabled>false</enabled>
|
|
</snapshots>
|
|
</pluginRepository>
|
|
</pluginRepositories>
|
|
|
|
</project>
|