Plugin module types

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.

Generic module types

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

component

Adds components to the component system for reuse and autowiring. Think of your own services.

component-import

Imports components ...

Get Atlassian Confluence 5 Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.