refactor: 重构模块依赖层级
This commit is contained in:
@@ -18,10 +18,8 @@
|
|||||||
|
|
||||||
<!-- 所有模块 -->
|
<!-- 所有模块 -->
|
||||||
<modules>
|
<modules>
|
||||||
<module>sa-token-basic-dependencies</module>
|
<module>sa-token-dependencies</module>
|
||||||
<module>sa-token-spring-boot2-dependencies</module>
|
<module>sa-token-special-dependencies</module>
|
||||||
<module>sa-token-spring-boot3-dependencies</module>
|
|
||||||
<module>sa-token-spring-boot4-dependencies</module>
|
|
||||||
<module>sa-token-bom</module>
|
<module>sa-token-bom</module>
|
||||||
<module>sa-token-core</module>
|
<module>sa-token-core</module>
|
||||||
<module>sa-token-starter</module>
|
<module>sa-token-starter</module>
|
||||||
@@ -80,12 +78,12 @@
|
|||||||
<dependencies>
|
<dependencies>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
导入 sa-token-basic-dependencies 所有版本定义,并传导到每个子项目。
|
导入 sa-token-dependencies 所有版本定义,并传导到每个子项目。
|
||||||
需要注意的是:该 import 只会导入 <dependencyManagement> 部分,而不会导入 <dependencies> 部分和 <properties> 部分。
|
需要注意的是:该 import 只会导入 <dependencyManagement> 部分,而不会导入 <dependencies> 部分和 <properties> 部分。
|
||||||
-->
|
-->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>cn.dev33</groupId>
|
<groupId>cn.dev33</groupId>
|
||||||
<artifactId>sa-token-basic-dependencies</artifactId>
|
<artifactId>sa-token-dependencies</artifactId>
|
||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
<type>pom</type>
|
<type>pom</type>
|
||||||
<scope>import</scope>
|
<scope>import</scope>
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
<description>A Java Web lightweight authority authentication framework, comprehensive function, easy to use</description>
|
<description>A Java Web lightweight authority authentication framework, comprehensive function, easy to use</description>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<!-- Zero dependence -->
|
<!-- Zero Dependence -->
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-starter-parent</artifactId>
|
<artifactId>spring-boot-starter-parent</artifactId>
|
||||||
<version>3.0.1</version>
|
<version>3.5.11</version>
|
||||||
<relativePath/>
|
<relativePath/>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
|
|||||||
@@ -5,10 +5,10 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<groupId>cn.dev33</groupId>
|
<groupId>cn.dev33</groupId>
|
||||||
<artifactId>sa-token-basic-dependencies</artifactId>
|
<artifactId>sa-token-dependencies</artifactId>
|
||||||
<version>${revision}</version>
|
<version>${revision}</version>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
<name>sa-token-basic-dependencies</name>
|
<name>sa-token-dependencies</name>
|
||||||
<description>Sa-Token Dependencies</description>
|
<description>Sa-Token Dependencies</description>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
@@ -283,7 +283,7 @@
|
|||||||
<encoding>UTF-8</encoding>
|
<encoding>UTF-8</encoding>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
<!-- 统一版本号管理 -->
|
<!-- 统一版本号管理 -->
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.codehaus.mojo</groupId>
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
@@ -310,7 +310,7 @@
|
|||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
</plugins>
|
</plugins>
|
||||||
<pluginManagement>
|
<pluginManagement>
|
||||||
<plugins>
|
<plugins>
|
||||||
@@ -7,7 +7,7 @@
|
|||||||
``` js
|
``` js
|
||||||
── sa-token
|
── sa-token
|
||||||
├── sa-token-core // [核心] Sa-Token 核心模块
|
├── sa-token-core // [核心] Sa-Token 核心模块
|
||||||
├── sa-token-basic-dependencies // [依赖] Sa-Token 依赖版本信息
|
├── sa-token-dependencies // [依赖] Sa-Token 依赖版本信息
|
||||||
├── sa-token-bom // [核心] Sa-Token bom 包
|
├── sa-token-bom // [核心] Sa-Token bom 包
|
||||||
├── sa-token-starter // [整合] Sa-Token 与其它框架整合
|
├── sa-token-starter // [整合] Sa-Token 与其它框架整合
|
||||||
├── sa-token-plugin // [插件] Sa-Token 插件合集
|
├── sa-token-plugin // [插件] Sa-Token 插件合集
|
||||||
@@ -28,7 +28,7 @@
|
|||||||
``` js
|
``` js
|
||||||
── sa-token
|
── sa-token
|
||||||
├── sa-token-core // [核心] Sa-Token 核心模块
|
├── sa-token-core // [核心] Sa-Token 核心模块
|
||||||
├── sa-token-basic-dependencies // [依赖] Sa-Token 依赖版本信息
|
├── sa-token-dependencies // [依赖] Sa-Token 依赖版本信息
|
||||||
├── sa-token-bom // [核心] Sa-Token bom 包
|
├── sa-token-bom // [核心] Sa-Token bom 包
|
||||||
├── sa-token-starter // [整合] Sa-Token 与其它框架整合
|
├── sa-token-starter // [整合] Sa-Token 与其它框架整合
|
||||||
├── sa-token-servlet // [整合] Sa-Token 整合 Servlet 容器实现类包
|
├── sa-token-servlet // [整合] Sa-Token 整合 Servlet 容器实现类包
|
||||||
|
|||||||
@@ -54,17 +54,6 @@
|
|||||||
<module>sa-token-redisson-spring-boot-starter</module>
|
<module>sa-token-redisson-spring-boot-starter</module>
|
||||||
</modules>
|
</modules>
|
||||||
|
|
||||||
<dependencies>
|
|
||||||
<!-- spring-boot-configuration -->
|
|
||||||
<!--<dependency>
|
|
||||||
<groupId>org.springframework.boot</groupId>
|
|
||||||
<artifactId>spring-boot-configuration-processor</artifactId>
|
|
||||||
<version>2.5.14</version>
|
|
||||||
<optional>true</optional>
|
|
||||||
</dependency>-->
|
|
||||||
</dependencies>
|
|
||||||
|
|
||||||
|
|
||||||
<dependencyManagement>
|
<dependencyManagement>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,25 @@
|
|||||||
|
<?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/maven-v4_0_0.xsd">
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
|
<parent>
|
||||||
|
<groupId>cn.dev33</groupId>
|
||||||
|
<artifactId>sa-token-parent</artifactId>
|
||||||
|
<version>${revision}</version>
|
||||||
|
<relativePath>../pom.xml</relativePath>
|
||||||
|
</parent>
|
||||||
|
|
||||||
|
<packaging>pom</packaging>
|
||||||
|
<artifactId>sa-token-special-dependencies</artifactId>
|
||||||
|
<name>sa-token-special-dependencies</name>
|
||||||
|
<description>Sa-Token Special Dependencies - 聚合 Spring Boot 各版本依赖</description>
|
||||||
|
|
||||||
|
<modules>
|
||||||
|
<module>sa-token-spring-boot2-dependencies</module>
|
||||||
|
<module>sa-token-spring-boot3-dependencies</module>
|
||||||
|
<module>sa-token-spring-boot4-dependencies</module>
|
||||||
|
</modules>
|
||||||
|
|
||||||
|
</project>
|
||||||
+1
-1
@@ -7,7 +7,7 @@
|
|||||||
<!-- 父仓库 -->
|
<!-- 父仓库 -->
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>cn.dev33</groupId>
|
<groupId>cn.dev33</groupId>
|
||||||
<artifactId>sa-token-parent</artifactId>
|
<artifactId>sa-token-special-dependencies</artifactId>
|
||||||
<version>${revision}</version>
|
<version>${revision}</version>
|
||||||
<relativePath>../pom.xml</relativePath>
|
<relativePath>../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
+3
-3
@@ -7,7 +7,7 @@
|
|||||||
<!-- 父仓库 -->
|
<!-- 父仓库 -->
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>cn.dev33</groupId>
|
<groupId>cn.dev33</groupId>
|
||||||
<artifactId>sa-token-parent</artifactId>
|
<artifactId>sa-token-special-dependencies</artifactId>
|
||||||
<version>${revision}</version>
|
<version>${revision}</version>
|
||||||
<relativePath>../pom.xml</relativePath>
|
<relativePath>../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
@@ -18,8 +18,8 @@
|
|||||||
<description>Sa-Token SpringBoot3 Dependencies</description>
|
<description>Sa-Token SpringBoot3 Dependencies</description>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<springboot3.version>3.0.1</springboot3.version>
|
<springboot3.version>3.5.11</springboot3.version>
|
||||||
<springboot3-spring.version>6.2.5</springboot3-spring.version>
|
<springboot3-spring.version>6.2.16</springboot3-spring.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<dependencyManagement>
|
<dependencyManagement>
|
||||||
+1
-1
@@ -7,7 +7,7 @@
|
|||||||
<!-- 父仓库 -->
|
<!-- 父仓库 -->
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>cn.dev33</groupId>
|
<groupId>cn.dev33</groupId>
|
||||||
<artifactId>sa-token-parent</artifactId>
|
<artifactId>sa-token-special-dependencies</artifactId>
|
||||||
<version>${revision}</version>
|
<version>${revision}</version>
|
||||||
<relativePath>../pom.xml</relativePath>
|
<relativePath>../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
+11
-3
@@ -14,7 +14,15 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
|
||||||
* Sa-Token 集成 Reactor 响应式编程 (SpringBoot 3.x)
|
|
||||||
*/
|
|
||||||
package cn.dev33.satoken.reactor;
|
package cn.dev33.satoken.reactor;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 占位符
|
||||||
|
*
|
||||||
|
* @author click33
|
||||||
|
* @since 1.45.0
|
||||||
|
*/
|
||||||
|
public class Placeholder {
|
||||||
|
|
||||||
|
}
|
||||||
+11
-3
@@ -14,7 +14,15 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
|
||||||
* Sa-Token 集成 Reactor 响应式编程 (SpringBoot 4.x)
|
|
||||||
*/
|
|
||||||
package cn.dev33.satoken.reactor;
|
package cn.dev33.satoken.reactor;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 占位符
|
||||||
|
*
|
||||||
|
* @author click33
|
||||||
|
* @since 1.45.0
|
||||||
|
*/
|
||||||
|
public class Placeholder {
|
||||||
|
|
||||||
|
}
|
||||||
+28
@@ -0,0 +1,28 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2020-2099 sa-token.cc
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package cn.dev33.satoken;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 占位符
|
||||||
|
*
|
||||||
|
* @author click33
|
||||||
|
* @since 1.45.0
|
||||||
|
*/
|
||||||
|
public class Placeholder {
|
||||||
|
|
||||||
|
}
|
||||||
+28
@@ -0,0 +1,28 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2020-2099 sa-token.cc
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package cn.dev33.satoken;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 占位符
|
||||||
|
*
|
||||||
|
* @author click33
|
||||||
|
* @since 1.45.0
|
||||||
|
*/
|
||||||
|
public class Placeholder {
|
||||||
|
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user