Especially the package version should never have a bugfix version. So
it
would be 1.0 or 2.0.
This is interesting, I was not aware that the bugfix version should
not be used here (just grepping over the Felix Code shows that most
places use two digits, some use three digits). What's the reasoning
behind it? (I'm happy to adjust, just want to understand it)
So I tested a bit more, there are cases where the baseline plugin
suggests to increase the bugfix version, for instance for an added
annotation [1] (though I think for most cases, a minor or major version
bump is required)
[1]
[INFO]
-----------------------------------------------------------------------------------------------------------
[INFO] ~ org.apache.felix.hc.api.execution changed
0.1.1 0.1.1 0.1.2 Version increase required
[INFO] ~ class
org.apache.felix.hc.api.execution.HealthCheckExecutionOptions
[INFO] + annotated org.osgi.annotation.versioning.ProviderType