Skip to content

Commit 4083e35

Browse files
committed
🎨 #4058 修复spring-data-redis的 BOM 污染问题
1 parent 3be78af commit 4083e35

16 files changed

Lines changed: 36 additions & 7 deletions

File tree

  • spring-boot-starters
    • wx-java-channel-multi-spring-boot-starter
    • wx-java-channel-spring-boot-starter
    • wx-java-cp-multi-spring-boot-starter
    • wx-java-cp-spring-boot-starter
    • wx-java-cp-tp-multi-spring-boot-starter
    • wx-java-miniapp-multi-spring-boot-starter
    • wx-java-miniapp-spring-boot-starter
    • wx-java-mp-multi-spring-boot-starter
    • wx-java-mp-spring-boot-starter
    • wx-java-open-multi-spring-boot-starter
    • wx-java-open-spring-boot-starter
    • wx-java-qidian-spring-boot-starter
  • weixin-java-common
  • weixin-java-cp
  • weixin-java-open

pom.xml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@
141141
<httpclient5.version>5.5.2</httpclient5.version>
142142
<jetty.version>9.4.57.v20241219</jetty.version> <!-- 这个不能用10以上的版本,不支持jdk8-->
143143
<bouncycastle.version>1.84</bouncycastle.version>
144+
<spring-data-redis.version>2.3.3.RELEASE</spring-data-redis.version>
144145
</properties>
145146
<dependencyManagement>
146147
<dependencies>
@@ -323,13 +324,6 @@
323324
</exclusion>
324325
</exclusions>
325326
</dependency>
326-
<dependency>
327-
<groupId>org.springframework.data</groupId>
328-
<artifactId>spring-data-redis</artifactId>
329-
<version>2.3.3.RELEASE</version>
330-
<optional>true</optional>
331-
<scope>provided</scope>
332-
</dependency>
333327
<dependency>
334328
<groupId>org.projectlombok</groupId>
335329
<artifactId>lombok</artifactId>

spring-boot-starters/wx-java-channel-multi-spring-boot-starter/pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@
3232
<dependency>
3333
<groupId>org.springframework.data</groupId>
3434
<artifactId>spring-data-redis</artifactId>
35+
<version>${spring-data-redis.version}</version>
36+
<optional>true</optional>
3537
<scope>provided</scope>
3638
</dependency>
3739
<dependency>

spring-boot-starters/wx-java-channel-spring-boot-starter/pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@
3030
<dependency>
3131
<groupId>org.springframework.data</groupId>
3232
<artifactId>spring-data-redis</artifactId>
33+
<version>${spring-data-redis.version}</version>
34+
<optional>true</optional>
3335
<scope>provided</scope>
3436
</dependency>
3537
</dependencies>

spring-boot-starters/wx-java-cp-multi-spring-boot-starter/pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@
3131
<dependency>
3232
<groupId>org.springframework.data</groupId>
3333
<artifactId>spring-data-redis</artifactId>
34+
<version>${spring-data-redis.version}</version>
35+
<optional>true</optional>
3436
<scope>provided</scope>
3537
</dependency>
3638
</dependencies>

spring-boot-starters/wx-java-cp-spring-boot-starter/pom.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
<dependency>
3030
<groupId>org.springframework.data</groupId>
3131
<artifactId>spring-data-redis</artifactId>
32+
<version>${spring-data-redis.version}</version>
33+
<optional>true</optional>
34+
<scope>provided</scope>
3235
</dependency>
3336
</dependencies>
3437

spring-boot-starters/wx-java-cp-tp-multi-spring-boot-starter/pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@
3131
<dependency>
3232
<groupId>org.springframework.data</groupId>
3333
<artifactId>spring-data-redis</artifactId>
34+
<version>${spring-data-redis.version}</version>
35+
<optional>true</optional>
3436
<scope>provided</scope>
3537
</dependency>
3638
</dependencies>

spring-boot-starters/wx-java-miniapp-multi-spring-boot-starter/pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@
3232
<dependency>
3333
<groupId>org.springframework.data</groupId>
3434
<artifactId>spring-data-redis</artifactId>
35+
<version>${spring-data-redis.version}</version>
36+
<optional>true</optional>
3537
<scope>provided</scope>
3638
</dependency>
3739
<dependency>

spring-boot-starters/wx-java-miniapp-spring-boot-starter/pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@
3131
<dependency>
3232
<groupId>org.springframework.data</groupId>
3333
<artifactId>spring-data-redis</artifactId>
34+
<version>${spring-data-redis.version}</version>
35+
<optional>true</optional>
3436
<scope>provided</scope>
3537
</dependency>
3638
<dependency>

spring-boot-starters/wx-java-mp-multi-spring-boot-starter/pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@
3232
<dependency>
3333
<groupId>org.springframework.data</groupId>
3434
<artifactId>spring-data-redis</artifactId>
35+
<version>${spring-data-redis.version}</version>
36+
<optional>true</optional>
3537
<scope>provided</scope>
3638
</dependency>
3739
<dependency>

spring-boot-starters/wx-java-mp-spring-boot-starter/pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727
<dependency>
2828
<groupId>org.springframework.data</groupId>
2929
<artifactId>spring-data-redis</artifactId>
30+
<version>${spring-data-redis.version}</version>
31+
<optional>true</optional>
3032
<scope>provided</scope>
3133
</dependency>
3234
<dependency>

0 commit comments

Comments
 (0)