Some plugins authored by Mattermost are licensed under the Mattermost Source Available License. This document outlines how to apply the license in various situations.
An Enterprise-only plugin is a plugin that requires a valid Mattermost Enterprise E20 license. It is not designed to be used with Team Edition or any other Enterprise license.
Add the LICENSE file to the root of your plugin repository.
Add the following section to your README.md directly below the opening paragraph:
## License
This repository is licensed under the [Mattermost Source Available License](LICENSE) and requires a valid Enterprise E20 license. See Mattermost Source Available License to learn more.
A mixed-license plugin includes components that require a valid Mattermost Enterprise E20 license. Not all features are available when used with Team Edition or any other enterprise license.
Organize the Enterprise-only, server-side parts of your plugin in a dedicated folder, typically server/enterprise
.
Add the LICENSE file to the server/enterprise
folder.
Symlink that license in the root of your repository as LICENSE.enterprise
.
Add the following section to your README.md directly below the opening paragraph:
## License
This repository is licensed under the Apache 2.0 License, except for the [server/enterprise](server/enterprise) directory which is licensed under the [Mattermost Source Available License](LICENSE.enterprise). See Mattermost Source Available License to learn more.