If you are building a dynamic plugin, you can bundle libraries inside your plugin. Place your dependent JARs in the META-INF/lib directory (folder) inside the plugin JAR. Any dependency that you specify in your POM will be included in the plugin's META-INF/lib directory.
Below is the standard structure of such a JAR, showing the content of plugin's root directory:

And here's the content of the META-INF/lib directory:

In the above diagrams:
Crowd SAML Plugin.atlassian-plugin.xml is at the root level.com/atlassian/crowd/plugin/... directory.META-INF/lib directory contains the dependent JARs.Rate this page: