Accessing Classes from Another Plugin
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
Below is the standard structure of such a JAR, showing the content of plugin's root directory:
And here's the content of the
In the above diagrams:
- The plugin root directory is
Crowd SAML Plugin.
- The plugin descriptor
atlassian-plugin.xmlis at the root level.
- The classes are located under the
META-INF/libdirectory contains the dependent JARs.