更新 README.md

This commit is contained in:
shikong 2024-01-11 10:44:34 +08:00
parent 99ce7afc73
commit 443ed7fc2c

View File

@ -26,8 +26,15 @@ docker run --name gb28181 --rm \
skcks.cn/gb28181-docking-platform:0.0.1-SNAPSHOT skcks.cn/gb28181-docking-platform:0.0.1-SNAPSHOT
``` ```
### 清理私仓
切换到私仓目录
例: cd H:/Repository/skcks.cn/gb28181-docking-platform-mvn-repo
```shell
rm -rf ./*/*/*/*/0.1.0-SNAPSHOT
rm -rf ./*/*/*/*/*/0.1.0-SNAPSHOT
```
### 打包到本地私仓 ### 打包到本地私仓
```shell ```shell
mvn deploy -s settings.xml -DaltDeploymentRepository=local-repo::default::file:H:/Repository/skcks.cn/gb28181-docking-platform-mvn-repo mvn deploy -s settings.xml -DaltDeploymentRepository=local-repo::default::file:H:/Repository/skcks.cn/gb28181-docking-platform-mvn-repo
``` ```
git push 推送即可 git push 推送即可