liuyanming.lym 443bd44b0a check out db -> h2 | 1 hete | |
---|---|---|
doc | 1 hete | |
src | 1 hete | |
.drone.yml | 1 hónapja | |
.gitignore | 8 hónapja | |
LICENSE | 8 hónapja | |
README-zh.md | 1 hete | |
README.md | 1 hete | |
icon.png | 8 hónapja | |
pom-update-schema-and-demo-data.sql | 8 hónapja | |
pom-update-schema.sql | 8 hónapja | |
pom.xml | 1 hete | |
replaceAndStart.sh | 5 hónapja | |
run.sh | 5 hónapja |
准备翻译中~~~~~ 点赞加速 🌟Star
Check if there are updates to the direct dependencies of your maven project.
upload a pom.xml
and wait an email if there were any new version of the dependencies in your project.
Copy this to your browser,Note: Replace the 📧Email(yourEmail@demo.com
) and 🔗pom.xml link into yours.
git clone https://github.com/ChinaLym/pom-update
Create tables in your database like pom-update-schema-and-demo-data.sql.
Configuration:
Way 1: Fill the database、email in application.properties
.
Way 2: Use env variables.
# 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
相比
📒 In a world:
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. ======='