Commit 19cfbf9
committed
[Analytics] Add SHA + LICENSE files for new bundled deps; spotless
The `dependencyLicenses` precommit task scans `licenses/` for a `<jar>.sha1`
sibling per bundled dependency. Two deps added in this PR were missing them:
* `commons-text-1.11.0` in analytics-engine — needs sha1 + LICENSE +
NOTICE (no shared `commons-text-*` license files yet in this plugin).
Apache 2.0; LICENSE and NOTICE extracted from the released jar.
* `jackson-datatype-jsr310-2.21.3` in arrow-flight-rpc — sha1 only.
arrow-flight-rpc's `dependencyLicenses` already maps `jackson-.*` to
the shared `jackson-LICENSE` / `jackson-NOTICE` files via
`mapping from: /jackson-.*/, to: 'jackson'`, so no new license/notice
files are needed.
Plus googleJavaFormat reflow on `ArraySliceAdapter` and `DataFusionPlugin`
that spotlessCheck flagged in precommit.
Verified `:plugins:arrow-flight-rpc:precommit`,
`:sandbox:plugins:analytics-engine:precommit`, and
`:sandbox:plugins:analytics-backend-datafusion:precommit` all succeed.
Addresses review feedback on opensearch-project#21554.
Signed-off-by: Kai Huang <ahkcs@amazon.com>1 parent f718b15 commit 19cfbf9
4 files changed
Lines changed: 14 additions & 7 deletions
File tree
- plugins/arrow-flight-rpc/licenses
- sandbox/plugins
- analytics-backend-datafusion/src/main/java/org/opensearch/be/datafusion
- analytics-engine/licenses
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
Lines changed: 11 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
80 | 84 | | |
81 | 85 | | |
82 | 86 | | |
| |||
88 | 92 | | |
89 | 93 | | |
90 | 94 | | |
91 | | - | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
92 | 101 | | |
93 | 102 | | |
94 | 103 | | |
| |||
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
| 175 | + | |
179 | 176 | | |
180 | 177 | | |
181 | 178 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
0 commit comments