|
|
<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
<groupId>com.ngskcloud</groupId>
|
|
|
<artifactId>bpms-sso</artifactId>
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
<name>bpms-sso</name>
|
|
|
<description>bpms-sso</description>
|
|
|
<properties>
|
|
|
<java.version>21</java.version>
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
|
<spring-boot.version>3.2.3</spring-boot.version>
|
|
|
|
|
|
</properties>
|
|
|
<dependencies>
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
<scope>test</scope>
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
<artifactId>spring-cloud-starter-openfeign</artifactId>
|
|
|
<version>4.1.3</version>
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
<!-- 如果你想要使用 Jackson 处理 JSON -->
|
|
|
<dependency>
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
<artifactId>jackson-databind</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- 如果你想要完整的 Jackson 支持 -->
|
|
|
<dependency>
|
|
|
<groupId>io.github.openfeign</groupId>
|
|
|
<artifactId>feign-jackson</artifactId>
|
|
|
<version>12.1</version>
|
|
|
</dependency>
|
|
|
<!-- <dependency>-->
|
|
|
<!-- <groupId>org.springframework.cloud</groupId>-->
|
|
|
<!-- <artifactId>spring-cloud-starter-openfeign</artifactId>-->
|
|
|
<!-- </dependency>-->
|
|
|
|
|
|
|
|
|
<!-- Sa-Token 权限认证,在线文档:https://sa-token.cc -->
|
|
|
<dependency>
|
|
|
<groupId>cn.dev33</groupId>
|
|
|
<artifactId>sa-token-spring-boot3-starter</artifactId>
|
|
|
<version>1.44.0</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- Sa-Token 插件:整合SSO -->
|
|
|
<dependency>
|
|
|
<groupId>cn.dev33</groupId>
|
|
|
<artifactId>sa-token-sso</artifactId>
|
|
|
<version>1.44.0</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- Sa-Token 插件:整合 RedisTemplate -->
|
|
|
<dependency>
|
|
|
<groupId>cn.dev33</groupId>
|
|
|
<artifactId>sa-token-redis-template</artifactId>
|
|
|
<version>1.44.0</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
<artifactId>commons-pool2</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- Sa-Token 插件:整合 Forest 请求工具 (模式三需要通过 http 请求推送消息) -->
|
|
|
<dependency>
|
|
|
<groupId>cn.dev33</groupId>
|
|
|
<artifactId>sa-token-forest</artifactId>
|
|
|
<version>1.44.0</version>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>cn.dev33</groupId>
|
|
|
<artifactId>sa-token-jwt</artifactId>
|
|
|
<version>1.44.0</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- spring-cloud-alibaba -->
|
|
|
<dependency>
|
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
|
|
|
<version>2023.0.3.3</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
|
|
<version>2023.0.3.3</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- redis -->
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-data-redis</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- mysql -->
|
|
|
<dependency>
|
|
|
<groupId>mysql</groupId>
|
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
|
<version>8.0.27</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- jwt -->
|
|
|
<dependency>
|
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
|
<artifactId>jjwt</artifactId>
|
|
|
<version>0.12.6</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- mybatis-plus -->
|
|
|
<dependency>
|
|
|
<groupId>com.baomidou</groupId>
|
|
|
<artifactId>mybatis-plus-boot-starter</artifactId>
|
|
|
<version>3.5.5</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.mybatis</groupId>
|
|
|
<artifactId>mybatis-spring</artifactId>
|
|
|
<version>3.0.5</version>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>com.baomidou</groupId>
|
|
|
<artifactId>mybatis-plus-annotation</artifactId>
|
|
|
<version>3.5.5</version>
|
|
|
</dependency>
|
|
|
<!-- mybatis -->
|
|
|
<!-- <dependency>-->
|
|
|
<!-- <groupId>org.mybatis.spring.boot</groupId>-->
|
|
|
<!-- <artifactId>mybatis-spring-boot-starter</artifactId>-->
|
|
|
<!-- <version>3.0.5</version>-->
|
|
|
<!-- </dependency>-->
|
|
|
<dependency>
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
<artifactId>lombok</artifactId>
|
|
|
<scope>provided</scope>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>cn.hutool</groupId>
|
|
|
<artifactId>hutool-json</artifactId>
|
|
|
<version>5.8.39</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>cn.hutool</groupId>
|
|
|
<artifactId>hutool-http</artifactId>
|
|
|
<version>5.8.39</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>cn.hutool</groupId>
|
|
|
<artifactId>hutool-core</artifactId>
|
|
|
<version>5.8.39</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!--feign-->
|
|
|
<!-- <dependency>-->
|
|
|
<!-- <groupId>org.springframework.cloud</groupId>-->
|
|
|
<!-- <artifactId>spring-cloud-starter-openfeign</artifactId>-->
|
|
|
<!-- </dependency>-->
|
|
|
<!-- <!–客户端负载均衡策略,替换原来的Ribbon–>-->
|
|
|
<!-- <dependency>-->
|
|
|
<!-- <groupId>org.springframework.cloud</groupId>-->
|
|
|
<!-- <artifactId>spring-cloud-starter-loadbalancer</artifactId>-->
|
|
|
<!-- </dependency>-->
|
|
|
<!-- <dependency>-->
|
|
|
<!-- <groupId>io.github.openfeign</groupId>-->
|
|
|
<!-- <artifactId>feign-httpclient</artifactId>-->
|
|
|
<!-- </dependency>-->
|
|
|
<!-- <dependency>-->
|
|
|
<!-- <groupId>io.github.openfeign.form</groupId>-->
|
|
|
<!-- <artifactId>feign-form</artifactId>-->
|
|
|
<!-- <version>3.8.0</version>-->
|
|
|
<!-- </dependency>-->
|
|
|
<!-- <dependency>-->
|
|
|
<!-- <groupId>io.github.openfeign.form</groupId>-->
|
|
|
<!-- <artifactId>feign-form-spring</artifactId>-->
|
|
|
<!-- <version>3.8.0</version>-->
|
|
|
<!-- </dependency>-->
|
|
|
<!-- <dependency>-->
|
|
|
<!-- <groupId>io.github.openfeign</groupId>-->
|
|
|
<!-- <artifactId>feign-httpclient</artifactId>-->
|
|
|
<!-- <version>10.10.1</version>-->
|
|
|
<!-- <exclusions>-->
|
|
|
<!-- <exclusion>-->
|
|
|
<!-- <groupId>commons-logging</groupId>-->
|
|
|
<!-- <artifactId>commons-logging</artifactId>-->
|
|
|
<!-- </exclusion>-->
|
|
|
<!-- </exclusions>-->
|
|
|
<!-- </dependency>-->
|
|
|
|
|
|
<!-- <dependency>-->
|
|
|
<!-- <groupId>com.alibaba</groupId>-->
|
|
|
<!-- <artifactId>druid-spring-boot-3-starter</artifactId>-->
|
|
|
<!-- <version>1.2.25</version>-->
|
|
|
<!-- <exclusions>-->
|
|
|
<!-- <exclusion>-->
|
|
|
<!-- <groupId>javax.servlet</groupId>-->
|
|
|
<!-- <artifactId>javax.servlet-api</artifactId>-->
|
|
|
<!-- </exclusion>-->
|
|
|
<!-- </exclusions>-->
|
|
|
<!-- </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>
|
|
|
|
|
|
<build>
|
|
|
<plugins>
|
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
<version>3.8.1</version>
|
|
|
<configuration>
|
|
|
<source>21</source>
|
|
|
<target>21</target>
|
|
|
<encoding>UTF-8</encoding>
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
<plugin>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
<version>${spring-boot.version}</version>
|
|
|
<configuration>
|
|
|
<mainClass>com.ngskcloud.BpmsSsoApplication</mainClass>
|
|
|
</configuration>
|
|
|
<executions>
|
|
|
<execution>
|
|
|
<id>repackage</id>
|
|
|
<goals>
|
|
|
<goal>repackage</goal>
|
|
|
</goals>
|
|
|
</execution>
|
|
|
</executions>
|
|
|
</plugin>
|
|
|
</plugins>
|
|
|
</build>
|
|
|
|
|
|
</project>
|