Commit Graph

8 Commits

Author SHA1 Message Date
Cheng Pan
78553f1418
[CELEBORN-1003] Correct the LICENSE and NOTICE for shaded client jars
### What changes were proposed in this pull request?

Correct the `LICENSE` and `NOTICE` for the following shaded client jars

- `celeborn-client-flink-1.14-shaded_2.12-<version>.jar`
- `celeborn-client-flink-1.15-shaded_2.12-<version>.jar`
- `celeborn-client-flink-1.17-shaded_2.12-<version>.jar`
- `celeborn-client-mr-shaded_2.12-<version>.jar`
- `celeborn-client-spark-2-shaded_2.11-<version>.jar`
- `celeborn-client-spark-3-shaded_2.12-<version>.jar`

### Why are the changes needed?

The `LICENSE` and `NOTICE` shipped in a jar should match the content of the jar, for shaded jars, it should acknowledge all the third-party classes that are bundled.

See more discussion at https://lists.apache.org/thread/8v4wy5o132rpsjync6465zztgjlf6h5p

For how to determine which third-party jars are bundled, take `celeborn-client-spark-3-shaded_2.12-<version>.jar` as an example, the following command performs the packaging, and we can find them out by looking at logs like `Including ... in the shaded jar`

```
build/mvn clean package -DskipTests -pl :celeborn-client-spark-3-shaded_2.12 -am -Pspark-3.3
```

```
[INFO] --- maven-shade-plugin:3.4.0:shade (default)  celeborn-client-spark-3-shaded_2.12 ---
[INFO] Including org.apache.celeborn:celeborn-client-spark-3_2.12🫙0.4.0-SNAPSHOT in the shaded jar.
[INFO] Including org.apache.celeborn:celeborn-common_2.12🫙0.4.0-SNAPSHOT in the shaded jar.
[INFO] Including org.apache.commons:commons-lang3:jar:3.12.0 in the shaded jar.
[INFO] Including io.netty:netty-all:jar:4.1.93.Final in the shaded jar.
[INFO] Including io.netty:netty-buffer:jar:4.1.93.Final in the shaded jar.
...
[INFO] Excluding org.apache.ratis:ratis-common:jar:2.5.1 from the shaded jar.
[INFO] Excluding org.apache.ratis:ratis-thirdparty-misc:jar:1.0.4 from the shaded jar.
[INFO] Excluding org.apache.ratis:ratis-proto:jar:2.5.1 from the shaded jar.
...
```

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

Manually.

Closes #1933 from pan3793/CELEBORN-1003.

Authored-by: Cheng Pan <chengpan@apache.org>
Signed-off-by: Cheng Pan <chengpan@apache.org>
2023-09-28 19:23:54 +08:00
zhongqiang.czq
95f08300e5 [CELEBORN-766][LICENSE] Upgrade notice file responding to dependency …
…upgrading

### What changes were proposed in this pull request?

upgrade notice-binary for commons-lang and commons-io

### Why are the changes needed?
In pre prs, the following dependencies are upgraded and its' notice file are upgraded too.
Bump commons-io to 2.13.0 [[CELEBORN-743]](https://issues.apache.org/jira/projects/CELEBORN/issues/CELEBORN-743?filter=allissues)
Bump commons-lang3 to 3.12.0 [[CELEBORN-736]](https://issues.apache.org/jira/projects/CELEBORN/issues/CELEBORN-736?filter=allissues)
1. NOTICE.txt  in commons-lang3-3.12.0.jar
```
Apache Commons Lang
Copyright 2001-2021 The Apache Software Foundation
```
2. NOTICE.txt  in commons-io-2.13.0.jar
```
Apache Commons IO
Copyright 2002-2023 The Apache Software Foundation
```

### Does this PR introduce _any_ user-facing change?

no

### How was this patch tested?
manually

Closes #1681 from zhongqiangczq/notice-0705.

Authored-by: zhongqiang.czq <zhongqiang.czq@alibaba-inc.com>
Signed-off-by: zhongqiang.czq <zhongqiang.czq@alibaba-inc.com>
2023-07-05 18:13:21 +08:00
zhongqiangchen
d396758646
[CELEBORN-634][LICENSE] Update LICENSE and NOTICE (#1541)
[CELEBORN-634] [LICENSE] assembly source and binary license and notice for the bundled dependencies
2023-06-05 13:55:16 +08:00
Angerszhuuuu
ca79a9ce31
[CELEBORN-359][FOLLOWUP] Update LICENSE and NOTICE for ratis-shell (#1298)
* [CELEBORN-359][FOLLOWUP] Update LICENSE and NOTICE for ratis-shell
2023-03-02 15:48:23 +08:00
Ethan Feng
a43e3141bc
[CELEBORN-224][FOLLOWUP] Correct license and notices. (#1189) 2023-02-02 10:52:11 +08:00
Keyong Zhou
dfa81c92df
[CELEBORN-224] Correct LICENSE and NOTICE. (#1164) (#1170) 2023-01-18 19:47:42 +08:00
Cheng Pan
8cadf14864
[CELEBORN-187][LICENSE] Update NOTICE for 2023 (#1131) 2023-01-03 14:13:28 +08:00
Ethan Feng
489ac422c8
[CELEBORN-166] Add LICENSE and NOTICE for binary release artifacts (#1114)
* [CELEBORN-166] Automate release build process.

* Update .gitignore

Co-authored-by: Cheng Pan <chengpan@apache.org>

* sort dependencies.

* remove dependency list.

* 1.add git ignore.
2.add notice binary.

* update.

* update.

* style.

* style.

* update.

* Revert "style."

This reverts commit b90eb94196a9080d04e732c6cfa5ddf8c570ce01.

* Revert "style."

This reverts commit ef7e70d33f4251f69631c9c4a3c571a714dd902c.

* partial revert 63ae9f6

* Revert "update."

This reverts commit 9fcb3580a229ac53b3b0b2a8e52a6a7f0ef7daad.

* move to release folder

Co-authored-by: Cheng Pan <chengpan@apache.org>
2022-12-29 11:07:30 +08:00