Commit ceeede8
committed
GH-5746: Add Maven-integrated dependency update report script
Adds scripts/dependency-updates.py and a Maven profile so that
the update status of all external dependencies can be checked with:
mvn -N -P dependency-updates validate
The script scans all module POMs, resolves versions from the root
dependencyManagement, and queries repo1.maven.org/maven2 for the
latest release version of each dependency via maven-metadata.xml.
It prints two tables:
1. Version status, grouped into major updates, minor/patch updates,
up-to-date, and unknown.
2. Dependencies available under different Maven coordinates, covering
known coordinate renames such as Jackson 2.x → tools.jackson.* 3.x,
Apache HttpComponents 4 → httpcomponents.client5/core5, and the
Elasticsearch REST high-level client → co.elastic.clients.
Artifacts merged into a successor (e.g. jackson-annotations absorbed
into jackson-core in 3.x) are flagged as "(not found — possibly
merged)"
rather than shown as broken.
Both tables include a Modules column listing which sub-modules declare
each dependency. Developer documentation is added to
site/content/documentation/developer/dependency-updates.md.1 parent 0652a4c commit ceeede8
3 files changed
Lines changed: 526 additions & 0 deletions
File tree
- scripts
- site/content/documentation/developer
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
424 | 424 | | |
425 | 425 | | |
426 | 426 | | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
427 | 463 | | |
428 | 464 | | |
429 | 465 | | |
| |||
0 commit comments