Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-4442

Improve slightly misleading message after SNAPSHOT feature installation

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.0.4
    • Fix Version/s: 4.1.0, 4.0.6
    • Component/s: karaf
    • Labels:
      None

      Description

      According to Karaf's own provisioning manual (https://karaf.apache.org/manual/latest/users-guide/provisioning.html), "You can update a release by installing the same feature (with the same SNAPSHOT version or a different version)"

      When I try to install a feature of the same SNAPSHOT version, in my case, both through kar:install and feature:install, I get the following message:

      The specified feature: 'feature' version '1.0.0.SNAPSHOT' is already installed

      However, if I look into the logs and effects of the command, I can clearly see that the feature was in fact upgraded.

      Therefore, I suggest that in this case (SNAPSHOT upgrade) the message should be something like this

      'feature' version '1.0.0.SNAPSHOT' has been upgraded

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jbonofre Jean-Baptiste Onofré
                Reporter:
                yrashk Yurii Rashkovskii
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: