hierynomus / license-gradle-plugin

Manage your license(s)
http://www.javadude.nl
Other
409 stars 114 forks source link

Support license presets #49

Open aalmiray opened 10 years ago

aalmiray commented 10 years ago

This feature request is for enabling developers to use well-known licenses. The license-maven-plugin http://mojo.codehaus.org/license-maven-plugin/plugin-info.html supports this feature.

Here's the current (1.7) output when invoking license:license-list

[INFO] --- license-maven-plugin:1.7:license-list (default-cli) @ org.openmdm.client.desktop.app.model ---
[INFO] Available licenses :

 * agpl_v3   : GNU Affero General Public License (AGPL) version 3.0
 * apache_v2 : Apache License version 2.0
 * bsd_2     : BSD 2-Clause License
 * bsd_3     : BSD 3-Clause License
 * cddl_v1   : COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0
 * epl_v1    : Eclipse Public License - v 1.0
 * eupl_v1_1 : European Union Public License v1.1
 * fdl_v1_3  : GNU Free Documentation License (FDL) version 1.3
 * gpl_v1    : GNU General Public License (GPL) version 1.0
 * gpl_v2    : GNU General Public License (GPL) version 2.0
 * gpl_v3    : GNU General Public License (GPL) version 3.0
 * lgpl_v2_1 : GNU General Lesser Public License (LGPL) version 2.1
 * lgpl_v3   : GNU General Lesser Public License (LGPL) version 3.0
 * mit       : MIT-License

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
hierynomus commented 9 years ago

Will have a look at this once I have some time.