Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
tool
/
xxl-job
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit f8f5441c
authored
Jan 02, 2026
by
xuxueli
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
统一项目依赖管理结构,依赖版本统一到父级pom提升可维护性;
1 parent
9a1243f9
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
128 additions
and
71 deletions
doc/XXL-JOB官方文档.md
pom.xml
xxl-job-admin/pom.xml
xxl-job-core/pom.xml
xxl-job-executor-samples/xxl-job-executor-sample-frameless/pom.xml
xxl-job-executor-samples/xxl-job-executor-sample-springboot-ai/pom.xml
xxl-job-executor-samples/xxl-job-executor-sample-springboot/pom.xml
doc/XXL-JOB官方文档.md
View file @
f8f5441
...
@@ -2759,7 +2759,8 @@ public void execute() {
...
@@ -2759,7 +2759,8 @@ public void execute() {
-
7、【优化】执行器详情接口权限调整,支持普通用户查看注册节点;合并PR-3882;
-
7、【优化】执行器详情接口权限调整,支持普通用户查看注册节点;合并PR-3882;
-
8、【优化】任务参数LogDateTime生成逻辑调整,分片广播场景下保障时间一致;
-
8、【优化】任务参数LogDateTime生成逻辑调整,分片广播场景下保障时间一致;
-
9、【升级】升级多项maven依赖至较新版本,如 spring、netty、xxl-sso、xxl-tool 等;
-
9、【升级】升级多项maven依赖至较新版本,如 spring、netty、xxl-sso、xxl-tool 等;
-
10、【TODO】任务调度触发后分批批量更新,提升调度性能;
-
10、【优化】统一项目依赖管理结构,依赖版本统一到父级pom提升可维护性;
-
11、【TODO】任务调度触发后分批批量更新,提升调度性能;
...
...
pom.xml
View file @
f8f5441
...
@@ -55,8 +55,129 @@
...
@@ -55,8 +55,129 @@
<xxl-tool.version>
2.4.2
</xxl-tool.version>
<xxl-tool.version>
2.4.2
</xxl-tool.version>
<!-- gson -->
<!-- gson -->
<gson.version>
2.13.2
</gson.version>
<gson.version>
2.13.2
</gson.version>
<!-- spring-ai -->
<spring-ai.version>
2.0.0-M1
</spring-ai.version>
<!-- dify -->
<dify-java-client.version>
1.2.3
</dify-java-client.version>
</properties>
</properties>
<dependencyManagement>
<dependencies>
<!-- springboot -->
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-dependencies
</artifactId>
<version>
${spring-boot.version}
</version>
<type>
pom
</type>
<scope>
import
</scope>
</dependency>
<!-- slf4j -->
<dependency>
<groupId>
org.slf4j
</groupId>
<artifactId>
slf4j-api
</artifactId>
<version>
${slf4j-api.version}
</version>
</dependency>
<!-- slf4j-reload4j -->
<dependency>
<groupId>
org.slf4j
</groupId>
<artifactId>
slf4j-reload4j
</artifactId>
<version>
${slf4j-api.version}
</version>
</dependency>
<!-- junit -->
<dependency>
<groupId>
org.junit.jupiter
</groupId>
<artifactId>
junit-jupiter-engine
</artifactId>
<version>
${junit-jupiter.version}
</version>
</dependency>
<!-- jakarta -->
<dependency>
<groupId>
jakarta.annotation
</groupId>
<artifactId>
jakarta.annotation-api
</artifactId>
<version>
${jakarta.annotation-api.version}
</version>
</dependency>
<!-- netty -->
<dependency>
<groupId>
io.netty
</groupId>
<artifactId>
netty-codec-http
</artifactId>
<version>
${netty.version}
</version>
</dependency>
<!-- gson -->
<dependency>
<groupId>
com.google.code.gson
</groupId>
<artifactId>
gson
</artifactId>
<version>
${gson.version}
</version>
</dependency>
<!-- xxl-tool -->
<dependency>
<groupId>
com.xuxueli
</groupId>
<artifactId>
xxl-tool
</artifactId>
<version>
${xxl-tool.version}
</version>
</dependency>
<!-- groovy -->
<dependency>
<groupId>
org.apache.groovy
</groupId>
<artifactId>
groovy
</artifactId>
<version>
${groovy.version}
</version>
</dependency>
<!-- spring-context -->
<dependency>
<groupId>
org.springframework
</groupId>
<artifactId>
spring-context
</artifactId>
<version>
${spring.version}
</version>
<scope>
provided
</scope>
</dependency>
<!-- mybatis-starter:mybatis + mybatis-spring + hikari(default) -->
<dependency>
<groupId>
org.mybatis.spring.boot
</groupId>
<artifactId>
mybatis-spring-boot-starter
</artifactId>
<version>
${mybatis-spring-boot-starter.version}
</version>
</dependency>
<!-- mysql -->
<dependency>
<groupId>
com.mysql
</groupId>
<artifactId>
mysql-connector-j
</artifactId>
<version>
${mysql-connector-j.version}
</version>
</dependency>
<!-- xxl-job-core -->
<dependency>
<groupId>
com.xuxueli
</groupId>
<artifactId>
xxl-job-core
</artifactId>
<version>
${project.parent.version}
</version>
</dependency>
<!-- xxl-sso (xxl-tool、gson) -->
<dependency>
<groupId>
com.xuxueli
</groupId>
<artifactId>
xxl-sso-core
</artifactId>
<version>
${xxl-sso.version}
</version>
</dependency>
<!-- spring-ai -->
<dependency>
<groupId>
org.springframework.ai
</groupId>
<artifactId>
spring-ai-starter-model-ollama
</artifactId>
<version>
${spring-ai.version}
</version>
</dependency>
<!-- dify -->
<dependency>
<groupId>
io.github.imfangs
</groupId>
<artifactId>
dify-java-client
</artifactId>
<version>
${dify-java-client.version}
</version>
</dependency>
</dependencies>
</dependencyManagement>
<licenses>
<licenses>
<license>
<license>
<name>
GNU General Public License version 3
</name>
<name>
GNU General Public License version 3
</name>
...
...
xxl-job-admin/pom.xml
View file @
f8f5441
...
@@ -13,26 +13,14 @@
...
@@ -13,26 +13,14 @@
<maven.deploy.skip>
true
</maven.deploy.skip>
<maven.deploy.skip>
true
</maven.deploy.skip>
</properties>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-parent
</artifactId>
<version>
${spring-boot.version}
</version>
<type>
pom
</type>
<scope>
import
</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependencies>
<!-- starter-web
:spring-webmvc + autoconfigure + logback + yaml + tomcat
-->
<!-- starter-web -->
<dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-web
</artifactId>
<artifactId>
spring-boot-starter-web
</artifactId>
</dependency>
</dependency>
<!-- starter-test
:junit + spring-test + mockito
-->
<!-- starter-test -->
<dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-test
</artifactId>
<artifactId>
spring-boot-starter-test
</artifactId>
...
@@ -55,31 +43,27 @@
...
@@ -55,31 +43,27 @@
<artifactId>
spring-boot-starter-actuator
</artifactId>
<artifactId>
spring-boot-starter-actuator
</artifactId>
</dependency>
</dependency>
<!-- mybatis-starter
:mybatis + mybatis-spring + hikari(default)
-->
<!-- mybatis-starter -->
<dependency>
<dependency>
<groupId>
org.mybatis.spring.boot
</groupId>
<groupId>
org.mybatis.spring.boot
</groupId>
<artifactId>
mybatis-spring-boot-starter
</artifactId>
<artifactId>
mybatis-spring-boot-starter
</artifactId>
<version>
${mybatis-spring-boot-starter.version}
</version>
</dependency>
</dependency>
<!-- mysql -->
<!-- mysql -->
<dependency>
<dependency>
<groupId>
com.mysql
</groupId>
<groupId>
com.mysql
</groupId>
<artifactId>
mysql-connector-j
</artifactId>
<artifactId>
mysql-connector-j
</artifactId>
<version>
${mysql-connector-j.version}
</version>
</dependency>
</dependency>
<!-- xxl-job-core -->
<!-- xxl-job-core -->
<dependency>
<dependency>
<groupId>
com.xuxueli
</groupId>
<groupId>
com.xuxueli
</groupId>
<artifactId>
xxl-job-core
</artifactId>
<artifactId>
xxl-job-core
</artifactId>
<version>
${project.parent.version}
</version>
</dependency>
</dependency>
<!-- xxl-sso
(xxl-tool、gson)
-->
<!-- xxl-sso -->
<dependency>
<dependency>
<groupId>
com.xuxueli
</groupId>
<groupId>
com.xuxueli
</groupId>
<artifactId>
xxl-sso-core
</artifactId>
<artifactId>
xxl-sso-core
</artifactId>
<version>
${xxl-sso.version}
</version>
</dependency>
</dependency>
</dependencies>
</dependencies>
...
...
xxl-job-core/pom.xml
View file @
f8f5441
...
@@ -20,14 +20,12 @@
...
@@ -20,14 +20,12 @@
<dependency>
<dependency>
<groupId>
org.slf4j
</groupId>
<groupId>
org.slf4j
</groupId>
<artifactId>
slf4j-api
</artifactId>
<artifactId>
slf4j-api
</artifactId>
<version>
${slf4j-api.version}
</version>
</dependency>
</dependency>
<!-- jakarta.annotation-api -->
<!-- jakarta.annotation-api -->
<dependency>
<dependency>
<groupId>
jakarta.annotation
</groupId>
<groupId>
jakarta.annotation
</groupId>
<artifactId>
jakarta.annotation-api
</artifactId>
<artifactId>
jakarta.annotation-api
</artifactId>
<version>
${jakarta.annotation-api.version}
</version>
<scope>
provided
</scope>
<scope>
provided
</scope>
</dependency>
</dependency>
...
@@ -35,19 +33,16 @@
...
@@ -35,19 +33,16 @@
<dependency>
<dependency>
<groupId>
io.netty
</groupId>
<groupId>
io.netty
</groupId>
<artifactId>
netty-codec-http
</artifactId>
<artifactId>
netty-codec-http
</artifactId>
<version>
${netty.version}
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
com.google.code.gson
</groupId>
<groupId>
com.google.code.gson
</groupId>
<artifactId>
gson
</artifactId>
<artifactId>
gson
</artifactId>
<version>
${gson.version}
</version>
</dependency>
</dependency>
<!-- ********************** tool: xxl-tool ********************** -->
<!-- ********************** tool: xxl-tool ********************** -->
<dependency>
<dependency>
<groupId>
com.xuxueli
</groupId>
<groupId>
com.xuxueli
</groupId>
<artifactId>
xxl-tool
</artifactId>
<artifactId>
xxl-tool
</artifactId>
<version>
${xxl-tool.version}
</version>
</dependency>
</dependency>
<!-- ********************** plugin: groovy + spring ********************** -->
<!-- ********************** plugin: groovy + spring ********************** -->
...
@@ -55,14 +50,12 @@
...
@@ -55,14 +50,12 @@
<dependency>
<dependency>
<groupId>
org.apache.groovy
</groupId>
<groupId>
org.apache.groovy
</groupId>
<artifactId>
groovy
</artifactId>
<artifactId>
groovy
</artifactId>
<version>
${groovy.version}
</version>
</dependency>
</dependency>
<!-- spring-context -->
<!-- spring-context -->
<dependency>
<dependency>
<groupId>
org.springframework
</groupId>
<groupId>
org.springframework
</groupId>
<artifactId>
spring-context
</artifactId>
<artifactId>
spring-context
</artifactId>
<version>
${spring.version}
</version>
<scope>
provided
</scope>
<scope>
provided
</scope>
</dependency>
</dependency>
...
...
xxl-job-executor-samples/xxl-job-executor-sample-frameless/pom.xml
View file @
f8f5441
...
@@ -22,27 +22,18 @@
...
@@ -22,27 +22,18 @@
<dependency>
<dependency>
<groupId>
org.slf4j
</groupId>
<groupId>
org.slf4j
</groupId>
<artifactId>
slf4j-reload4j
</artifactId>
<artifactId>
slf4j-reload4j
</artifactId>
<version>
${slf4j-api.version}
</version>
</dependency>
</dependency>
<!-- junit -->
<!-- junit -->
<dependency>
<dependency>
<groupId>
org.junit.jupiter
</groupId>
<groupId>
org.junit.jupiter
</groupId>
<artifactId>
junit-jupiter-engine
</artifactId>
<artifactId>
junit-jupiter-engine
</artifactId>
<version>
${junit-jupiter.version}
</version>
<scope>
test
</scope>
<scope>
test
</scope>
</dependency>
</dependency>
<!--<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-launcher</artifactId>
<version>${junit-jupiter.version}</version>
<scope>test</scope>
</dependency>-->
<!-- xxl-job-core -->
<!-- xxl-job-core -->
<dependency>
<dependency>
<groupId>
com.xuxueli
</groupId>
<groupId>
com.xuxueli
</groupId>
<artifactId>
xxl-job-core
</artifactId>
<artifactId>
xxl-job-core
</artifactId>
<version>
${project.parent.version}
</version>
</dependency>
</dependency>
</dependencies>
</dependencies>
...
...
xxl-job-executor-samples/xxl-job-executor-sample-springboot-ai/pom.xml
View file @
f8f5441
...
@@ -16,23 +16,8 @@
...
@@ -16,23 +16,8 @@
<url>
https://www.xuxueli.com/
</url>
<url>
https://www.xuxueli.com/
</url>
<properties>
<properties>
<!-- compatible spring-ai -->
<spring-boot.version>
3.5.8
</spring-boot.version>
<spring-ai.version>
1.1.1
</spring-ai.version>
<dify-java-client.version>
1.2.3
</dify-java-client.version>
</properties>
<dependencyManagement>
</properties>
<dependencies>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-parent
</artifactId>
<version>
${spring-boot.version}
</version>
<type>
pom
</type>
<scope>
import
</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependencies>
<!-- spring-boot-starter-web (spring-webmvc + tomcat) -->
<!-- spring-boot-starter-web (spring-webmvc + tomcat) -->
...
@@ -50,21 +35,17 @@
...
@@ -50,21 +35,17 @@
<dependency>
<dependency>
<groupId>
com.xuxueli
</groupId>
<groupId>
com.xuxueli
</groupId>
<artifactId>
xxl-job-core
</artifactId>
<artifactId>
xxl-job-core
</artifactId>
<version>
${project.parent.version}
</version>
</dependency>
</dependency>
<!-- spring-ai -->
<!-- spring-ai -->
<dependency>
<dependency>
<groupId>
org.springframework.ai
</groupId>
<groupId>
org.springframework.ai
</groupId>
<artifactId>
spring-ai-starter-model-ollama
</artifactId>
<artifactId>
spring-ai-starter-model-ollama
</artifactId>
<version>
${spring-ai.version}
</version>
</dependency>
</dependency>
<!-- dify -->
<!-- dify -->
<dependency>
<dependency>
<groupId>
io.github.imfangs
</groupId>
<groupId>
io.github.imfangs
</groupId>
<artifactId>
dify-java-client
</artifactId>
<artifactId>
dify-java-client
</artifactId>
<version>
${dify-java-client.version}
</version>
</dependency>
</dependency>
</dependencies>
</dependencies>
...
...
xxl-job-executor-samples/xxl-job-executor-sample-springboot/pom.xml
View file @
f8f5441
...
@@ -18,19 +18,6 @@
...
@@ -18,19 +18,6 @@
<properties>
<properties>
</properties>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<!-- Import dependency management from Spring Boot (依赖管理:继承一些默认的依赖,工程需要依赖的jar包的管理,申明其他dependency的时候就不需要version) -->
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-parent
</artifactId>
<version>
${spring-boot.version}
</version>
<type>
pom
</type>
<scope>
import
</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependencies>
<!-- spring-boot-starter-web (spring-webmvc + tomcat) -->
<!-- spring-boot-starter-web (spring-webmvc + tomcat) -->
<dependency>
<dependency>
...
@@ -47,7 +34,6 @@
...
@@ -47,7 +34,6 @@
<dependency>
<dependency>
<groupId>
com.xuxueli
</groupId>
<groupId>
com.xuxueli
</groupId>
<artifactId>
xxl-job-core
</artifactId>
<artifactId>
xxl-job-core
</artifactId>
<version>
${project.parent.version}
</version>
</dependency>
</dependency>
</dependencies>
</dependencies>
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment