Skip to content

Commit 6229715

Browse files
authored
Merge pull request #23 from mercyblitz/master
Add the SNAPSHOT repository
2 parents 01bc7b2 + 40af390 commit 6229715

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed

README-zh.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,23 @@
2929

3030
然后在 `dependencies` 中添加自己所需使用的依赖即可使用。
3131

32+
如果您想使用 SNAPSHOT 版本的话,请添加以下 `<repository>``pom.xml` 文件:
33+
34+
```xml
35+
<repositories>
36+
<repository>
37+
<id>sonatype-snapshots</id>
38+
<name>Sonatype Snapshots</name>
39+
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
40+
<snapshots>
41+
<enabled>true</enabled>
42+
</snapshots>
43+
<releases>
44+
<enabled>false</enabled>
45+
</releases>
46+
</repository>
47+
</repositories>
48+
```
3249

3350

3451
## 组件

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,24 @@ These artifacts are available from Maven Central via BOM:
3030

3131
add the module in `dependencies`.
3232

33+
If you'd like to use the SNAPSHOT artifacts, please add the following `<repository>` into `pom.xml`:
34+
35+
```xml
36+
<repositories>
37+
<repository>
38+
<id>sonatype-snapshots</id>
39+
<name>Sonatype Snapshots</name>
40+
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
41+
<snapshots>
42+
<enabled>true</enabled>
43+
</snapshots>
44+
<releases>
45+
<enabled>false</enabled>
46+
</releases>
47+
</repository>
48+
</repositories>
49+
```
50+
3351

3452

3553
## Components

0 commit comments

Comments
 (0)