Adding license support to plugin

Hello !

I’ve followed https://developer.atlassian.com/platform/marketplace/app-approval-guidelines/

My plugin failed to start after I’ve completed:

Additional criteria for paid via Atlassian, server apps

I’ve added all the dependencies, plugin and bundledArtifact entries, as described in above mentioned section.

The error is not very meaningful:

INFO] [talledLocalContainer] “localhost-startStop-1” Id=15 TIMED_WAITING
[INFO] [talledLocalContainer] at java.lang.Thread.sleep(Native Method)
[INFO] [talledLocalContainer] at com.atlassian.plugin.util.WaitUntil.invoke(WaitUntil.java:79)
[INFO] [talledLocalContainer] at com.atlassian.plugin.manager.PluginEnabler.actualEnable(PluginEnabler.java:139)
[INFO] [talledLocalContainer] at com.atlassian.plugin.manager.PluginEnabler.enable(PluginEnabler.java:97)

Is "Understanding generated license API support " guide actual at all?

Will it be enough to implement this guide to implement licensing properly and get approval for paid app: https://developer.atlassian.com/platform/marketplace/adding-licensing-support-to-server-apps/?utm_source=%2Fmarket%2Fadd-on-licensing-for-developers%2Ftutorial-adding-licensing-support-to-your-add-on&utm_medium=302

Also where I can find value ${upm.license.compatibility.version} for ? Should it really be same for all the deps ?
Where i can find working example of properly added licensing ?
Thanks !

Hello @DenNo

Please check this site - https://developer.atlassian.com/platform/marketplace/adding-licensing-support-to-server-apps/

Cheers

@adam.labus thank you ! It works just fine !

I did it initially, but then I’ve followed this app approval guideline, which ruined everything:
: https://developer.atlassian.com/platform/marketplace/app-approval-guidelines/
So I assume ^^ this app approval guideline is outdated.
I hope your suggestion is enough to make plugin license compatible and get approval to deploy it to marketplace.

It is a bit different topic, but maybe you know where to find actual app approval guidelines ?
Thank you a lot !

@DenNo

Are you able to deploy the plugin to the marketplace by fulfilling all the approval guidelines for the server mentioned in the documentation?