File tree 1 file changed +5
-3
lines changed
src/content/docs/getting-started
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -45,20 +45,22 @@ import LastedDependency from '@/components/LastedDependency.astro';
45
45
46
46
## Snapshot
47
47
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/ ) 。
49
49
50
50
:::caution[ 注意事项]
51
51
52
52
自3.5.11-SNAPSHOTS开始,中央快照仓库地址变更为 https://central.sonatype.com/repository/maven-snapshots/ ,版本有效期为90天。
53
53
54
+ 当你使用旧版本时,需要修改为: https://oss.sonatype.org/content/repositories/snapshots/
55
+
54
56
:::
55
57
56
58
Maven:
57
59
58
60
``` xml
59
61
<repository >
60
62
<id >snapshots</id >
61
- <url >https://oss .sonatype.org/content/repositories/ snapshots/</url >
63
+ <url >https://central .sonatype.com/repository/maven- snapshots/</url >
62
64
</repository >
63
65
```
64
66
@@ -77,7 +79,7 @@ Gradle:
77
79
78
80
``` groovy
79
81
repositories {
80
- maven { url 'https://oss .sonatype.org/content/repositories/ snapshots/' }
82
+ maven { url 'https://central .sonatype.com/repository/maven- snapshots/' }
81
83
}
82
84
```
83
85
You can’t perform that action at this time.
0 commit comments