自动清理 Naxus maven-snapshots 仓库 jar 包

自动清理 Naxus maven-snapshots 仓库 jar

1. 登陆私网 Naxus 仓库

http://Naxus

2. 进入管理后台

选择 Server administration and configuration 图标

3. 选择 System --> Tasks 并新建任务

4. 创建自动清理 maven-snapshots 仓库 jar 包的任务

  • Repository: 需要清理的仓库,此处为 maven-snapshots 仓库

  • Minimum snapshot count: 保留多少个版本的jar包

  • Snapshot retention (days): 保留多少天

5. 创建自动清理 blob store 服务任务

参考博客

https://blog.csdn.net/connection_/article/details/108243818

https://www.cnblogs.com/ding2016/p/10726047.html

https://blog.csdn.net/shiyuehit/article/details/82783463
posted @ 2022-05-07 16:26  evescn  阅读(737)  评论(0编辑  收藏  举报