mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-22 15:21:53 +08:00
f574eec4ba
使用 spring boot 2.4.1 启动项目
267 lines
11 KiB
XML
267 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>
|
|
|
|
<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 相关 -->
|
|
|
|
<!-- 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>
|
|
<!-- 工具类相关 -->
|
|
<org.projectlombok.version>1.16.14</org.projectlombok.version>
|
|
<org.mapstruct.version>1.3.0.Final</org.mapstruct.version>
|
|
</properties>
|
|
|
|
<!-- 依赖声明 -->
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
|
|
<!-- <!–阿里数据库连接池 –>-->
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>com.alibaba</groupId>-->
|
|
<!-- <artifactId>druid-spring-boot-starter</artifactId>-->
|
|
<!-- <version>${druid.version}</version>-->
|
|
<!-- </dependency>-->
|
|
|
|
<!-- <!– 解析客户端操作系统、浏览器等 –>-->
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>eu.bitwalker</groupId>-->
|
|
<!-- <artifactId>UserAgentUtils</artifactId>-->
|
|
<!-- <version>${bitwalker.version}</version>-->
|
|
<!-- </dependency>-->
|
|
|
|
<!-- <!– pagehelper 分页插件 –>-->
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>com.github.pagehelper</groupId>-->
|
|
<!-- <artifactId>pagehelper-spring-boot-starter</artifactId>-->
|
|
<!-- <version>${pagehelper.boot.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>-->
|
|
|
|
<!-- <!– swagger2–>-->
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>io.springfox</groupId>-->
|
|
<!-- <artifactId>springfox-swagger2</artifactId>-->
|
|
<!-- <version>${swagger.version}</version>-->
|
|
<!-- <exclusions>-->
|
|
<!-- <exclusion>-->
|
|
<!-- <groupId>io.swagger</groupId>-->
|
|
<!-- <artifactId>swagger-annotations</artifactId>-->
|
|
<!-- </exclusion>-->
|
|
<!-- <exclusion>-->
|
|
<!-- <groupId>io.swagger</groupId>-->
|
|
<!-- <artifactId>swagger-models</artifactId>-->
|
|
<!-- </exclusion>-->
|
|
<!-- </exclusions>-->
|
|
<!-- </dependency>-->
|
|
|
|
<!-- <!– swagger2-UI–>-->
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>io.springfox</groupId>-->
|
|
<!-- <artifactId>springfox-swagger-ui</artifactId>-->
|
|
<!-- <version>${swagger.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>-->
|
|
|
|
<!-- <!– excel工具 –>-->
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>org.apache.poi</groupId>-->
|
|
<!-- <artifactId>poi-ooxml</artifactId>-->
|
|
<!-- <version>${poi.version}</version>-->
|
|
<!-- </dependency>-->
|
|
|
|
<!-- <!–velocity代码生成使用模板 –>-->
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>org.apache.velocity</groupId>-->
|
|
<!-- <artifactId>velocity</artifactId>-->
|
|
<!-- <version>${velocity.version}</version>-->
|
|
<!-- </dependency>-->
|
|
|
|
<!-- <!– 阿里JSON解析器 –>-->
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>com.alibaba</groupId>-->
|
|
<!-- <artifactId>fastjson</artifactId>-->
|
|
<!-- <version>${fastjson.version}</version>-->
|
|
<!-- </dependency>-->
|
|
|
|
<!-- <!–Token生成与解析–>-->
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>io.jsonwebtoken</groupId>-->
|
|
<!-- <artifactId>jjwt</artifactId>-->
|
|
<!-- <version>${jwt.version}</version>-->
|
|
<!-- </dependency>-->
|
|
|
|
<!-- <!–验证码 –>-->
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>com.github.penggle</groupId>-->
|
|
<!-- <artifactId>kaptcha</artifactId>-->
|
|
<!-- <version>${kaptcha.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>
|
|
|
|
<!-- <modules>-->
|
|
<!-- <module>ruoyi-admin</module>-->
|
|
<!-- <module>ruoyi-framework</module>-->
|
|
<!-- <module>ruoyi-system</module>-->
|
|
<!-- <module>ruoyi-quartz</module>-->
|
|
<!-- <module>ruoyi-generator</module>-->
|
|
<!-- <module>ruoyi-common</module>-->
|
|
<!-- </modules>-->
|
|
<packaging>jar</packaging>
|
|
|
|
<dependencies>
|
|
|
|
<!-- Web 相关 -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
</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.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<version>${org.projectlombok.version}</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>${org.mapstruct.version}</version>
|
|
</path>
|
|
<path>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<version>${org.projectlombok.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>
|