Skip to content

Commit e2d8f45

Browse files
jiang4yuCharles7c
authored andcommitted
build: 采取 bom 方式来管理 JetCache 依赖
1 parent 6ad9e08 commit e2d8f45

File tree

1 file changed

+4
-19
lines changed
  • continew-starter-dependencies

1 file changed

+4
-19
lines changed

continew-starter-dependencies/pom.xml

Lines changed: 4 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -101,27 +101,12 @@
101101
<!-- JetCache(一个基于 Java 的缓存系统封装,提供统一的 API 和注解来简化缓存的使用。提供了比 SpringCache 更加强大的注解,可以原生的支持 TTL、两级缓存、分布式自动刷新,还提供了 Cache 接口用于手工缓存操作) -->
102102
<dependency>
103103
<groupId>com.alicp.jetcache</groupId>
104-
<artifactId>jetcache-autoconfigure</artifactId>
104+
<artifactId>jetcache-bom</artifactId>
105105
<version>${jetcache.version}</version>
106+
<type>pom</type>
107+
<scope>import</scope>
106108
</dependency>
107-
<!-- JetCache 注解 -->
108-
<dependency>
109-
<groupId>com.alicp.jetcache</groupId>
110-
<artifactId>jetcache-anno</artifactId>
111-
<version>${jetcache.version}</version>
112-
</dependency>
113-
<!-- JetCache Redisson 适配 -->
114-
<dependency>
115-
<groupId>com.alicp.jetcache</groupId>
116-
<artifactId>jetcache-redisson</artifactId>
117-
<version>${jetcache.version}</version>
118-
<exclusions>
119-
<exclusion>
120-
<groupId>org.redisson</groupId>
121-
<artifactId>redisson</artifactId>
122-
</exclusion>
123-
</exclusions>
124-
</dependency>
109+
125110

126111
<!-- CosId(通用、灵活、高性能的分布式 ID 生成器) -->
127112
<dependency>

0 commit comments

Comments
 (0)