I followed instructions to create a Confluence macro, after completing the exercise to create a Jira plugin.
This doesn’t show the macro from the macro browser, like the instructions say. Instead, I find the macro listed under ‘Manage Add-ons’…as if it were a plugin. I’ve been told that may be okay, as a macro is a subset of a plugin. But I’m tired of being told to wait a few seconds or minutes before the macro will appear in the macro browser. I’ve waited for several days now, and it doesn’t appear in the macro browser.
I checked my code against the code in bitbucket and my code looks fine.
I’d like to get the macro to appear in the list of macros, so I can use it.
I am seeing exceptions in the console about not finding the properties file, not sure why. I created the file it complains about, is this why the macro isn’t being listed in the browser? or is this a red herring?
[INFO] [talledLocalContainer] java.lang.RuntimeException: Cannot getResourceAsStream(myConfluenceMacro_en_US.properties): This operation must occur before the plugin ‘com.atlassian.tutorial.myConfluenceMacro’ is uninstalled. Listener: com.atlassian.confluence.impl.audit.listener.PluginAuditListener event: com.atlassian.confluence.event.events.plugin.AsyncPluginInstallEvent