The class (com.atlassian.plugin.osgi.external.ListableModuleDescriptorFactory
) was provided by atlassian-plugins-osgi
:
[INFO] + com.atlassian.confluence:confluence:jar:8.5.0:provided
[INFO] | + com.atlassian.plugins:atlassian-plugins-osgi:jar:7.2.0:provided
It is not provided anymore because you recommend to rely on confluence-plugins-platform-pom
. The Atlassian Spring Scanner 6.0.0 doesn’t work for us (as reported in this question) because it doesn’t reliably return components from other plugins. Example:
Plugin 1
package com.plugin1;
@Component @ExportAsService(com.plugin2.MyInterface)
public class MyComponent1 implements com.plugin2.MyInterface {...
Plugin 2
package com.plugin2;
public interface MyInterface { ... }
// This command won't work reliably
list = pluginAccessor.getEnabledModulesByClass(com.plugin2.MyInterface.class);
// 'list' doesn't contain MyComponent1
If you can give me any implementation which can retrieve components from other plugins that implement our interface, I would be able to drop our dependency on atlassian-plugins-osgi
.