mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-30 03:01:53 +08:00
fc444728c9
2. 引入 Excel 组件
284 lines
11 KiB
XML
284 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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>cn.iocoder</groupId>
|
|
<artifactId>dashboard</artifactId>
|
|
<version>1.0.0</version>
|
|
|
|
<name>ruoyi</name>
|
|
<url>http://www.ruoyi.vip</url>
|
|
<description>若依管理系统</description>
|
|
<packaging>jar</packaging>
|
|
|
|
<properties>
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<resource.delimiter>@</resource.delimiter>
|
|
<java.version>1.8</java.version>
|
|
<maven.compiler.source>${java.version}</maven.compiler.source>
|
|
<maven.compiler.target>${java.version}</maven.compiler.target>
|
|
<maven-compiler-plugin.version>3.8.0</maven-compiler-plugin.version>
|
|
<!-- 统一依赖管理 -->
|
|
<spring.boot.version>2.4.1</spring.boot.version>
|
|
|
|
<!-- <ruoyi.version>3.3.0</ruoyi.version>-->
|
|
<!-- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>-->
|
|
<!-- <maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>-->
|
|
<!-- <druid.version>1.2.2</druid.version>-->
|
|
<!-- <bitwalker.version>1.21</bitwalker.version>-->
|
|
<!-- <swagger.version>2.9.2</swagger.version>-->
|
|
<!-- <kaptcha.version>2.3.2</kaptcha.version>-->
|
|
<!-- <pagehelper.boot.version>1.3.0</pagehelper.boot.version>-->
|
|
<!-- <fastjson.version>1.2.74</fastjson.version>-->
|
|
<!-- <oshi.version>5.3.6</oshi.version>-->
|
|
<!-- <jna.version>5.6.0</jna.version>-->
|
|
<!-- <commons.io.version>2.5</commons.io.version>-->
|
|
<!-- <commons.fileupload.version>1.3.3</commons.fileupload.version>-->
|
|
<!-- <poi.version>4.1.2</poi.version>-->
|
|
<!-- <velocity.version>1.7</velocity.version>-->
|
|
<!-- <jwt.version>0.9.1</jwt.version>-->
|
|
|
|
<!-- Web 相关 -->
|
|
<knife4j.version>3.0.2</knife4j.version>
|
|
|
|
<!-- DB 相关 -->
|
|
<mysql-connector-java.version>5.1.46</mysql-connector-java.version>
|
|
<druid.version>1.2.4</druid.version>
|
|
<mybatis-plus.version>3.4.1</mybatis-plus.version>
|
|
<redisson.version>3.13.6</redisson.version>
|
|
<!-- 工具类相关 -->
|
|
<lombok.version>1.16.14</lombok.version>
|
|
<mapstruct.version>1.4.1.Final</mapstruct.version>
|
|
<jjwt.version>0.9.1</jjwt.version>
|
|
<fastjson.version>1.2.75</fastjson.version>
|
|
<hutool.version>5.5.6</hutool.version>
|
|
<easyexcel.verion>2.2.7</easyexcel.verion>
|
|
</properties>
|
|
|
|
<!-- 依赖声明 -->
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
|
|
<!-- <!– 解析客户端操作系统、浏览器等 –>-->
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>eu.bitwalker</groupId>-->
|
|
<!-- <artifactId>UserAgentUtils</artifactId>-->
|
|
<!-- <version>${bitwalker.version}</version>-->
|
|
<!-- </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>-->
|
|
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>net.java.dev.jna</groupId>-->
|
|
<!-- <artifactId>jna-platform</artifactId>-->
|
|
<!-- <version>${jna.version}</version>-->
|
|
<!-- </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>-->
|
|
|
|
<!-- <!–velocity代码生成使用模板 –>-->
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>org.apache.velocity</groupId>-->
|
|
<!-- <artifactId>velocity</artifactId>-->
|
|
<!-- <version>${velocity.version}</version>-->
|
|
<!-- </dependency>-->
|
|
|
|
<!-- 统一依赖管理 -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-dependencies</artifactId>
|
|
<version>${spring.boot.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<dependencies>
|
|
<!-- Spring 核心 -->
|
|
<dependency>
|
|
<!-- 用于生成自定义的 Spring @ConfigurationProperties 配置类的说明文件 -->
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
|
|
<!-- Web 相关 -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-security</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-validation</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.github.xiaoymin</groupId>
|
|
<artifactId>knife4j-spring-boot-starter</artifactId>
|
|
<version>${knife4j.version}</version>
|
|
</dependency>
|
|
|
|
<!-- DB 相关 -->
|
|
<dependency>
|
|
<groupId>mysql</groupId>
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
<version>${mysql-connector-java.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>org.redisson</groupId>
|
|
<artifactId>redisson-spring-boot-starter</artifactId>
|
|
<version>${redisson.version}</version>
|
|
</dependency>
|
|
|
|
<!-- 工具类相关 -->
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<version>${lombok.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
<artifactId>jjwt</artifactId>
|
|
<version>${jjwt.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.alibaba</groupId>
|
|
<artifactId>fastjson</artifactId>
|
|
<version>${fastjson.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<version>${lombok.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<!-- 解析客户端操作系统、浏览器等 TODO 芋艿:后面看看 hutool 有没替代 -->
|
|
<groupId>eu.bitwalker</groupId>
|
|
<artifactId>UserAgentUtils</artifactId>
|
|
<version>1.21</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>cn.hutool</groupId>
|
|
<artifactId>hutool-core</artifactId>
|
|
<version>${hutool.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>cn.hutool</groupId>
|
|
<artifactId>hutool-extra</artifactId>
|
|
<version>${hutool.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>cn.hutool</groupId>
|
|
<artifactId>hutool-captcha</artifactId>
|
|
<version>${hutool.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.alibaba</groupId>
|
|
<artifactId>easyexcel</artifactId>
|
|
<version>${easyexcel.verion}</version>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
<build>
|
|
<pluginManagement>
|
|
<plugins>
|
|
<!-- 提供给 mapstruct 使用 -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>${maven-compiler-plugin.version}</version>
|
|
<configuration>
|
|
<source>${java.version}</source> <!-- or higher, depending on your project -->
|
|
<target>${java.version}</target> <!-- or higher, depending on your project -->
|
|
<annotationProcessorPaths>
|
|
<path>
|
|
<groupId>org.mapstruct</groupId>
|
|
<artifactId>mapstruct-processor</artifactId>
|
|
<version>${mapstruct.version}</version>
|
|
</path>
|
|
<path>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<version>${lombok.version}</version>
|
|
</path>
|
|
</annotationProcessorPaths>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<!-- 打包 -->
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
<configuration>
|
|
<fork>true</fork>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
</build>
|
|
|
|
</project>
|