mirror of
https://github.com/google/nomulus.git
synced 2025-04-29 19:47:51 +02:00
Restrict "Public Domain" license acceptance (#329)
"Public Domain" license must be reviewed case by case. Removed blanket acceptance and named accepted dependencies individually. Also added a README file to warn about this license and WTFPL.
This commit is contained in:
parent
30db9c9bad
commit
4047145029
2 changed files with 23 additions and 2 deletions
16
config/dependency-license/README.md
Normal file
16
config/dependency-license/README.md
Normal file
|
@ -0,0 +1,16 @@
|
|||
## Summary
|
||||
|
||||
This folder contains configuration files for the gradle-license-report plugin:
|
||||
|
||||
* allowed_licenses.json declares the acceptable licenses. A license may have
|
||||
multiple entries in this file, since the 'moduleLicense' property value must
|
||||
match exactly the phrases found in pom or manifest files.
|
||||
* license_normalizer_bundle.json configures normalization rules for license
|
||||
reporting.
|
||||
|
||||
## Notes About Adding New Licenses
|
||||
|
||||
* The WTFPL license is not allowed.
|
||||
|
||||
* Each 'Public Domain' license entry must include a specific 'moduleName'. Do
|
||||
not omit moduleName or use wildcards.
|
|
@ -3,6 +3,9 @@
|
|||
{
|
||||
"moduleLicense": "Apache Software License, Version 1.1"
|
||||
},
|
||||
{
|
||||
"moduleLicense": "Apache Software License, version 1.1"
|
||||
},
|
||||
{
|
||||
"moduleLicense": "Apache 2"
|
||||
},
|
||||
|
@ -211,10 +214,12 @@
|
|||
"moduleLicense": "Mozilla Public License Version 2.0"
|
||||
},
|
||||
{
|
||||
"moduleLicense": "Public Domain"
|
||||
"moduleLicense": "Public Domain",
|
||||
"moduleName": "aopalliance:aopalliance"
|
||||
},
|
||||
{
|
||||
"moduleLicense": "PUBLIC DOMAIN"
|
||||
"moduleLicense": "Public Domain",
|
||||
"moduleName": "org.tukaani:xz"
|
||||
},
|
||||
{
|
||||
"moduleLicense": "The W3C Software License"
|
||||
|
|
Loading…
Add table
Reference in a new issue