Merge pull request #128 from kang8/dev

[WIP] doc: 添加快照版本对应更详细的文档
This commit is contained in:
yadong.zhang 2021-08-15 09:33:21 -05:00 committed by GitHub
commit 0047cde50e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -76,6 +76,36 @@ JustAuth 集成了诸如Github、Gitee、支付宝、新浪微博、微信、
> **latest-version** 可选: > **latest-version** 可选:
> - 稳定版:![](https://img.shields.io/github/v/release/justauth/JustAuth?style=flat-square) > - 稳定版:![](https://img.shields.io/github/v/release/justauth/JustAuth?style=flat-square)
> - 快照版:![](https://img.shields.io/nexus/s/https/oss.sonatype.org/me.zhyd.oauth/JustAuth.svg?style=flat-square) > - 快照版:![](https://img.shields.io/nexus/s/https/oss.sonatype.org/me.zhyd.oauth/JustAuth.svg?style=flat-square)
> > 注意:快照版本是功能的尝鲜,并不保证稳定性。请勿在生产环境中使用。
>
> <details>
> <summary>如何引入快照版本</summary>
>
> JustAuth 的快照版本托管在 ossrh 上,所以要指定下载地址。
>
> ```xml
> <repositories>
> <repository>
> <id>ossrh-snapshot</id>
> <url>https://oss.sonatype.org/content/repositories/snapshots</url>
> <snapshots>
> <enabled>true</enabled>
> </snapshots>
> </repository>
> </repositories>
> ```
>
> 如果你想第一时间获取 JustAuth 的最新快照,可以添加下列代码,每次构建时都检查是否有最新的快照(默认每天检查)。
>
> ```diff
> <url>https://oss.sonatype.org/content/repositories/snapshots</url>
> <snapshots>
> + <updatePolicy>always</updatePolicy>
> <enabled>true</enabled>
> </snapshots>
> ```
>
> </details>
如下**任选一种** HTTP 工具 依赖_项目内如果已有请忽略。另外需要特别注意如果项目中已经引入了低版本的依赖请先排除低版本依赖后再引入高版本或者最新版本的依赖_ 如下**任选一种** HTTP 工具 依赖_项目内如果已有请忽略。另外需要特别注意如果项目中已经引入了低版本的依赖请先排除低版本依赖后再引入高版本或者最新版本的依赖_