Good Day!
I'm new to Jira Plugin Development and following a tutorial to kickstart my learning. I'm stuck at the step where the tutorial used the ComponentImport annotator from:
com.atlassian.plugin.spring.scanner.annotation.imports.ComponentImport
using the dependency:
<dependency>
<groupId>com.atlassian.plugin</groupId>
<artifactId>atlassian-spring-scanner-annotation</artifactId>
<version>3.0.3</version>
<scope>compile</scope>
</dependency>
I am getting the BannedDependencies exception when I execute atlas-run.
When I change the version to 4 or 5, I get the message that it is for an updated Java version, not the one I am using.
I have also tried some online solutions like getting the dependency tree using
atlas-mvn dependency:tree
but the atlassian-spring-scanner-annotation is the base dependency and compulsory for ComponentImport.
Other guidelines I got online are too advanced for my expertise. Can someone please suggest how I can use the ComponentImport? Is there any alternative whose dependency is not Banned or is there some way to override the BannedDependency exception as it is only for learning purposes?