Skip to content

Commit

Permalink
[License#905] Check dependencies' binary licenses (apache#912)
Browse files Browse the repository at this point in the history
  • Loading branch information
CalvinKirs authored Jan 19, 2022
1 parent a12c6b2 commit c4f63c6
Show file tree
Hide file tree
Showing 142 changed files with 25,055 additions and 27 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,15 @@ jobs:
./mvnw -T 2C -B checkstyle:check
- name: Build and Package
run: |
./mvnw -B package scalastyle:check \
./mvnw -B install scalastyle:check \
-Dmaven.test.skip=true \
-Dcheckstyle.skip=true \
-Dhttp.keepAlive=false \
-Dmaven.wagon.http.pool=false \
-Dmaven.wagon.http.retryHandler.count=3 \
-Dmaven.wagon.httpconnectionManager.ttlSeconds=120
- name: Check dependency license
run: bash ./tools/dependencies/checkLicense.sh
- name: Run Unit tests
run: |
./mvnw -T 2C -B clean verify -Dmaven.test.skip=false -Dgpg.skip=true
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ metastore_db/

work_dir

all-dependencies.txt
self-modules.txt
third-party-dependencies.txt

*.keytab
/derby.log

Expand Down
10 changes: 10 additions & 0 deletions docs/en/developement/NewLicenseGuide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
## How to add a new License Guide

License related information can refer to this article [License](https://seatunnel.apache.org/community/submit_guide/license)

If you have a new Jar you need to follow the steps below

1: declared in `tools/dependencies/konw-dependencies.txt`,
2: Add the corresponding License file under `seatunnel-dist/release-docs/licenses`, if it is a standard Apache License, it does not need to be added.
3: Add the corresponding statement in `seatunnel-dist/release-docs/LICENSE`
4: Add the corresponding statement in `seatunnel-dist/release-docs/NOTICE`
882 changes: 882 additions & 0 deletions seatunnel-dist/release-docs/LICENSE

Large diffs are not rendered by default.

Loading

0 comments on commit c4f63c6

Please sign in to comment.