You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
88 lines
3.3 KiB
88 lines
3.3 KiB
<?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>
|
|
|
|
<parent>
|
|
<groupId>com.crm</groupId>
|
|
<artifactId>crm</artifactId>
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<artifactId>crm-auth</artifactId>
|
|
<packaging>jar</packaging>
|
|
<name>crm-auth</name>
|
|
<description>CRM 认证模块:三方扫码登录(钉钉,预留企微)、JWT 签发校验、Spring Security 配置、统一用户</description>
|
|
|
|
<!-- 注意:本模块会被其他业务模块依赖(获得登录校验能力),因此不做 spring-boot repackage;
|
|
开发调试直接在 IDE 中运行 AuthApplication -->
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.crm</groupId>
|
|
<artifactId>crm-base</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.crm</groupId>
|
|
<artifactId>crm-file</artifactId>
|
|
</dependency>
|
|
|
|
<!-- 完整安全栈(crm-base 只依赖了 security-core) -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-security</artifactId>
|
|
</dependency>
|
|
|
|
<!-- 钉钉开放平台 SDK(组织同步:部门树 + 用户),旧版 oapi 封装 -->
|
|
<dependency>
|
|
<groupId>com.github.tingyugetc520</groupId>
|
|
<artifactId>dt-java</artifactId>
|
|
<version>0.1.2</version>
|
|
<exclusions>
|
|
<!-- xstream 1.4.15 存在 CVE,本工程不用 XML 序列化,直接排除 -->
|
|
<exclusion>
|
|
<groupId>com.thoughtworks.xstream</groupId>
|
|
<artifactId>xstream</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<!-- 本地调试运行用 -->
|
|
<dependency>
|
|
<groupId>com.mysql</groupId>
|
|
<artifactId>mysql-connector-j</artifactId>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<version>RELEASE</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<!-- 单元测试:JUnit 5 + Mockito + AssertJ + Spring Test -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<!-- 部门树进程内缓存(版本由 Spring Boot BOM 托管) -->
|
|
<dependency>
|
|
<groupId>com.github.ben-manes.caffeine</groupId>
|
|
<artifactId>caffeine</artifactId>
|
|
</dependency>
|
|
<!-- 数据权限集成测试用内存库(MySQL 兼容模式) -->
|
|
<dependency>
|
|
<groupId>com.h2database</groupId>
|
|
<artifactId>h2</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.mybatis</groupId>
|
|
<artifactId>mybatis-spring</artifactId>
|
|
<version>3.0.3</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</project>
|
|
|