⬆️ 升级依赖

This commit is contained in:
ronger 2022-10-23 16:10:10 +08:00
parent 04059b084a
commit 0fae282b3c

31
pom.xml
View File

@ -13,7 +13,8 @@
<version>0.0.1</version> <version>0.0.1</version>
<packaging>war</packaging> <packaging>war</packaging>
<name>forest</name> <name>forest</name>
<description>forest(森林) —— 一款现代化的知识社区后台项目,使用 SpringBoot + Shrio + MyBatis + JWT + Redis 实现。</description> <description>forest(森林) —— 一款现代化的知识社区后台项目,使用 SpringBoot + Shiro + MyBatis + JWT + Redis 实现。
</description>
<properties> <properties>
<java.version>1.8</java.version> <java.version>1.8</java.version>
@ -44,7 +45,20 @@
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId> <artifactId>spring-boot-starter-web</artifactId>
<exclusions>
<exclusion>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
</exclusion>
</exclusions>
</dependency> </dependency>
<!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind -->
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.13.4.2</version>
</dependency>
<dependency> <dependency>
<groupId>org.mybatis.spring.boot</groupId> <groupId>org.mybatis.spring.boot</groupId>
@ -102,7 +116,7 @@
<dependency> <dependency>
<groupId>tk.mybatis</groupId> <groupId>tk.mybatis</groupId>
<artifactId>mapper</artifactId> <artifactId>mapper</artifactId>
<version>4.2.1</version> <version>4.2.2</version>
</dependency> </dependency>
<!-- pagehelper --> <!-- pagehelper -->
<dependency> <dependency>
@ -114,13 +128,13 @@
<dependency> <dependency>
<groupId>com.alibaba</groupId> <groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId> <artifactId>fastjson</artifactId>
<version>2.0.14</version> <version>2.0.15</version>
</dependency> </dependency>
<!-- shiro权限控制框架 --> <!-- shiro权限控制框架 -->
<dependency> <dependency>
<groupId>org.apache.shiro</groupId> <groupId>org.apache.shiro</groupId>
<artifactId>shiro-spring</artifactId> <artifactId>shiro-spring</artifactId>
<version>1.9.1</version> <version>1.10.0</version>
<exclusions> <exclusions>
<exclusion> <exclusion>
<groupId>commons-collections</groupId> <groupId>commons-collections</groupId>
@ -147,7 +161,7 @@
<dependency> <dependency>
<groupId>org.apache.commons</groupId> <groupId>org.apache.commons</groupId>
<artifactId>commons-text</artifactId> <artifactId>commons-text</artifactId>
<version>1.9</version> <version>1.10.0</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>commons-codec</groupId> <groupId>commons-codec</groupId>
@ -319,7 +333,8 @@
</plugin> </plugin>
</plugins> </plugins>
<finalName>forest</finalName> <finalName>forest</finalName>
</build><!--MAVEN打包选择运行环境--> </build>
<!--MAVEN打包选择运行环境-->
<!-- 1:dev:开发环境 2:prod:生产环境 --> <!-- 1:dev:开发环境 2:prod:生产环境 -->
<profiles> <profiles>
<profile> <profile>
@ -328,7 +343,7 @@
<profileActive>dev</profileActive> <profileActive>dev</profileActive>
</properties> </properties>
<activation> <activation>
<activeByDefault>false</activeByDefault> <activeByDefault>true</activeByDefault>
</activation> </activation>
</profile> </profile>
<profile> <profile>
@ -337,7 +352,7 @@
<profileActive>prod</profileActive> <profileActive>prod</profileActive>
</properties> </properties>
<activation> <activation>
<activeByDefault>true</activeByDefault> <activeByDefault>false</activeByDefault>
</activation> </activation>
</profile> </profile>
</profiles> </profiles>