Hello, the fact you imported com.atlassian.bamboo.storage
package means you got the class definitions but ViewBuildResults
class has an dependency on StorageLocationService
component which is not imported by your plugin.
I recommend adding
<component-import key="storageLocationService" interface="com.atlassian.bamboo.storage.StorageLocationService"/>
to your atlassian-plugin.xml
to instruct container that your plugin depends on StorageLocationService
bean.
That being said. It should solve the problem with this particular dependency, but ViewBuildResults
is not an API and it can depend on other components, including the ones which are not exported to plugins’ container. If that’s the case you won’t be able to provide a viable workaround (as the one mentioned) for that.
Cheers,
Grzegorz Lewandowski