1 Star 7 Fork 4

Anyin / shiro-to-token

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
pom.xml 4.36 KB
一键复制 编辑 原始数据 按行查看 历史
陈景阳 提交于 2022-01-04 13:29 . fix 集成flyway db
<?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>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.4.6</version>
<relativePath/>
</parent>
<groupId>org.anyin.gitee.shiro</groupId>
<artifactId>shiro-to-token</artifactId>
<version>1.0-SNAPSHOT</version>
<properties>
<spring.boot.version>2.4.6</spring.boot.version>
<spring.boot.shiro.version>1.8.0</spring.boot.shiro.version>
<hutool.version>5.7.2</hutool.version>
</properties>
<dependencies>
<dependency>
<groupId>cn.hutool</groupId>
<artifactId>hutool-all</artifactId>
<version>${hutool.version}</version>
</dependency>
<dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-spring-boot-web-starter</artifactId>
<version>${spring.boot.shiro.version}</version>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-aop</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
</dependency>
</dependencies>
<dependencyManagement>
<dependencies>
<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>
<profiles>
<profile>
<id>demo</id>
<properties>
<jdbc.url>jdbc:mysql://127.0.0.1:3306/anyin-demo?characterEncoding=UTF-8<![CDATA[&]]>useSSL=false<![CDATA[&]]>autoReconnect=true<![CDATA[&]]>allowMultiQueries=true</jdbc.url>
<db.user>root</db.user>
<db.password>rootroot</db.password>
</properties>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
</profile>
</profiles>
<build>
<finalName>shiro-to-token</finalName>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.8</source>
<target>1.8</target>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<!-- 配置flyway -->
<plugin>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-maven-plugin</artifactId>
<version>4.1.0</version>
<configuration>
<user>${db.user}</user>
<password>${db.password}</password>
<driver>com.mysql.jdbc.Driver</driver>
<url>${jdbc.url}</url>
<locations>
<location>db/migration</location>
</locations>
<table>schema_version</table>
<cleanDisabled>true</cleanDisabled>
<outOfOrder>true</outOfOrder>
<baselineOnMigrate>true</baselineOnMigrate>
</configuration>
</plugin>
</plugins>
</build>
</project>
1
https://gitee.com/anyin/shiro-to-token.git
git@gitee.com:anyin/shiro-to-token.git
anyin
shiro-to-token
shiro-to-token
master

搜索帮助