The Spring extender recognizes a bundle as "Spring-powered" if one or both of the following conditions is true:
- The bundle path contains a folder META-INF/spring with one or more files in that folder with a '.xml' extension.
- META-INF/MANIFEST.MF contains a manifest header Spring-Context, that allows to specify the alternative set of configuration files.
Actually when packaging bundles using idea one should manually add all the spring config files to jar, otherwise the META-INF folder gets the manifest.mf file only.
It would be convenient to include the META-INF/spring subfolder or a set of files specified in Spring-Context tag if any to the jar automatically