Skip to content

Commit f339351

Browse files
authored
Update README.md
1 parent 7f495d2 commit f339351

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

README.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,25 @@
2222

2323
<repositories>
2424
<repository>
25-
<id>patamon.release.repository</id>
25+
<id>geocoding</id>
2626
<name>github release repository</name>
27-
<url>https://raw.github.com/icemimosa/maven/release/</url>
27+
<url>https://maven.pkg.github.com/IceMimosa/geocoding</url>
2828
</repository>
2929
</repositories>
3030
```
31+
32+
> PS: 需要申请github token才能访问, [Authenticating to GitHub Packages](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-apache-maven-registry#authenticating-to-github-packages). 比如在 `~/.m2/settings.xml` 添加如下, [token申请地址](https://github.com/settings/tokens)
33+
34+
```xml
35+
<servers>
36+
<server>
37+
<id>geocoding</id>
38+
<username>[YOUR_NAME]</username>
39+
<password>[YOUR_TOKEN]</password>
40+
</server>
41+
<servers>
42+
```
43+
3144

3245
# 1. 数据测试
3346

0 commit comments

Comments
 (0)