build: 采取 bom 方式来管理 JetCache 依赖

This commit is contained in:
jiang4yu
2025-03-30 03:51:52 +00:00
committed by Charles7c
parent 6ad9e08c6b
commit e2d8f45206

View File

@@ -101,27 +101,12 @@
<!-- JetCache一个基于 Java 的缓存系统封装,提供统一的 API 和注解来简化缓存的使用。提供了比 SpringCache 更加强大的注解,可以原生的支持 TTL、两级缓存、分布式自动刷新还提供了 Cache 接口用于手工缓存操作) -->
<dependency>
<groupId>com.alicp.jetcache</groupId>
<artifactId>jetcache-autoconfigure</artifactId>
<artifactId>jetcache-bom</artifactId>
<version>${jetcache.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<!-- JetCache 注解 -->
<dependency>
<groupId>com.alicp.jetcache</groupId>
<artifactId>jetcache-anno</artifactId>
<version>${jetcache.version}</version>
</dependency>
<!-- JetCache Redisson 适配 -->
<dependency>
<groupId>com.alicp.jetcache</groupId>
<artifactId>jetcache-redisson</artifactId>
<version>${jetcache.version}</version>
<exclusions>
<exclusion>
<groupId>org.redisson</groupId>
<artifactId>redisson</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- CosId通用、灵活、高性能的分布式 ID 生成器) -->
<dependency>