Jira plugin and Dependency Injection

At the Atlassian Open 2019 a simpler way of handling dependencies was introduced together with some new helper-classes provided by Atlassian (https://developer.atlassian.com/server/framework/atlassian-sdk/spring-java-config/).

Accompanying this article was a link to as sample P2 app. It demonstrates a service being exported and consumed by the plugin. Is there any example available on how to implement both as separate projects, being an Atlassian plugin AND a separate OSGI bundle to be consumed by the Atlassian plugin.

What I really would like to see is how both projects are set up. Is the service to be consumed an OSGI bundle or an entire new Atlassian plugin? What is necessary in the pom-file? etc …

1 Like