From 48a0c64057bb04cd12db17caf1ef4de9c35d12f4 Mon Sep 17 00:00:00 2001 From: RuoYi <yzz_ivy@163.com> Date: 星期日, 19 十二月 2021 19:47:19 +0800 Subject: [PATCH] 升级log4j2到安全版本,防止漏洞风险 --- pom.xml | 15 +++++---------- 1 files changed, 5 insertions(+), 10 deletions(-) diff --git a/pom.xml b/pom.xml index 2ee5877..a40cc94 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ <groupId>com.ruoyi</groupId> <artifactId>ruoyi</artifactId> - <version>3.7.0</version> + <version>3.8.0</version> <packaging>jar</packaging> <name>ruoyi</name> @@ -15,7 +15,7 @@ <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> - <version>2.5.5</version> + <version>2.5.6</version> <relativePath /> </parent> @@ -38,7 +38,8 @@ <poi.version>4.1.2</poi.version> <oshi.version>5.8.2</oshi.version> <jna.version>5.9.0</jna.version> - <velocity.version>1.7</velocity.version> + <velocity.version>2.3</velocity.version> + <log4j2.version>2.17.0</log4j2.version> </properties> <dependencies> @@ -217,14 +218,8 @@ <!-- velocity浠g爜鐢熸垚浣跨敤妯℃澘 --> <dependency> <groupId>org.apache.velocity</groupId> - <artifactId>velocity</artifactId> + <artifactId>velocity-engine-core</artifactId> <version>${velocity.version}</version> - <exclusions> - <exclusion> - <groupId>commons-collections</groupId> - <artifactId>commons-collections</artifactId> - </exclusion> - </exclusions> </dependency> <!-- collections宸ュ叿绫� --> -- Gitblit v1.9.3