329 lines
11 KiB
XML
329 lines
11 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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|||
|
|
<modelVersion>4.0.0</modelVersion>
|
|||
|
|
<groupId>com.aiotagro</groupId>
|
|||
|
|
<artifactId>cattletrade</artifactId>
|
|||
|
|
<version>1.0.1</version>
|
|||
|
|
<name>aiotagro-cattletrade</name>
|
|||
|
|
<description>aiotagro-cattletrade</description>
|
|||
|
|
<properties>
|
|||
|
|
<aiotagro.version>1.0.1</aiotagro.version>
|
|||
|
|
<java.version>1.8</java.version>
|
|||
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|||
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|||
|
|
<spring-boot.version>2.6.0</spring-boot.version>
|
|||
|
|
<spring-boot-admin.version>2.7.11</spring-boot-admin.version>
|
|||
|
|
<swagger.fox.version>3.0.0</swagger.fox.version>
|
|||
|
|
<tobato.version>1.27.2</tobato.version>
|
|||
|
|
<kaptcha.version>2.3.3</kaptcha.version>
|
|||
|
|
<druid.version>1.2.20</druid.version>
|
|||
|
|
<dynamic-ds.version>4.2.0</dynamic-ds.version>
|
|||
|
|
<commons.io.version>2.13.0</commons.io.version>
|
|||
|
|
<velocity.version>2.3</velocity.version>
|
|||
|
|
<fastjson.version>2.0.43</fastjson.version>
|
|||
|
|
<jjwt.version>0.9.1</jjwt.version>
|
|||
|
|
<minio.version>8.2.2</minio.version>
|
|||
|
|
<poi.version>4.1.2</poi.version>
|
|||
|
|
<transmittable-thread-local.version>2.14.4</transmittable-thread-local.version>
|
|||
|
|
<mybatis-plus.version>3.5.3.2</mybatis-plus.version>
|
|||
|
|
<bizlog.version>3.0.6</bizlog.version>
|
|||
|
|
<retrofit.version>2.2.18</retrofit.version>
|
|||
|
|
<saToken.version>1.37.0</saToken.version>
|
|||
|
|
<hutool.version>5.8.25</hutool.version>
|
|||
|
|
<oshi.version>6.4.11</oshi.version>
|
|||
|
|
<bitwalker.version>1.21</bitwalker.version>
|
|||
|
|
<tencent.cos.version>5.6.89</tencent.cos.version>
|
|||
|
|
<tencentcloud.java.sdk>3.1.423</tencentcloud.java.sdk>
|
|||
|
|
</properties>
|
|||
|
|
|
|||
|
|
<dependencies>
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>org.springframework.boot</groupId>
|
|||
|
|
<artifactId>spring-boot-starter</artifactId>
|
|||
|
|
</dependency>
|
|||
|
|
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>org.springframework.boot</groupId>
|
|||
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|||
|
|
<scope>test</scope>
|
|||
|
|
</dependency>
|
|||
|
|
<!-- <dependency>-->
|
|||
|
|
<!-- <groupId>com.aliyun</groupId>-->
|
|||
|
|
<!-- <artifactId>pcdn20170411</artifactId>-->
|
|||
|
|
<!-- <version></version>-->
|
|||
|
|
<!-- </dependency>-->
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>com.github.qcloudsms</groupId>
|
|||
|
|
<artifactId>qcloudsms</artifactId>
|
|||
|
|
<version>1.0.6</version>
|
|||
|
|
</dependency>
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>com.baomidou</groupId>
|
|||
|
|
<artifactId>mybatis-plus-generator</artifactId>
|
|||
|
|
<version>3.5.1</version>
|
|||
|
|
</dependency>
|
|||
|
|
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>org.springframework.boot</groupId>
|
|||
|
|
<artifactId>spring-boot-starter-freemarker</artifactId>
|
|||
|
|
</dependency>
|
|||
|
|
</dependencies>
|
|||
|
|
|
|||
|
|
<modules>
|
|||
|
|
<module>aiotagro-core</module>
|
|||
|
|
<module>aiotagro-redis</module>
|
|||
|
|
<module>aiotagro-cattle-trade</module>
|
|||
|
|
</modules>
|
|||
|
|
|
|||
|
|
<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>
|
|||
|
|
|
|||
|
|
<!-- SpringBoot 依赖配置 -->
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>org.springframework.boot</groupId>
|
|||
|
|
<artifactId>spring-boot-dependencies</artifactId>
|
|||
|
|
<version>${spring-boot.version}</version>
|
|||
|
|
<type>pom</type>
|
|||
|
|
<scope>import</scope>
|
|||
|
|
</dependency>
|
|||
|
|
|
|||
|
|
<!-- FastDFS 分布式文件系统 -->
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>com.github.tobato</groupId>
|
|||
|
|
<artifactId>fastdfs-client</artifactId>
|
|||
|
|
<version>${tobato.version}</version>
|
|||
|
|
</dependency>
|
|||
|
|
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>cn.hutool</groupId>
|
|||
|
|
<artifactId>hutool-all</artifactId>
|
|||
|
|
<version>${hutool.version}</version>
|
|||
|
|
</dependency>
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
<!-- io常用工具类 -->
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>commons-io</groupId>
|
|||
|
|
<artifactId>commons-io</artifactId>
|
|||
|
|
<version>${commons.io.version}</version>
|
|||
|
|
</dependency>
|
|||
|
|
|
|||
|
|
<!-- excel工具 -->
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>org.apache.poi</groupId>
|
|||
|
|
<artifactId>poi-ooxml</artifactId>
|
|||
|
|
<version>${poi.version}</version>
|
|||
|
|
</dependency>
|
|||
|
|
<!-- JSON 解析器和生成器 -->
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>com.alibaba.fastjson2</groupId>
|
|||
|
|
<artifactId>fastjson2</artifactId>
|
|||
|
|
<version>${fastjson.version}</version>
|
|||
|
|
</dependency>
|
|||
|
|
|
|||
|
|
<!-- JWT -->
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>io.jsonwebtoken</groupId>
|
|||
|
|
<artifactId>jjwt</artifactId>
|
|||
|
|
<version>${jjwt.version}</version>
|
|||
|
|
</dependency>
|
|||
|
|
|
|||
|
|
<!-- 线程传递值 -->
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>com.alibaba</groupId>
|
|||
|
|
<artifactId>transmittable-thread-local</artifactId>
|
|||
|
|
<version>${transmittable-thread-local.version}</version>
|
|||
|
|
</dependency>
|
|||
|
|
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>com.aiotagro</groupId>
|
|||
|
|
<artifactId>aiotagro-core</artifactId>
|
|||
|
|
<version>${aiotagro.version}</version>
|
|||
|
|
</dependency>
|
|||
|
|
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>com.aiotagro</groupId>
|
|||
|
|
<artifactId>aiotagro-redis</artifactId>
|
|||
|
|
<version>${aiotagro.version}</version>
|
|||
|
|
</dependency>
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>com.baomidou</groupId>
|
|||
|
|
<artifactId>mybatis-plus-boot-starter</artifactId>
|
|||
|
|
<version>${mybatis-plus.version}</version>
|
|||
|
|
</dependency>
|
|||
|
|
|
|||
|
|
|
|||
|
|
<!-- 日志依赖-->
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>io.github.mouzt</groupId>
|
|||
|
|
<artifactId>bizlog-sdk</artifactId>
|
|||
|
|
<version>${bizlog.version}</version>
|
|||
|
|
</dependency>
|
|||
|
|
|
|||
|
|
<!--Retrofit依赖-->
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>com.github.lianjiatech</groupId>
|
|||
|
|
<artifactId>retrofit-spring-boot-starter</artifactId>
|
|||
|
|
<version>${retrofit.version}</version>
|
|||
|
|
</dependency>
|
|||
|
|
|
|||
|
|
|
|||
|
|
<!-- 阿里数据库连接池 -->
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>com.alibaba</groupId>
|
|||
|
|
<artifactId>druid</artifactId>
|
|||
|
|
<version>${druid.version}</version>
|
|||
|
|
</dependency>
|
|||
|
|
|
|||
|
|
<!-- Sa-Token 权限认证,在线文档:https://sa-token.cc -->
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>cn.dev33</groupId>
|
|||
|
|
<artifactId>sa-token-spring-boot-starter</artifactId>
|
|||
|
|
<version>${saToken.version}</version>
|
|||
|
|
</dependency>
|
|||
|
|
|
|||
|
|
|
|||
|
|
<!-- Sa-Token 整合 Redis (使用 jackson序列化方式) -->
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>cn.dev33</groupId>
|
|||
|
|
<artifactId>sa-token-redis-jackson</artifactId>
|
|||
|
|
<version>${saToken.version}</version>
|
|||
|
|
</dependency>
|
|||
|
|
|
|||
|
|
<!-- Sa-Token 整合 jwt -->
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>cn.dev33</groupId>
|
|||
|
|
<artifactId>sa-token-jwt</artifactId>
|
|||
|
|
<version>${saToken.version}</version>
|
|||
|
|
</dependency>
|
|||
|
|
|
|||
|
|
|
|||
|
|
<!-- 获取系统信息 -->
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>com.github.oshi</groupId>
|
|||
|
|
<artifactId>oshi-core</artifactId>
|
|||
|
|
<version>${oshi.version}</version>
|
|||
|
|
</dependency>
|
|||
|
|
|
|||
|
|
<!-- 解析客户端操作系统、浏览器等 -->
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>eu.bitwalker</groupId>
|
|||
|
|
<artifactId>UserAgentUtils</artifactId>
|
|||
|
|
<version>${bitwalker.version}</version>
|
|||
|
|
</dependency>
|
|||
|
|
|
|||
|
|
|
|||
|
|
<!--腾讯云短信依赖-->
|
|||
|
|
<!-- https://mvnrepository.com/artifact/com.tencentcloudapi/tencentcloud-sdk-java -->
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>com.tencentcloudapi</groupId>
|
|||
|
|
<artifactId>tencentcloud-sdk-java</artifactId>
|
|||
|
|
<version>${tencentcloud.java.sdk}</version>
|
|||
|
|
</dependency>
|
|||
|
|
|
|||
|
|
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>com.qcloud</groupId>
|
|||
|
|
<artifactId>cos_api</artifactId>
|
|||
|
|
<version>${tencent.cos.version}</version>
|
|||
|
|
</dependency>
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
</dependencies>
|
|||
|
|
</dependencyManagement>
|
|||
|
|
|
|||
|
|
<packaging>pom</packaging>
|
|||
|
|
<build>
|
|||
|
|
<plugins>
|
|||
|
|
<plugin>
|
|||
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|||
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|||
|
|
<configuration>
|
|||
|
|
<source>${java.version}</source>
|
|||
|
|
<target>${java.version}</target>
|
|||
|
|
<encoding>${project.build.sourceEncoding}</encoding>
|
|||
|
|
</configuration>
|
|||
|
|
</plugin>
|
|||
|
|
</plugins>
|
|||
|
|
<pluginManagement>
|
|||
|
|
<plugins>
|
|||
|
|
<plugin>
|
|||
|
|
<groupId>org.springframework.boot</groupId>
|
|||
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|||
|
|
<version>${spring-boot.version}</version>
|
|||
|
|
<executions>
|
|||
|
|
<execution>
|
|||
|
|
<goals>
|
|||
|
|
<goal>repackage</goal>
|
|||
|
|
</goals>
|
|||
|
|
</execution>
|
|||
|
|
</executions>
|
|||
|
|
</plugin>
|
|||
|
|
</plugins>
|
|||
|
|
</pluginManagement>
|
|||
|
|
</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>
|
|||
|
|
|
|||
|
|
<profiles>
|
|||
|
|
<profile>
|
|||
|
|
<id>dev</id>
|
|||
|
|
<activation>
|
|||
|
|
<activeByDefault>true</activeByDefault>
|
|||
|
|
</activation>
|
|||
|
|
<properties>
|
|||
|
|
<profiles.active>dev</profiles.active>
|
|||
|
|
</properties>
|
|||
|
|
</profile>
|
|||
|
|
<profile>
|
|||
|
|
<id>demo</id>
|
|||
|
|
<properties>
|
|||
|
|
<profiles.active>demo</profiles.active>
|
|||
|
|
</properties>
|
|||
|
|
</profile>
|
|||
|
|
|
|||
|
|
<profile>
|
|||
|
|
<id>prod</id>
|
|||
|
|
<properties>
|
|||
|
|
<profiles.active>prod</profiles.active>
|
|||
|
|
</properties>
|
|||
|
|
</profile>
|
|||
|
|
</profiles>
|
|||
|
|
</project>
|