mirror of
https://gitee.com/dromara/sa-token.git
synced 2024-12-02 11:57:40 +08:00
77 lines
2.2 KiB
XML
77 lines
2.2 KiB
XML
<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>com.pj</groupId>
|
|
<artifactId>sa-token-demo-dubbo-provider</artifactId>
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
<!-- SpringBoot -->
|
|
<parent>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
<!--<version>2.3.3.RELEASE</version>-->
|
|
<version>2.5.14</version>
|
|
</parent>
|
|
|
|
<!-- 指定一些属性 -->
|
|
<properties>
|
|
<java.version>1.8</java.version>
|
|
<maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
|
|
<sa-token.version>1.34.0</sa-token.version>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
|
|
<!-- SpringBoot Web模块 -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
</dependency>
|
|
|
|
<!-- Sa-Token -->
|
|
<dependency>
|
|
<groupId>cn.dev33</groupId>
|
|
<artifactId>sa-token-spring-boot-starter</artifactId>
|
|
<version>${sa-token.version}</version>
|
|
</dependency>
|
|
|
|
<!-- Sa-Token整合 Redis (使用jackson序列化方式) -->
|
|
<dependency>
|
|
<groupId>cn.dev33</groupId>
|
|
<artifactId>sa-token-dao-redis-jackson</artifactId>
|
|
<version>${sa-token.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-pool2</artifactId>
|
|
</dependency>
|
|
|
|
<!-- Dubbo -->
|
|
<dependency>
|
|
<groupId>org.apache.dubbo</groupId>
|
|
<artifactId>dubbo-spring-boot-starter</artifactId>
|
|
<version>2.7.11</version>
|
|
</dependency>
|
|
|
|
<!-- Dubbo 注册到 Nacos -->
|
|
<dependency>
|
|
<groupId>org.apache.dubbo</groupId>
|
|
<artifactId>dubbo-registry-nacos</artifactId>
|
|
<version>2.7.11</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.alibaba.nacos</groupId>
|
|
<artifactId>nacos-client</artifactId>
|
|
<version>1.4.1</version>
|
|
</dependency>
|
|
|
|
<!-- Sa-Token 整合 Dubbo -->
|
|
<dependency>
|
|
<groupId>cn.dev33</groupId>
|
|
<artifactId>sa-token-context-dubbo</artifactId>
|
|
<version>${sa-token.version}</version>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</project> |