1 Star 0 Fork 50

青竹玉简/springboot-shiro-jwt

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
pom.xml 8.58 KB
一键复制 编辑 原始数据 按行查看 历史
knightdreams6 提交于 2022-06-03 17:22 . :sparkles:新增i18n配置,自定义消息源
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
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.knight</groupId>
<artifactId>project</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>project</name>
<description>基于SpringBoot+shiro+jwt的前后端分离的单体架构设计</description>
<packaging>pom</packaging>
<modules>
<module>knight-entity</module>
<module>knight-common</module>
<module>knight-admin</module>
</modules>
<properties>
<!-- jdk版本 -->
<java.version>1.8</java.version>
<!-- hutool工具类
git: https://gitee.com/dromara/hutool/blob/v5-master/CHANGELOG.md -->
<hutool.version>5.7.7</hutool.version>
<!-- mybatis-plus
git: https://gitee.com/baomidou/mybatis-plus/blob/3.0/CHANGELOG.md -->
<mybatis.plus.version>3.4.3.4</mybatis.plus.version>
<!-- 动态数据源
git: https://gitee.com/baomidou/dynamic-datasource-spring-boot-starter/tags -->
<dynamic.datasource.version>3.4.1</dynamic.datasource.version>
<!-- jwt
git: https://github.com/auth0/java-jwt/tags-->
<jwt.version>3.18.1</jwt.version>
<!-- swagger -->
<swagger.version>3.0.0</swagger.version>
<!-- shiro-spring-boot -->
<shiro-spring-boot.version>1.7.1</shiro-spring-boot.version>
<!-- SpringFormat版本 -->
<javaformat.plugin.version>0.0.28</javaformat.plugin.version>
<knife4j.version>3.0.3</knife4j.version>
<knight.version>0.0.1-SNAPSHOT</knight.version>
<swagger.annotation.version>1.5.22</swagger.annotation.version>
<mica.auto.version>2.3.1</mica.auto.version>
<springboot.version>2.5.3</springboot.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<!-- lombok -->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<optional>true</optional>
</dependency>
</dependencies>
<dependencyManagement>
<dependencies>
<!-- SpringBoot的依赖配置-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>${springboot.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>net.dreamlu</groupId>
<artifactId>mica-auto</artifactId>
<version>${mica.auto.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-core</artifactId>
<version>${shiro-spring-boot.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>io.swagger</groupId>
<artifactId>swagger-annotations</artifactId>
<version>${swagger.annotation.version}</version>
</dependency>
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-annotation</artifactId>
<version>${mybatis.plus.version}</version>
</dependency>
<!--JWT-->
<dependency>
<groupId>com.auth0</groupId>
<artifactId>java-jwt</artifactId>
<version>${jwt.version}</version>
</dependency>
<!-- 接口文档 -->
<dependency>
<groupId>com.github.xiaoymin</groupId>
<artifactId>knife4j-spring-boot-starter</artifactId>
<version>${knife4j.version}</version>
</dependency>
<!-- hutool -->
<dependency>
<groupId>cn.hutool</groupId>
<artifactId>hutool-all</artifactId>
<version>${hutool.version}</version>
</dependency>
<!-- shiro -->
<dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-spring-boot-starter</artifactId>
<version>${shiro-spring-boot.version}</version>
</dependency>
<!-- mybatis-plus -->
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-boot-starter</artifactId>
<version>${mybatis.plus.version}</version>
</dependency>
<!-- common -->
<dependency>
<artifactId>knight-common</artifactId>
<groupId>com.knight</groupId>
<version>${knight.version}</version>
</dependency>
<dependency>
<artifactId>common-interceptor</artifactId>
<groupId>com.knight</groupId>
<version>${knight.version}</version>
</dependency>
<dependency>
<artifactId>common-mybatis-plus</artifactId>
<groupId>com.knight</groupId>
<version>${knight.version}</version>
</dependency>
<dependency>
<artifactId>common-swagger</artifactId>
<groupId>com.knight</groupId>
<version>${knight.version}</version>
</dependency>
<dependency>
<artifactId>common-utils</artifactId>
<groupId>com.knight</groupId>
<version>${knight.version}</version>
</dependency>
<dependency>
<artifactId>common-i18n</artifactId>
<groupId>com.knight</groupId>
<version>${knight.version}</version>
</dependency>
<dependency>
<artifactId>common-valid</artifactId>
<groupId>com.knight</groupId>
<version>${knight.version}</version>
</dependency>
<dependency>
<artifactId>knight-entity</artifactId>
<groupId>com.knight</groupId>
<version>${knight.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>8</source>
<target>8</target>
<encoding>${project.build.sourceEncoding}</encoding>
</configuration>
</plugin>
<!--代码格式插件,默认使用spring 规则-->
<plugin>
<groupId>io.spring.javaformat</groupId>
<artifactId>spring-javaformat-maven-plugin</artifactId>
<version>${javaformat.plugin.version}</version>
</plugin>
</plugins>
<resources>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.xml</include>
</includes>
</resource>
<resource>
<directory>src/main/resources</directory>
<includes>
<include>**/*.yaml</include>
<include>**/*.yml</include>
<include>**/*.properties</include>
<include>**/*.xml</include>
</includes>
</resource>
</resources>
</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>
</project>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/qzyj/springboot-shiro-jwt.git
git@gitee.com:qzyj/springboot-shiro-jwt.git
qzyj
springboot-shiro-jwt
springboot-shiro-jwt
master

搜索帮助