Hi all,

I share two commands for checking whether our dependencies being compatible
with Apache License:

1. generate the license check file:

mvn package license:add-third-party -Dlicense.useMissingFile -DskipTests

2. cat the files, find all catalogX licenses, and then remove all who has
optional compatible license:

find . -name THIRD-PARTY.txt| xargs cat | grep -E
'BCL|Intel|JSR-275|Microsoft Limited Public License|ASL|Java SDK for Satori
RTM| Redis Source Available License|RSAL|Booz Allen Public License|Creative
Commons|Sun Community|GPL|Affero|LGPL|QPL|Sleepycat|Server Side|SSPL|Code
Project|CPOL|BSD-4|Facebook BSD+|Solipsistic Eclipse Public|Be A Dick|JSON
License' | grep -v CDDL |grep -v Apache

When you introduce a new dependency into IoTDB, please pay attention about
the license.

For Release Manager, please run the above command before you run `mvn
release:....`

Best,
-----------------------------------
Xiangdong Huang
School of Software, Tsinghua University

 黄向东
清华大学 软件学院

Reply via email to