[Apache] check for license conflicts
Feature Description (功能描述)
Need to check dependency with licenses as follows (refer to the TODO in #1644):
- GPL
- LGPL
- AGPL
how-to:
config `license-maven-plugin` in pom.xml
execute `mvn license:aggregate-add-third-party`
http://blog.itpub.net/69918724/viewspace-2655816 https://github.com/apache/servicecomb-pack/blob/master/pom.xml#L640
possible conflicts include libs like mysql-connector and word.
- hugegraph-server THIRD-PARTY libs License list
- hugegraph-computer [THIRD-PARTY libs License list]
hugegraph-computer [THIRD-PARTY libs License list]
hugegraph-server:
-
truelicense(AGPL): hugegraph-common (fixed by #1700) -
word(GPL): hugegraph-core (fixed by #1998) -
mysql-connector(GPL): hugegraph-mysql/mysql:mysql-connector-java -
jnr-posix(LGPL+GPL): cassandra-driver-core (fixed by #1822) -
jboss-logging(LGPL): cassandra-all (fixed by #1822)
hugegraph-computer:
-
truelicense(AGPL): hugegraph-common (fixed by hugegraph/hugegraph-common#86) -
checker-qual(GPL): hugegraph-computer (fixed by hugegraph/hugegraph-computer#149)
hugegraph-loader:
-
mysql-connector(GPL): load-from-jdbc/mysql:mysql-connector-java -
oracle-connector(FUTC license--not sure restricted): load-from-jdbc/com.oracle:ojdbc8
hugegraph-tools:
- None
hugegraph-hubble:
-
mysql-connector(GPL): hugegraph-loader
NOTE: the MySQL connector dependency is optional, can let users to download by themselves: https://www.apache.org/legal/resolved.html#optional
- hugegraph-loader: THIRD-PARTY.txt
- hugegraph-tools: THIRD-PARTY.txt
- hugegraph-hubble: THIRD-PARTY.txt
hugegraph-tools: THIRD-PARTY.txt
hugegraph-hubble: THIRD-PARTY.txt
Reopen this issue because of the VOTE mail:

Mark this issue as the 1st priority to fix, TODOs:
- [x] find the
GPLusage - [x] find the
CC-BYusage - [x] use a action/ci to check them automatically
- [x] fix the
License Headerproblem (list the file)- [x] StringEncoding*
- [x] SnowFlake*
- [x] TinkerPop*
Ways to find possible 3rd import:
- search
authorin all files - search
Copyrightin case-sensitive mode in*.javaand other source code files - search
referin non-case-sensitive mode - search
Referencein word-match mode (in source code files)
Some other refer: