Commit 1ec17bf
authored
## Summary
- Adds `license.yml` workflow enforcing FINOS license category
compliance on every push/PR to main
- Removes `gradle-suppressions.xml` (OWASP dependency-check no longer
used; CVE scanning handled by Grype)
## Changes
### Gradle (`com.github.jk1:gradle-license-report`)
- `checkLicense` task applied to all subprojects, scans
`runtimeClasspath` only
- `gradle-allowed-licenses.json` — FINOS Category A (permitted) +
Category B (permitted with CONTRIBUTING notice); Category X omitted →
build fails on violation
- `gradle-license-overrides.txt` — PSV overrides for two deps with
malformed POM license declarations (`org.jspecify:jspecify`,
`com.nimbusds:oauth2-oidc-sdk`), both confirmed Apache-2.0
- `InventoryHtmlReportRenderer` generates a grouped HTML report uploaded
as a CI artifact
### npm (`license-checker-rseidelsohn`)
- Added as pinned devDependency in frontend `package.json`
- `license-check` npm script checks production deps only (`--production
--excludePrivatePackages`)
- All 13 production deps pass: MIT / BSD-3-Clause / Apache-2.0 / ISC
## Test plan
- [x] `./gradlew checkLicense -PskipFrontend` passes clean across all
three subprojects locally
- [x] `npm run license-check` passes locally (13 deps, all FINOS
Category A)
- [x] CI `license.yml` workflow passes on this PR
closes #271
7 files changed
Lines changed: 934 additions & 22 deletions
File tree
- .github/workflows
- git-proxy-java-dashboard/frontend
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
105 | 106 | | |
106 | 107 | | |
107 | 108 | | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
108 | 123 | | |
109 | 124 | | |
110 | 125 | | |
| |||
0 commit comments