On Sat, Nov 24, 2012 at 1:09 PM, Reto Bachmann-Gmür <[email protected]> wrote: > Hi Rupert, > > So assuming a module is in trunk at version 3.4.1-SNAPSHOT and I make an > incompatible change, to what should I change the version number to? Does > the degree of incompatibility makes a difference: > - A change that affects clients of the interface
e.g. Changing/Removing/renaming any existing method of an interface 3.4.1 -> 4.0 The typical workaround is to keep the old version and deprecate it. In this case an increase to 3.5 is sufficient > - A change that affects subclasses (when knowing that there are such > subclasses/not knowing) e.g. adding a method to an interface, or abstract method in a class 3.4.1 -> 3.5 > - A change in the behaviour (documented behaviour/undocumented side effect) 3.4.1 -> 3.4.2 but this are only the minimum required version increases to ensure that the used OSGI provider-policy and consumer-policy do work as intended. best Rupert -- | Rupert Westenthaler [email protected] | Bodenlehenstraße 11 ++43-699-11108907 | A-5500 Bischofshofen
