Hi all
I am upgrading a plugin to now run on JIRA 10.3.8 from JIRA 9.4.12. I have changed dependencies from javax. to jakarta.
I have also changed @Autowired to @Inject
I am getting the following errors.. Please assist
1 plugin failed to load during Jira startup.
'com.atlassian.plugins.plugin-data-editor' - 'Plugin Data Editor' failed to load.
Cannot start plugin: com.atlassian.plugins.plugin-data-editor
Unable to resolve com.atlassian.plugins.plugin-data-editor [153](R 153.0): missing requirement [com.atlassian.plugins.plugin-data-editor [153](R 153.0)] osgi.wiring.package;
(osgi.wiring.package=org.codehaus.jackson.xc) Unresolved requirements: [[com.atlassian.plugins.plugin-data-editor [153](R 153.0)] osgi.wiring.package; (osgi.wiring.package=org.codehaus.jackson.xc)
]
It was loaded from /Users/xxx/Documents/IDEA/xxx/xxx/target/jira/home/plugins/installed-plugins/plugin-data-editor-1.5.2.jar
It has the following missing service dependencies :
&SLAService of type (&(objectClass=com.xxx.atlassian.jira.sla.ao.SLAService)(objectClass=com.xxx.atlassian.jira.sla.ao.SLAService))
It was loaded from /Users/xxx/Documents/IDEA/xxx/xxx/target/jira/home/plugins/installed-plugins/jira-utilities-4.0.jar
I tried including the dependency for the jackson error and also added it to the import-package tag in pom.xml
For the service, I annotated the Service with
@Named(“slaService”)
@ExportAsService({SLAService.class})
@Component
and whichever class references that in the construction I added
@ComponentImport SLAService slaService
Please can you assist