Skip to content

Commit 2da4f06

Browse files
committed
更新快照地址.
1 parent a6f17d5 commit 2da4f06

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/content/docs/getting-started/install.mdx

+5-3
Original file line numberDiff line numberDiff line change
@@ -45,20 +45,22 @@ import LastedDependency from '@/components/LastedDependency.astro';
4545

4646
## Snapshot
4747

48-
快照 SNAPSHOT 版本需要添加仓库,且版本号为快照版本 [点击查看最新快照版本号](https://oss.sonatype.org/content/repositories/snapshots/com/baomidou/mybatis-plus-boot-starter/)
48+
快照 SNAPSHOT 版本需要添加仓库,且版本号为快照版本 [点击查看最新快照版本号](https://central.sonatype.com/service/rest/repository/browse/maven-snapshots/com/baomidou/mybatis-plus/)
4949

5050
:::caution[注意事项]
5151

5252
自3.5.11-SNAPSHOTS开始,中央快照仓库地址变更为 https://central.sonatype.com/repository/maven-snapshots/ ,版本有效期为90天。
5353

54+
当你使用旧版本时,需要修改为: https://oss.sonatype.org/content/repositories/snapshots/
55+
5456
:::
5557

5658
Maven:
5759

5860
```xml
5961
<repository>
6062
<id>snapshots</id>
61-
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
63+
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
6264
</repository>
6365
```
6466

@@ -77,7 +79,7 @@ Gradle:
7779

7880
```groovy
7981
repositories {
80-
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
82+
maven { url 'https://central.sonatype.com/repository/maven-snapshots/' }
8183
}
8284
```
8385

0 commit comments

Comments
 (0)