im developing jira plugin with atlassian-sdk.
I'm attaching a spring inside the Jira plug-in. Spring-core and spring-context can be used because they are injected with dependency, but can't I use spring-web? When I use spring-web, it says banned dependency
Hi @김민주
You can successfully use spring-core
and spring-context
because they are injected via dependency management. However, Atlassian maintains a list of banned dependencies to prevent conflicts and ensure stability. spring-web can introduce classes that are already present in Jira's core, leading to conflicts, so it's a banned dependency.
Since Jira already includes Spring, you can use the existing spring-web
components provided by Jira. You can add Import-Package directives to import Spring packages
<Import-Package>
org.springframework.web.*;resolution:=optional,
org.springframework.beans.*;resolution:=optional,
org.springframework.context.*;resolution:=optional,
*
</Import-Package>
Based on the previous responses, i installed my jira addon plugin. but its still not actived.
error code is
cannot determine required plugins, cannot resolve bundle 'com.myPlugin'
detect an error(BundleException) enabling the plugin 'com.myPlugin' : Unabled to resolve com.myPlugin.
missing requirement osgi.wiring package; (osgi.wiring.package=org.springframework.security.authentication)
what is the problem??
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.