How to resolve the Banned Dependencies?

The default setting or when setting scope = compile, this means take the JAR and include it in your package.

The setting of scope = provided means that Jira/Bitbucket/Confluence/Parent Application already has it and will give it to you.

This helped in resolving the banned dependencies error.

Thanks @sfbehnke for the inputs .

More details refer : Maven bans dependencies with no configuration - #5 by e.tamarin