-
-
Notifications
You must be signed in to change notification settings - Fork 9.1k
新增 wx-java-bom 模块,支持统一管理 WxJava 依赖版本 #3975
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Changes from all commits
4c99fcf
4343289
30f3c7e
b36b1ac
af9b902
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,213 @@ | ||
| <?xml version="1.0"?> | ||
| <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" | ||
| xmlns="http://maven.apache.org/POM/4.0.0"> | ||
| <modelVersion>4.0.0</modelVersion> | ||
| <parent> | ||
| <groupId>com.github.binarywang</groupId> | ||
| <artifactId>wx-java</artifactId> | ||
| <version>4.8.2.B</version> | ||
| </parent> | ||
|
|
||
| <artifactId>wx-java-bom</artifactId> | ||
| <packaging>pom</packaging> | ||
| <name>WxJava - BOM</name> | ||
| <description>WxJava 依赖管理 BOM(Bill of Materials),用于统一管理 WxJava 各模块的版本</description> | ||
|
|
||
| <dependencyManagement> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This BOM manages individual starter/plugin artifacts, but it doesn’t appear to manage the aggregator POMs (e.g., Severity: low 🤖 Was this useful? React with 👍 or 👎, or 🚀 if it prevented an incident/outage. |
||
| <dependencies> | ||
| <!-- WxJava 核心模块 --> | ||
| <dependency> | ||
| <groupId>com.github.binarywang</groupId> | ||
| <artifactId>weixin-graal</artifactId> | ||
| <version>${project.version}</version> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>com.github.binarywang</groupId> | ||
| <artifactId>weixin-java-common</artifactId> | ||
| <version>${project.version}</version> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>com.github.binarywang</groupId> | ||
| <artifactId>weixin-java-mp</artifactId> | ||
| <version>${project.version}</version> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>com.github.binarywang</groupId> | ||
| <artifactId>weixin-java-pay</artifactId> | ||
| <version>${project.version}</version> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>com.github.binarywang</groupId> | ||
| <artifactId>weixin-java-miniapp</artifactId> | ||
| <version>${project.version}</version> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>com.github.binarywang</groupId> | ||
| <artifactId>weixin-java-open</artifactId> | ||
| <version>${project.version}</version> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>com.github.binarywang</groupId> | ||
| <artifactId>weixin-java-cp</artifactId> | ||
| <version>${project.version}</version> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>com.github.binarywang</groupId> | ||
| <artifactId>weixin-java-channel</artifactId> | ||
| <version>${project.version}</version> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>com.github.binarywang</groupId> | ||
| <artifactId>weixin-java-qidian</artifactId> | ||
| <version>${project.version}</version> | ||
| </dependency> | ||
|
|
||
| <!-- WxJava Spring Boot Starters 聚合 POM --> | ||
| <dependency> | ||
| <groupId>com.github.binarywang</groupId> | ||
| <artifactId>wx-java-spring-boot-starters</artifactId> | ||
| <version>${project.version}</version> | ||
| <type>pom</type> | ||
| </dependency> | ||
|
|
||
| <!-- WxJava Spring Boot Starters --> | ||
| <dependency> | ||
| <groupId>com.github.binarywang</groupId> | ||
| <artifactId>wx-java-mp-spring-boot-starter</artifactId> | ||
| <version>${project.version}</version> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>com.github.binarywang</groupId> | ||
| <artifactId>wx-java-mp-multi-spring-boot-starter</artifactId> | ||
| <version>${project.version}</version> | ||
| </dependency> | ||
|
Comment on lines
+74
to
+84
|
||
| <dependency> | ||
| <groupId>com.github.binarywang</groupId> | ||
| <artifactId>wx-java-pay-spring-boot-starter</artifactId> | ||
| <version>${project.version}</version> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>com.github.binarywang</groupId> | ||
| <artifactId>wx-java-pay-multi-spring-boot-starter</artifactId> | ||
| <version>${project.version}</version> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>com.github.binarywang</groupId> | ||
| <artifactId>wx-java-miniapp-spring-boot-starter</artifactId> | ||
| <version>${project.version}</version> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>com.github.binarywang</groupId> | ||
| <artifactId>wx-java-miniapp-multi-spring-boot-starter</artifactId> | ||
| <version>${project.version}</version> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>com.github.binarywang</groupId> | ||
| <artifactId>wx-java-open-spring-boot-starter</artifactId> | ||
| <version>${project.version}</version> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>com.github.binarywang</groupId> | ||
| <artifactId>wx-java-open-multi-spring-boot-starter</artifactId> | ||
| <version>${project.version}</version> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>com.github.binarywang</groupId> | ||
| <artifactId>wx-java-cp-spring-boot-starter</artifactId> | ||
| <version>${project.version}</version> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>com.github.binarywang</groupId> | ||
| <artifactId>wx-java-cp-multi-spring-boot-starter</artifactId> | ||
| <version>${project.version}</version> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>com.github.binarywang</groupId> | ||
| <artifactId>wx-java-cp-tp-multi-spring-boot-starter</artifactId> | ||
| <version>${project.version}</version> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>com.github.binarywang</groupId> | ||
| <artifactId>wx-java-channel-spring-boot-starter</artifactId> | ||
| <version>${project.version}</version> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>com.github.binarywang</groupId> | ||
| <artifactId>wx-java-channel-multi-spring-boot-starter</artifactId> | ||
| <version>${project.version}</version> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>com.github.binarywang</groupId> | ||
| <artifactId>wx-java-qidian-spring-boot-starter</artifactId> | ||
| <version>${project.version}</version> | ||
| </dependency> | ||
|
|
||
| <!-- WxJava Solon Plugins 聚合 POM --> | ||
| <dependency> | ||
| <groupId>com.github.binarywang</groupId> | ||
| <artifactId>wx-java-solon-plugins</artifactId> | ||
| <version>${project.version}</version> | ||
| <type>pom</type> | ||
| </dependency> | ||
|
|
||
| <!-- WxJava Solon Plugins --> | ||
| <dependency> | ||
| <groupId>com.github.binarywang</groupId> | ||
| <artifactId>wx-java-mp-solon-plugin</artifactId> | ||
| <version>${project.version}</version> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>com.github.binarywang</groupId> | ||
| <artifactId>wx-java-mp-multi-solon-plugin</artifactId> | ||
| <version>${project.version}</version> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>com.github.binarywang</groupId> | ||
| <artifactId>wx-java-pay-solon-plugin</artifactId> | ||
| <version>${project.version}</version> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>com.github.binarywang</groupId> | ||
| <artifactId>wx-java-miniapp-solon-plugin</artifactId> | ||
| <version>${project.version}</version> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>com.github.binarywang</groupId> | ||
| <artifactId>wx-java-miniapp-multi-solon-plugin</artifactId> | ||
| <version>${project.version}</version> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>com.github.binarywang</groupId> | ||
| <artifactId>wx-java-open-solon-plugin</artifactId> | ||
| <version>${project.version}</version> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>com.github.binarywang</groupId> | ||
| <artifactId>wx-java-cp-solon-plugin</artifactId> | ||
| <version>${project.version}</version> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>com.github.binarywang</groupId> | ||
| <artifactId>wx-java-cp-multi-solon-plugin</artifactId> | ||
| <version>${project.version}</version> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>com.github.binarywang</groupId> | ||
| <artifactId>wx-java-channel-solon-plugin</artifactId> | ||
| <version>${project.version}</version> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>com.github.binarywang</groupId> | ||
| <artifactId>wx-java-channel-multi-solon-plugin</artifactId> | ||
| <version>${project.version}</version> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>com.github.binarywang</groupId> | ||
| <artifactId>wx-java-qidian-solon-plugin</artifactId> | ||
| <version>${project.version}</version> | ||
| </dependency> | ||
| </dependencies> | ||
| </dependencyManagement> | ||
|
|
||
| </project> | ||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wx-java-bomcurrently inherits from the rootwx-javaparent; when consumers import this BOM, they may also inherit the parent’s fulldependencyManagement(third-party libs likeslf4j-api,jackson-bom, etc.), potentially overriding application-chosen versions—was that intended for this BOM’s contract?Severity: high
🤖 Was this useful? React with 👍 or 👎, or 🚀 if it prevented an incident/outage.