Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-1633

Change -snapshot by the build number in the generated OBR description

    XMLWordPrintableJSON

Details

    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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            clement.escoffier Clement Escoffier
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: