Hello
The com.atlassian.plugin.web.model.WebPanel
is still defined in webfragment-7.0.2, but deprecated.
However, at runtime using the deprecated class fails to resolve:
Caused by: java.lang.ClassNotFoundException: com.atlassian.plugin.web.model.WebPanel not found by ch.mibex.bamboo.sonar4bamboo [128]
at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1591) ~[org.apache.felix.framework-7.0.5.jar:?]
at org.apache.felix.framework.BundleWiringImpl.access$300(BundleWiringImpl.java:79) ~[org.apache.felix.framework-7.0.5.jar:?]
at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1976) ~[org.apache.felix.framework-7.0.5.jar:?]
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525) ~[?:?]
... 140 more
The new com.atlassian.plugin.web.api.model.WebPanel
does work on Bamboo 10, but isn’t available in still supported 9.x releases. This prevents us from having the app work across versions, supporting all still supported Bamboo versions and Bamboo 10.
So, my question:
- Any chance to still export the deprecated edition of the class?
- Or is there a way declare different versions of the
web-panel
in the atlassian-plugin.xml. Or reference a factory for the instance. This way we could instantiate