lym e7dd36a095 update img | 5 mesi fa | |
---|---|---|
.idea | 5 mesi fa | |
doc | 5 mesi fa | |
src | 5 mesi fa | |
.drone.yml | 5 mesi fa | |
.gitignore | 5 mesi fa | |
LICENSE | 5 mesi fa | |
README-zh.md | 5 mesi fa | |
README.md | 5 mesi fa | |
pom.xml | 5 mesi fa | |
replaceAndStart.sh | 5 mesi fa | |
run.sh | 5 mesi fa |
快速检查 maven 工程中依赖是否可以升级版本.
💪 100 倍 的性能于 maven 官方插件 mvn versions:display-dependency-updates
.
一步操作,您工程的依赖更新后,您将收到一封邮件,如下:(默认是早上9:00 才会发邮件)
上传 pom.xml
如果有依赖可以升级则会向你发送邮件.
复制以下 url,修改 📧Email(yourEmail@demo.com
) 和 🔗pom.xml 地址 到浏览器地址栏回车。
⚡ 下载代码直接运行在 localhost:12345
!
git clone https://github.com/ChinaLym/pom-update
````
如果想使用通知功能, 则可以修改 `application.properties` 配置激活。
# 🚢 Docker 运行
准备中~~~~~ 点赞加速 **[🌟Star](https://gitee.com/ChinaLym/pom-update/star)**
env:
```text
# Email: such as demo@qq.com
TEST_SENDER_EMAIL
# Email: SFTP Token
TEST_EMAIL_TOKEN
# MYSQL url and password
MYSQL_ADDR
MYSQL_PWD
与 maven 的 mvn versions:display-dependency-updates
相比
📒 总结:
http://localhost:12345/index.html
http://localhost:12345/test/version
http://localhost:12345/test/notify
有新版就通知
、新稳定版才通知
...# TEMP TEST
curl --location --request GET 'http://localhost:12345/projects/createWithUrl?email=yourEmail@demo.com&pomXmlUrl=https://raw.githubusercontent.com/ChinaLym/shoulder-framework/master/shoulder-dependencies/pom.xml¬ifyInstantlyAfterCheck=true¬ifyReason=ONLY_TEST_DEMO' || echo '======= SKIP dependency check. ======='
# POST
curl --location --request POST 'http://localhost:12345/projects/create' --form 'email=yourEmail@demo.com' --form 'pomXml=@shoulder-dependencies/pom.xml' --form 'notifyInstantlyAfterCheck=true' --form 'notifyReason=CI-<a href="https://cicd.yourdomain.com/xxx/${DRONE_REPO_NAME}">${DRONE_REPO_NAME}::${DRONE_REPO_BRANCH}</a><br> with <a href="https://cicd.yourdomain.cn/gogs/${DRONE_REPO_NAME}/${DRONE_BUILD_NUMBER}">Drone Build-${DRONE_BUILD_NUMBER}</a><br>' || echo '======= SKIP dependency check. ======='