My app is compatible (tested) with Confluence versions from 7.13.6 to 9.02. Can you please give me some insights about which versions I should choose for dependencies? For example, ‘com.atlassian.upm.licensing-api’, ‘com.atlassian.upm.upm-api’, and ‘com.atlassian.sal.sal-api’.
As far as I see, ‘com.atlassian.upm.upm-api’ dependency is not included into the scope of ‘confluence-plugins-platform-pom’. But this dependency is required to perform plugin license validation. Do you have any idea how to add this dependency without setting a specific version?
Also, I noticed that ‘platform-public-api’ includes ‘upm-api’, but in this case, we need to set the platform version manually. I can’t find a clear mapping between Confluence versions and platform versions.
I have no concluding answer to your question, but at https://developer.atlassian.com/platform/marketplace/dc-apps-platform-7/ it is listed that Confluence 9 is based on Plattform 7.0 (and I assume that the latest release will work since Atlassian uses Semantic Versioning). It also states that Confluence 8.8 is based on Platform 6.5.
But as far as I can tell, you need to adjust the versions of the platform POMs manually.
As far as I know, we can’t have several artifacts of the same app that cover different Confluence versions. We aim to be compatible with all Confluence versions supported by Atlassian (Atlassian Support End of Life Policy | Atlassian Support | Atlassian Documentation) - from 7.19 to 9.0. I guess that 7.19 is based on Platform 6 (I am trying to figure out how to check it). Confluence 9.0 is Platform 7. Do you know how to set the platform version in this case?
I am not yet sure, if the older versions support platform 6 or if only some of the Version 8 are covered. We are currently working on finding out, what we need to change for V9 and bother whether we can still provide one version for all current Confluence versions later. So it seems you are way ahead of me …