I'm trying to perform certain actions after plugin is installed. I'm familiar with ActiveObjectsUpgradeTask, but since this action has nothing to do with database I'm looking for a more elegant solution. I found an article regarding PluginUpgradeTask, but it's heavily outdated - when I try to use component element in atlassian-plugin.xml, I'm getting following error:
atlassian-plugin.xml contains a definition of component. This is not allowed when Atlassian-Plugin-Key is set.
Linked help document describes that I shouldn't be using component element and use @Component annotation instead. This of course doesn't work.
How do I make PluginUpgradeTask work OR what should I use instead to perform actions right after my plugin is installed?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.