Skip to content

Commit

Permalink
Explicitly lock version of ch.qos.logback:logback-classic to fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
linghengqian committed Jan 15, 2024
1 parent b689267 commit af1b0a1
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

除开 `com.baomidou:springboot3-sample`, 其他子模块均可在 [OpenJDK 8, OpenJDK 21] 的 JDK 范围及其下游发行版下执行单元测试。

所有单元测试在 Github Actions 完成验证。 你可能希望参考 [位于 Github Actions 的 CI 文件](./.github/workflows/ci.yml)
所有单元测试在 Github Actions 完成验证。你可能希望参考 [位于 Github Actions 的 CI 文件](./.github/workflows/ci.yml)

- add-remove-datasource 动态添加删除数据源的使用示例
- all-datasource-sample 所有不同连接池使用示例(大乱炖,实际不建议)
Expand Down
4 changes: 4 additions & 0 deletions datasource-samples/druid-sample/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
Expand Down
6 changes: 6 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
<h2.version>2.2.224</h2.version>
<spring-boot-dependencies.version>2.7.18</spring-boot-dependencies.version>
<lombok.version>1.18.30</lombok.version>
<logback.version>1.2.13</logback.version>
</properties>

<modules>
Expand All @@ -46,6 +47,11 @@
<artifactId>dynamic-datasource-spring-boot3-starter</artifactId>
<version>${ds.version}</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>${logback.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
Expand Down

0 comments on commit af1b0a1

Please sign in to comment.