mirror of
https://github.com/PowerJob/PowerJob.git
synced 2025-07-17 00:00:04 +08:00
chore: optimize pom config
This commit is contained in:
parent
dca97010c7
commit
5b78204beb
@ -18,6 +18,7 @@
|
|||||||
<powerjob.worker.version>4.2.1</powerjob.worker.version>
|
<powerjob.worker.version>4.2.1</powerjob.worker.version>
|
||||||
<logback.version>1.2.9</logback.version>
|
<logback.version>1.2.9</logback.version>
|
||||||
<picocli.version>4.3.2</picocli.version>
|
<picocli.version>4.3.2</picocli.version>
|
||||||
|
<spring.version>5.3.23</spring.version>
|
||||||
|
|
||||||
<spring.boot.version>2.3.4.RELEASE</spring.boot.version>
|
<spring.boot.version>2.3.4.RELEASE</spring.boot.version>
|
||||||
|
|
||||||
@ -98,6 +99,13 @@
|
|||||||
<artifactId>postgresql</artifactId>
|
<artifactId>postgresql</artifactId>
|
||||||
<version>${postgresql.version}</version>
|
<version>${postgresql.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
<!-- worker 移除了 Spring 强依赖,agent 需要使用容器功能必须直接依赖 -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.springframework</groupId>
|
||||||
|
<artifactId>spring-context</artifactId>
|
||||||
|
<version>${spring.version}</version>
|
||||||
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
|
||||||
|
@ -21,6 +21,7 @@
|
|||||||
|
|
||||||
<logback.version>1.2.9</logback.version>
|
<logback.version>1.2.9</logback.version>
|
||||||
|
|
||||||
|
<powerjob-common.version>4.2.1</powerjob-common.version>
|
||||||
<powerjob-remote-framework.version>4.2.1</powerjob-remote-framework.version>
|
<powerjob-remote-framework.version>4.2.1</powerjob-remote-framework.version>
|
||||||
<powerjob-remote-impl-akka.version>4.2.1</powerjob-remote-impl-akka.version>
|
<powerjob-remote-impl-akka.version>4.2.1</powerjob-remote-impl-akka.version>
|
||||||
<powerjob-remote-impl-http.version>4.2.1</powerjob-remote-impl-http.version>
|
<powerjob-remote-impl-http.version>4.2.1</powerjob-remote-impl-http.version>
|
||||||
@ -28,12 +29,11 @@
|
|||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|
||||||
<!-- Spring 依赖(非强依赖) -->
|
<!-- 仍然手动引入 common 依赖并置顶,保证依赖仲裁时占据上风 -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework</groupId>
|
<groupId>tech.powerjob</groupId>
|
||||||
<artifactId>spring-context</artifactId>
|
<artifactId>powerjob-common</artifactId>
|
||||||
<version>${spring.version}</version>
|
<version>${powerjob-common.version}</version>
|
||||||
<scope>provided</scope>
|
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!-- PowerJob 通讯框架 -->
|
<!-- PowerJob 通讯框架 -->
|
||||||
@ -44,12 +44,13 @@
|
|||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!-- PowerJob 通讯层具体实现,按需选择自己需要的通讯器即可。如果包冲突可尝试更换通讯器实现。 -->
|
<!-- PowerJob 通讯层具体实现,按需选择自己需要的通讯器即可。如果包冲突可尝试更换通讯器实现。 -->
|
||||||
|
<!-- 4.3.x 版本前 AKKA 都是 PowerJob 通讯层的唯一实现,考虑到兼容性 4.3.x 默认仍为 AKKA,但由于 AKKA 后续收费,最终会废弃该模块 -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>tech.powerjob</groupId>
|
<groupId>tech.powerjob</groupId>
|
||||||
<artifactId>powerjob-remote-impl-akka</artifactId>
|
<artifactId>powerjob-remote-impl-akka</artifactId>
|
||||||
<version>${powerjob-remote-impl-akka.version}</version>
|
<version>${powerjob-remote-impl-akka.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<!-- 4.3.x 版本考虑到兼容性,官方默认实现仍为 akka,如需使用 HTTP 请仔细引入依赖 -->
|
<!-- 4.3.x 版本考虑到兼容性,官方默认实现仍为 akka,如需使用 HTTP 请自行引入依赖并修改 worker 启动配置 -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>tech.powerjob</groupId>
|
<groupId>tech.powerjob</groupId>
|
||||||
<artifactId>powerjob-remote-impl-http</artifactId>
|
<artifactId>powerjob-remote-impl-http</artifactId>
|
||||||
@ -70,6 +71,14 @@
|
|||||||
<version>${hikaricp.version}</version>
|
<version>${hikaricp.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
<!-- Spring 依赖(非强依赖) -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.springframework</groupId>
|
||||||
|
<artifactId>spring-context</artifactId>
|
||||||
|
<version>${spring.version}</version>
|
||||||
|
<scope>provided</scope>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
<!-- Junit 测试 -->
|
<!-- Junit 测试 -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.junit.jupiter</groupId>
|
<groupId>org.junit.jupiter</groupId>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user