Differences between Version 1 Plugins and Version 2 Plugins
Every plugin is made up of one or more plugin modules. A single plugin may do many things, while a plugin module represents a single function of the plugin.
There are two versions of plugins in the Atlassian Plugin Framework:
- Version 1 plugins. These may be static (deployed in
WEB-INF/lib) or dynamic (via the web UI, only in Confluence) and should work the same as they did in version 1 of the Atlassian Plugin Framework. The capabilities and features available to version 1 plugins vary significantly across products.
- Version 2 plugins. These plugins are dynamically deployed on an internal OSGi container to provide a consistent set of features and behaviours, regardless of the application the plugin is running on. Version 2 plugins have to be specifically declared as such, using the
You can also take a look at the document describing the detailed differences for JIRA plugin development.