README.md 3.3 KB

Pom-Update

📖Introduction 中文 language

⚡ Fast Check if any dependencies updates of your maven project.

💪 100x faster than mvn versions:display-dependency-updates.

workflow.png

🚀 Quick Start

One step and you will received an email when dependencies update like this:

email_phone_shortcut.png

🌏 Web UI 👈

upload a pom.xml and wait an email if there were any new version of the dependencies in your project.

🔗 Web Url

Copy this url to your browser,Note: Replace the 📧EmailyourEmail@demo.com) and 🔗pom.xml link into yours.

http://autopom.itlym.cn/projects/createWithUrl?email=yourEmail@demo.com&pomXmlUrl=https://raw.githubusercontent.com/ChinaLym/shoulder-framework/master/shoulder-dependencies/pom.xml&notifyInstantlyAfterCheck=true&notifyReason=ONLY_TEST_DEMO

⏬️ Run with local

⚡ Just Clone and Run it in localhost:12345!

git clone https://github.com/ChinaLym/pom-update
````

If you want to active notification, just complete the configuration in `application.properties`.

# 🚢 Run with Docker

Coming soon ... **[🌟Star](https://gitee.com/ChinaLym/pom-update/star)** make it soon.

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

📩 Feedback & Contact

Thanks for your 🌟Star🍴Fork🏁PR.

Please feel free to contact with use in issuesor email to cn_lym@foxmail.com . For example: your ideas, expectations~

Issue on Github if any questions

🛰 Guide-Endpoint

Test Page

http://localhost:12345/index.html

Check all projects' dependencies if there were new releases version.

http://localhost:12345/test/version

Send Email notification.

http://localhost:12345/test/notify

Notification settings

http://localhost:12345/dependencies/updateNotifyStrategy?projectId=10&notifyStrategy=ALWAYS&email=your@demoemail.com

# 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&notifyInstantlyAfterCheck=true&notifyReason=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. ======='

More