...
This source code license agreement applies to all of our Confluence plug-insapps.
Agreement
The Apache License Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0) applies except the following:
You may use the source code to build your own customized or free version of a plug-inan app. However you may not use the source code to publish a plug-in an app with the same or similar intended use.
...