Fix the version io.micrometer mismatch between libs.versions.toml and the lib versions in the binary distribution
- Dominant language
- Java
- Stars
- 2.1k
- Forks
- 522
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 137
Description
### Describe the bug
The version mismatch is confusing and make it hard to update the license. It doesn't impact the runtime though, as their versions are consistent.
libs.versions.toml:
```
micrometer-bom = { module = "io.micrometer:micrometer-bom", version = "1.15.1" }
```
For both `polaris-admin` and `polaris-server`, the final resolved versions are 1.14.7 for the main branch. (It's 14.6 for the branch `release/1.0.x`, which aligns with @jbonofre 's observation.)
```
ygu@FM4LQ4GJ90 polaris-bin-1.1.0-incubating-SNAPSHOT % ls admin/lib/main | grep io.micrometer
io.micrometer.micrometer-commons-1.14.7.jar
io.micrometer.micrometer-core-1.14.7.jar
io.micrometer.micrometer-observation-1.14.7.jar
ygu@FM4LQ4GJ90 polaris-bin-1.1.0-incubating-SNAPSHOT % ls server/lib/main | grep io.micrometer
io.micrometer.micrometer-commons-1.14.7.jar
io.micrometer.micrometer-core-1.14.7.jar
io.micrometer.micrometer-observation-1.14.7.jar
io.micrometer.micrometer-registry-prometheus-simpleclient-1.14.7.jar
```
cc @dimas-b @jbonofre
Contributor guide
Research direction
Start by comparing the micrometer entry in libs.versions.toml with the resolved JAR versions under admin/lib/main and server/lib/main. Trace how the binary distribution resolves those dependencies for the main branch and confirm that both polaris-admin and polaris-server use the version declared in libs.versions.toml.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100