Setting the Platform Version Dependency in the POM
It can be cumbersome to update version numbers of platform modules whenever you need to update to a new version of the Atlassian Platform Common Components.
To avoid this, you can have just one version to maintain by using the
atlassian-platform-plugins POM artifacts to set the versions via Maven's import scope. This allows you to change the platform version and have all the appropriate versions of platform modules set automatically.
For your web application, add this to your
For your bundled plugins module that builds the bundled plugins archive, add this:
With these elements in place, you can now remove the version elements for all platform libraries and plugins.
For consistency, we recommend that you use a Maven property for the version to allow easy overriding: