Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
When deploying a snapshot bundle on OBR, the generated version is the artifact version such as: 0.7.0-SNAPSHOT. However, if we redeploy another version without increasing the version to 0.7.1-SNAPSHOT, the OBR keeps the same version. So, it is not possible to update the bundle has it's the same version.
This improvement propose to replace -SNAPSHOT in the generated version by the build number (contained in the deployed maven metadata). It will give something like: 0.7.0-000001. The next deployment will be something like: 0.7.0-000002. We can't directly use the time stamp as we need to be compliant with the OSGi versionning scheme and order.
The resource id can still use SNAPSHOT (so, next deployment with replace the previous description) or can be also replaced.