An Atlassian plugin can specify one or more plugin modules to affect the underlying Atlassian applications. Plugin modules are elements you can add to your plugin and which will be translated by the SDK and the application architecture to something Confluence understands.
We already used the xhtml-macro
and web-resource
modules in our first plugin, but there are many more.
These are module types that are available in every application, not just Confluence. If you are building a plugin for multiple applications, stick to only these types.
Module type |
Description |
---|---|
Adds components to the component system for reuse and autowiring. Think of your own services. | |
Imports components from other add-ons so that they are available in your own add-on. | |
Adds new plugin modules to the plugin framework. Useful when building for, or on top of other add-ons. | |
Enables you to create custom URL schemes... |