I am developing a plugin for Bitbucket Server. When I try to start it, it fails because of banned dependencies:
[INFO] --- bitbucket-maven-plugin:8.1.0:validate-banned-dependencies (default-validate-banned-dependencies) @ diffPlugin --- [INFO] validate banned dependencies [WARNING] Rule 0: org.apache.maven.plugins.enforcer.BannedDependencies failed with message: make sure platform artifacts are not bundled into plugin Found Banned Dependency: org.slf4j:slf4j-api:jar:1.7.30 Found Banned Dependency: commons-fileupload:commons-fileupload:jar:1.4 Found Banned Dependency: org.apache.httpcomponents:httpclient:jar:4.1.1 Found Banned Dependency: org.slf4j:slf4j-log4j12:jar:1.7.30 Found Banned Dependency: commons-io:commons-io:jar:2.6 Found Banned Dependency: org.apache.httpcomponents:httpcore:jar:4.4.12 Use 'mvn dependency:tree' to locate the source of the banned dependencies.
I cannot find any reference to the error message. Why are those dependencies banned? They are widely used packages.
I would appreciate any help in tracking this issue down.