I wrote a plugin that needs to support Bitbucket Server 4x - 5x and right now I've ended up having 3 different release streams which means more work for me and confusion for end users when picking the version to install.
I needed 3 versions because of API changes and also different spring contexts for the main loader (different spring scanner versions depending on support).
Does anyone know of an easy way to build a single plugin version that will service all versions of Bitbucket? How have other people solved this problem?
Thanks!