eclipse / microprofile-metrics

microprofile-metrics
Apache License 2.0
100 stars 66 forks source link

Different scheme for MP Metrics 2.2 version #482

Closed jmesnil closed 4 years ago

jmesnil commented 4 years ago

The version for MP Metrics 2.2 is 2.2 in the pom.xml: https://github.com/eclipse/microprofile-metrics/blob/2.2/pom.xml#L21 I was expecting it to be 2.2.0 instead of 2.2

Previous releases of MP Metrics have using different schemes:

What are the rules used by MP Metrics to determine its version scheme?

kenfinnigan commented 4 years ago

2.0.0 and 2.1.0 were aberrations.

For a spec to be included in the MP umbrella, it should only define a major and minor. That's why the latest is only 2.2

jmartisk commented 4 years ago

The correct is just two numbers, as all other MP specs do it. We got scolded for releasing 2.1.0, so 2.2 should fix this. Not sure about the exact reason why there is both 2.0 and 2.0.0.

jmesnil commented 4 years ago

@jmartisk thanks for the clarification.