-
Bug
-
Resolution: Not a bug
-
Medium
-
None
-
2.3.1
-
None
At the moment, if you have this in your atlassian-plugin.xml file:
<macro name="gmap" class="com.atlassian.confluence.ext.gmaps.GmapsMacro" key="gmap">
<description>The individual map macro.</description>
</macro>
<component name="gmapsManager" class="com.atlassian.confluence.ext.gmaps.GmapsManager" key="gmapsManager"/>
And GmapsMacro depends on gmapsManager being injected, it will not be.
Wiring of spring beans declared inside plugins is broken.
Confluence 2.3 and higher create plugin modules in the order they are declared in the atlassian-plugin.xml file.
Components required by a macro must be declared above the macro in the plugin's XML descriptor.