Found Banned Dependency

леша березин January 9, 2022

Hello, i try make plugin, witch will listen events. I used Tutorial

But, i got that errors:

[WARNING] Rule 0: org.apache.maven.plugins.enforcer.BannedDependencies failed with message:
make sure platform artifacts are not bundled into plugin
Found Banned Dependency: com.atlassian.plugin:atlassian-spring-scanner-annotation:jar:2.2.1
Found Banned Dependency: com.atlassian.plugin:atlassian-spring-scanner-runtime:jar:2.2.1
Use 'mvn dependency:tree' to locate the source of the banned dependencies.


pom.xml depencies:

<dependency>
<groupId>com.atlassian.plugin</groupId>
<artifactId>atlassian-spring-scanner-annotation</artifactId>
<version>2.2.1</version>
<scope>compile</scope>
</dependency>

<dependency>
<groupId>com.atlassian.plugin</groupId>
<artifactId>atlassian-spring-scanner-runtime</artifactId>
<version>2.2.1</version>
<scope>runtime</scope>
</dependency>

 

Also, i have problem with SDK repo, Intellij IDEA can't update repository (file://${env.ATLAS_HOME}/repository), i already add to ~/.bashrc ATLAS_HOME location and all permissions setted to my user and group.

1 answer

0 votes
Carlos Garcia Navarro
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 9, 2022

Hi @леша березин ,

You may find good help here, but I'd also recommend to check in the Atlassian Developer Community: https://community.developer.atlassian.com/

леша березин January 9, 2022

Ok, thanks

Carlos Garcia Navarro
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 9, 2022

You're welcome. Good luck!

Suggest an answer

Log in or Sign up to answer