You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by zo...@apache.org on 2022/08/22 08:59:00 UTC

[incubator-seatunnel] branch dev updated: [doc] Update new-license.md (#2494)

This is an automated email from the ASF dual-hosted git repository.

zongwen pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-seatunnel.git


The following commit(s) were added to refs/heads/dev by this push:
     new 6cf63362a [doc] Update new-license.md (#2494)
6cf63362a is described below

commit 6cf63362a3edc2c1e5e1c40d0ccc635c535b8860
Author: Kirs <ki...@apache.org>
AuthorDate: Mon Aug 22 16:58:53 2022 +0800

    [doc] Update new-license.md (#2494)
    
    * Update new-license.md
---
 docs/en/contribution/new-license.md | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/docs/en/contribution/new-license.md b/docs/en/contribution/new-license.md
index 8db57150c..f973e6c11 100644
--- a/docs/en/contribution/new-license.md
+++ b/docs/en/contribution/new-license.md
@@ -31,6 +31,23 @@ We need to follow the following steps when we need to add new jars or external r
 * Append relevant NOTICE files under 'seatunnel-dist/release-docs/NOTICE' directory and make sure they are no different to the original repository
 * Add relevant source code protocols under 'seatunnel-dist/release-docs/licenses' directory and the file name should be named as license+filename.txt. Eg: license-zk.txt
 
+* check dependency license fail
+```
+--- /dev/fd/63 2020-12-03 03:08:57.191579482 +0000
++++ /dev/fd/62 2020-12-03 03:08:57.191579482 +0000
+@@ -1,0 +2 @@
++HikariCP-java6-2.3.13.jar
+@@ -16,0 +18 @@
++c3p0-0.9.5.2.jar
+@@ -149,0 +152 @@
++mchange-commons-java-0.2.11.jar
+
+- commons-lang-2.1.3.jar
+Error: Process completed with exit code 1.
+```
+
+Generally speaking, the work of adding a jar is often not so easy to end, because it often depends on various other jars, and we also need to add corresponding licenses for these jars. In this case, we will get the error message of check dependency license fail in check. As above, we are missing the license declaration of `HikariCP-java6-2.3.13`, `c3p0`, etc. (`+` means new, `-` means need to delete ), follow the steps to add jar to add
+
 ### References
 
 * [COMMUNITY-LED DEVELOPMENT "THE APACHE WAY"](https://apache.org/dev/licensing-howto.html)