Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Found Banned Dependency

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

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

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

Ok, thanks

You're welcome. Good luck!

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you