From 89e90f29ec57979986aef923d55da19ba9258a1b Mon Sep 17 00:00:00 2001 From: Justin Mclean Date: Tue, 17 Oct 2023 22:51:02 +1100 Subject: [PATCH] [#513] feat(doc): Update license and notice files (#522) ### What changes were proposed in this pull request? Add license plugin and update LICENSE and NOTICE files. ### Why are the changes needed? To comply with license policy. Fix: #513 ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Report generated and compiled locally. Co-authored-by: Justin Mclean Co-authored-by: Jerry Shao --- LICENSE | 4 ++++ NOTICE | 6 +++--- build.gradle.kts | 9 +++++++++ 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/LICENSE b/LICENSE index 7e27eba930..be2dab8cb4 100644 --- a/LICENSE +++ b/LICENSE @@ -234,3 +234,7 @@ Apache Zeppelin ./integration-test/src/test/java/com/datastrato/gravitino/integration/util/CommandExecutor.java ./integration-test/src/test/java/com/datastrato/gravitino/integration/util/ProcessData.java + + Apache Hadoop + ./dev/docker/hive/hadoop-env.sh + ./dev/docker/hive/yarn-env.sh diff --git a/NOTICE b/NOTICE index 91411f95e5..b6b952c018 100644 --- a/NOTICE +++ b/NOTICE @@ -4,9 +4,6 @@ Copyright 2023 Datastrato This product includes software developed at Datastrato (https://Datastrato.com/). -This product includes software developed at -Datastrato (https://Datastrato.com/). - Apache Iceberg Copyright 2017-2022 The Apache Software Foundation @@ -19,5 +16,8 @@ Copyright 2008-2023 The Apache Software Foundation Apache Zeppelin Copyright 2016-2023 The Apache Software Foundation +Apache Hadoop +Copyright 2006 and onwards The Apache Software Foundation. + This product includes software developed at The Apache Software Foundation (http://www.apache.org/). diff --git a/build.gradle.kts b/build.gradle.kts index 00f335833a..77ab0a58bf 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -8,6 +8,10 @@ import com.github.vlsi.gradle.dsl.configureEach import java.util.Locale import org.gradle.internal.hash.ChecksumService import org.gradle.kotlin.dsl.support.serviceOf +import com.github.jk1.license.render.ReportRenderer +import com.github.jk1.license.render.InventoryHtmlReportRenderer +import com.github.jk1.license.filter.DependencyFilter +import com.github.jk1.license.filter.LicenseBundleNormalizer plugins { `maven-publish` @@ -19,8 +23,13 @@ plugins { alias(libs.plugins.publish) // Apply one top level rat plugin to perform any required license enforcement analysis alias(libs.plugins.rat) + id("com.github.jk1.dependency-license-report") version "2.5" } +licenseReport { + renderers = arrayOf(InventoryHtmlReportRenderer("report.html", "Backend")) + filters = arrayOf(LicenseBundleNormalizer()) +} repositories { mavenCentral() } java {