I installed Atlassian SDK 6.2.9, and created a JIRA custom plugin with AO component import.
But JIRA can not run successfully with the command ‘atlas-run’,throwing an Error in the log, which is atlassian-plugin.xml contains a definition of component-import.This is not allowed when Atlassian-Plugin-Key is set.
Just to clarify: When you add a “Atlassian-Plugin-Key” to your pom, you’re explicitly enabling the Spring Scanner. This is 100% incompatible with the older method.
Either use <component-import>or enable Spring Scanner + annotations: You cannot use both.