|
9 | 9 | - '.github/workflows/license-scanning-maven.yml' |
10 | 10 |
|
11 | 11 | env: |
12 | | - ALLOW_LICENSES: "'The Apache Software License, Version 2.0' and licenses/license/name!='BSD' and licenses/license/name!='BSD-style license' and licenses/license/name!='Apache License, Version 2.0'" |
| 12 | + ALLOW_LICENSES: " |
| 13 | + licenses/license/name!='Apache License, Version 2.0' and |
| 14 | + not(contains(licenses/license/url, '://www.apache.org/licenses/LICENSE-2.0.txt')) and |
| 15 | + not(contains(licenses/license/url, '://opensource.org/licenses/Apache-2.0')) and |
| 16 | + |
| 17 | + licenses/license/name!='BSD License' and |
| 18 | + not(contains(licenses/license/url, 'antlr.org/license.html')) and |
| 19 | + |
| 20 | + licenses/license/name!='New BSD License' and |
| 21 | + not(contains(licenses/license/url, '://www.opensource.org/licenses/bsd-license.php')) and |
| 22 | + |
| 23 | + licenses/license/name!='BSD-3-Clause' and |
| 24 | + not(contains(licenses/license/url, '://asm.ow2.io/license.html')) and |
| 25 | + |
| 26 | + licenses/license/name!='Eclipse Public License - v 1.0' and |
| 27 | + not(contains(licenses/license/url, '://www.eclipse.org/legal/epl-v10.html')) and |
| 28 | + |
| 29 | + licenses/license/name!='Eclipse Public License - v 2.0' and |
| 30 | + not(contains(licenses/license/url, '://www.eclipse.org/legal/epl-v20.html')) and |
| 31 | + not(contains(licenses/license/url, '://www.eclipse.org/legal/epl-2.0')) and |
| 32 | + |
| 33 | + licenses/license/name!='GNU Lesser General Public License' and |
| 34 | + not(contains(licenses/license/url, '://www.gnu.org/licenses/old-licenses/lgpl-2.1.html')) and |
| 35 | + |
| 36 | + licenses/license/name!='GNU General Public License (GPL), version 2, with the Classpath exception' and |
| 37 | + not(contains(licenses/license/url, '://openjdk.java.net/legal/gplv2+ce.html')) and |
| 38 | + |
| 39 | + licenses/license/name!='The MIT License' and |
| 40 | + not(contains(licenses/license/url, '://opensource.org/licenses/MIT')) and |
| 41 | + not(contains(licenses/license/url, '://www.opensource.org/licenses/mit-license.php')) and |
| 42 | + |
| 43 | + licenses/license/name!='CDDL + GPLv2 with classpath exception' and |
| 44 | + not(contains(licenses/license/url, '://github.com/javaee/javax.annotation/blob/master/LICENSE')) and |
| 45 | + |
| 46 | + licenses/license/name!='Public Domain' |
| 47 | + " |
13 | 48 | REPORT_PATH: "target/generated-resources/licenses.xml" |
14 | 49 |
|
15 | 50 | jobs: |
|
0 commit comments