From 6ee5046f6a8046333e8075c0fe82cbe8bebda21b Mon Sep 17 00:00:00 2001 From: Adam Retter Date: Tue, 2 Jun 2020 21:55:19 +0200 Subject: [PATCH] Add popular Source Available licenses --- README.md | 3 +++ .../plugin/license/templates/BUSL-11.txt | 12 +++++++++ .../license/templates/COMMONS-CLAUSE-1.txt | 25 +++++++++++++++++++ .../maven/plugin/license/templates/SSPL-1.txt | 14 +++++++++++ 4 files changed, 54 insertions(+) create mode 100644 license-maven-plugin/src/main/resources/com/mycila/maven/plugin/license/templates/BUSL-11.txt create mode 100644 license-maven-plugin/src/main/resources/com/mycila/maven/plugin/license/templates/COMMONS-CLAUSE-1.txt create mode 100644 license-maven-plugin/src/main/resources/com/mycila/maven/plugin/license/templates/SSPL-1.txt diff --git a/README.md b/README.md index fcd1f3920..0bc0fc303 100755 --- a/README.md +++ b/README.md @@ -181,11 +181,14 @@ Maven license plugin comes with the following license templates: - AGPL 3 - APACHE 2 - BSD 2, 3, 4 + - Business Source License 1.1 + - Commons Clause - LGPL 2.1-ONLY, 2.1, 3-ONLY, 3 - GPL 2-ONLY, 2, 3-ONLY, 3 - MirOS - MIT - MPL 1, 2 + - Server Side Public License - WTFPL - UNLICENSE diff --git a/license-maven-plugin/src/main/resources/com/mycila/maven/plugin/license/templates/BUSL-11.txt b/license-maven-plugin/src/main/resources/com/mycila/maven/plugin/license/templates/BUSL-11.txt new file mode 100644 index 000000000..a61535d10 --- /dev/null +++ b/license-maven-plugin/src/main/resources/com/mycila/maven/plugin/license/templates/BUSL-11.txt @@ -0,0 +1,12 @@ +${project.name} - ${project.description} +Copyright (c) ${project.inceptionYear} ${owner} + +Use of this software is governed by the Business Source License included +in the LICENSE file and at www.mariadb.com/bsl11. + +Change Date: ${change-date} + +On the date above, in accordance with the Business Source License, use +of this software will be governed by the ${change-license}. + +Additional Use Grant: ${additional-use-grant} diff --git a/license-maven-plugin/src/main/resources/com/mycila/maven/plugin/license/templates/COMMONS-CLAUSE-1.txt b/license-maven-plugin/src/main/resources/com/mycila/maven/plugin/license/templates/COMMONS-CLAUSE-1.txt new file mode 100644 index 000000000..e5c82bc40 --- /dev/null +++ b/license-maven-plugin/src/main/resources/com/mycila/maven/plugin/license/templates/COMMONS-CLAUSE-1.txt @@ -0,0 +1,25 @@ +Copyright (c) ${project.inceptionYear} ${owner} + +“Commons Clause” License Condition v1.0 + +The Software is provided to you by the Licensor under the License, as +defined below, subject to the following condition. + +Without limiting other conditions in the License, the grant of rights +under the License will not include, and the License does not grant +to you, the right to Sell the Software. + +For purposes of the foregoing, “Sell” means practicing any or all of +the rights granted to you under the License to provide to third parties, +for a fee or other consideration (including without limitation fees for +hosting or consulting/ support services related to the Software), a +product or service whose value derives, entirely or substantially, from +the functionality of the Software. Any license notice or attribution +required by the License must also include this Commons Clause License +Condition notice. + +Software: ${project.name} + +License: ${os-license-name} + +Licensor: ${owner} diff --git a/license-maven-plugin/src/main/resources/com/mycila/maven/plugin/license/templates/SSPL-1.txt b/license-maven-plugin/src/main/resources/com/mycila/maven/plugin/license/templates/SSPL-1.txt new file mode 100644 index 000000000..377aa4759 --- /dev/null +++ b/license-maven-plugin/src/main/resources/com/mycila/maven/plugin/license/templates/SSPL-1.txt @@ -0,0 +1,14 @@ +Copyright (C) ${project.inceptionYear} ${owner} + +This program is free software: you can redistribute it and/or modify +it under the terms of the Server Side Public License, version 1, +as published by MongoDB, Inc. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +Server Side Public License for more details. + +You should have received a copy of the Server Side Public License +along with this program. If not, see +.