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() {
-
7、【优化】执行器详情接口权限调整,支持普通用户查看注册节点;合并PR-3882;
-
8、【优化】任务参数LogDateTime生成逻辑调整,分片广播场景下保障时间一致;
-
9、【升级】升级多项maven依赖至较新版本,如 spring、netty、xxl-sso、xxl-tool 等;
-
10、【TODO】任务调度触发后分批批量更新,提升调度性能;
-
10、【优化】统一项目依赖管理结构,依赖版本统一到父级pom提升可维护性;
-
11、【TODO】任务调度触发后分批批量更新,提升调度性能;
...
...
pom.xml
View file @
f8f5441
...
...
@@ -55,8 +55,129 @@
<xxl-tool.version>
2.4.2
</xxl-tool.version>
<!-- gson -->
<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>
<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>
<license>
<name>
GNU General Public License version 3
</name>
...
...
xxl-job-admin/pom.xml
View file @
f8f5441
...
...
@@ -13,26 +13,14 @@
<maven.deploy.skip>
true
</maven.deploy.skip>
</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>
<!-- starter-web
:spring-webmvc + autoconfigure + logback + yaml + tomcat
-->
<!-- starter-web -->
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-web
</artifactId>
</dependency>
<!-- starter-test
:junit + spring-test + mockito
-->
<!-- starter-test -->
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-test
</artifactId>
...
...
@@ -55,31 +43,27 @@
<artifactId>
spring-boot-starter-actuator
</artifactId>
</dependency>
<!-- mybatis-starter
:mybatis + mybatis-spring + hikari(default)
-->
<!-- mybatis-starter -->
<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)
-->
<!-- xxl-sso -->
<dependency>
<groupId>
com.xuxueli
</groupId>
<artifactId>
xxl-sso-core
</artifactId>
<version>
${xxl-sso.version}
</version>
</dependency>
</dependencies>
...
...
xxl-job-core/pom.xml
View file @
f8f5441
...
...
@@ -20,14 +20,12 @@
<dependency>
<groupId>
org.slf4j
</groupId>
<artifactId>
slf4j-api
</artifactId>
<version>
${slf4j-api.version}
</version>
</dependency>
<!-- jakarta.annotation-api -->
<dependency>
<groupId>
jakarta.annotation
</groupId>
<artifactId>
jakarta.annotation-api
</artifactId>
<version>
${jakarta.annotation-api.version}
</version>
<scope>
provided
</scope>
</dependency>
...
...
@@ -35,19 +33,16 @@
<dependency>
<groupId>
io.netty
</groupId>
<artifactId>
netty-codec-http
</artifactId>
<version>
${netty.version}
</version>
</dependency>
<dependency>
<groupId>
com.google.code.gson
</groupId>
<artifactId>
gson
</artifactId>
<version>
${gson.version}
</version>
</dependency>
<!-- ********************** tool: xxl-tool ********************** -->
<dependency>
<groupId>
com.xuxueli
</groupId>
<artifactId>
xxl-tool
</artifactId>
<version>
${xxl-tool.version}
</version>
</dependency>
<!-- ********************** plugin: groovy + spring ********************** -->
...
...
@@ -55,14 +50,12 @@
<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>
...
...
xxl-job-executor-samples/xxl-job-executor-sample-frameless/pom.xml
View file @
f8f5441
...
...
@@ -22,27 +22,18 @@
<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>
<scope>
test
</scope>
</dependency>
<!--<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-launcher</artifactId>
<version>${junit-jupiter.version}</version>
<scope>test</scope>
</dependency>-->
<!-- xxl-job-core -->
<dependency>
<groupId>
com.xuxueli
</groupId>
<artifactId>
xxl-job-core
</artifactId>
<version>
${project.parent.version}
</version>
</dependency>
</dependencies>
...
...
xxl-job-executor-samples/xxl-job-executor-sample-springboot-ai/pom.xml
View file @
f8f5441
...
...
@@ -16,23 +16,8 @@
<url>
https://www.xuxueli.com/
</url>
<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>
<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>
</properties>
<dependencies>
<!-- spring-boot-starter-web (spring-webmvc + tomcat) -->
...
...
@@ -50,21 +35,17 @@
<dependency>
<groupId>
com.xuxueli
</groupId>
<artifactId>
xxl-job-core
</artifactId>
<version>
${project.parent.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>
...
...
xxl-job-executor-samples/xxl-job-executor-sample-springboot/pom.xml
View file @
f8f5441
...
...
@@ -18,19 +18,6 @@
<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>
<!-- spring-boot-starter-web (spring-webmvc + tomcat) -->
<dependency>
...
...
@@ -47,7 +34,6 @@
<dependency>
<groupId>
com.xuxueli
</groupId>
<artifactId>
xxl-job-core
</artifactId>
<version>
${project.parent.version}
</version>
</dependency>
</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