This is an automated email from the ASF dual-hosted git repository. czy006 pushed a commit to branch 0.9.x in repository https://gitbox.apache.org/repos/asf/amoro.git
commit a64c849a07dcf295d7320e9adaf4132796680b8a Author: Xu Bai <[email protected]> AuthorDate: Thu Oct 8 20:00:01 2026 +0800 [HOTFIX] Include ICU license in Flink JARs (#4429) Hotfix: append LICENSE file and update pom.xml for org/apache/amoro/flink/lookup/ByteArrayWrapper.java (cherry picked from commit 2c85dcbabbf2c14532acb1ad697e5de04164bb15) --- .../src/main/appended-resources/META-INF/LICENSE | 48 ++++++++++++++++++++++ .../v1.18/amoro-mixed-flink-runtime-1.18/pom.xml | 5 +++ .../v1.19/amoro-mixed-flink-runtime-1.19/pom.xml | 5 +++ .../v1.20/amoro-mixed-flink-runtime-1.20/pom.xml | 5 +++ 4 files changed, 63 insertions(+) diff --git a/amoro-format-mixed/amoro-mixed-flink/amoro-mixed-flink-common/src/main/appended-resources/META-INF/LICENSE b/amoro-format-mixed/amoro-mixed-flink/amoro-mixed-flink-common/src/main/appended-resources/META-INF/LICENSE new file mode 100644 index 000000000..0f447af2f --- /dev/null +++ b/amoro-format-mixed/amoro-mixed-flink/amoro-mixed-flink-common/src/main/appended-resources/META-INF/LICENSE @@ -0,0 +1,48 @@ + +This product includes software developed at The ICU Project + (https://github.com/unicode-org/icu). + + org/apache/amoro/flink/lookup/ByteArrayWrapper.java + is derived from com.ibm.icu.util.ByteArrayWrapper from ICU4J. The + upstream file carries the following copyright notices: + + Copyright (C) 1996-2016, International Business Machines Corporation + and others. All Rights Reserved. + Copyright (c) 2016 and later: Unicode, Inc. and others. + + The file is licensed under the ICU License: + + COPYRIGHT AND PERMISSION NOTICE (ICU 58 and later) + + Copyright © 1991-2020 Unicode, Inc. All rights reserved. + Distributed under the Terms of Use in https://www.unicode.org/copyright.html. + + Permission is hereby granted, free of charge, to any person obtaining + a copy of the Unicode data files and any associated documentation + (the "Data Files") or Unicode software and any associated documentation + (the "Software") to deal in the Data Files or Software + without restriction, including without limitation the rights to use, + copy, modify, merge, publish, distribute, and/or sell copies of + the Data Files or Software, and to permit persons to whom the Data Files + or Software are furnished to do so, provided that either + (a) this copyright and permission notice appear with all copies + of the Data Files or Software, or + (b) this copyright and permission notice appear in associated + Documentation. + + THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF + ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE + WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT OF THIRD PARTY RIGHTS. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS + NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL + DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, + DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER + TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THE DATA FILES OR SOFTWARE. + + Except as contained in this notice, the name of a copyright holder + shall not be used in advertising or otherwise to promote the sale, + use or other dealings in these Data Files or Software without prior + written authorization of the copyright holder. + diff --git a/amoro-format-mixed/amoro-mixed-flink/v1.18/amoro-mixed-flink-runtime-1.18/pom.xml b/amoro-format-mixed/amoro-mixed-flink/v1.18/amoro-mixed-flink-runtime-1.18/pom.xml index 2bceff044..007532321 100644 --- a/amoro-format-mixed/amoro-mixed-flink/v1.18/amoro-mixed-flink-runtime-1.18/pom.xml +++ b/amoro-format-mixed/amoro-mixed-flink/v1.18/amoro-mixed-flink-runtime-1.18/pom.xml @@ -88,6 +88,11 @@ </excludes> </filter> </filters> + <transformers combine.children="append"> + <transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer"> + <resource>META-INF/LICENSE</resource> + </transformer> + </transformers> <createDependencyReducedPom>false</createDependencyReducedPom> <artifactSet> <includes combine.children="append"> diff --git a/amoro-format-mixed/amoro-mixed-flink/v1.19/amoro-mixed-flink-runtime-1.19/pom.xml b/amoro-format-mixed/amoro-mixed-flink/v1.19/amoro-mixed-flink-runtime-1.19/pom.xml index ec44f3495..b7c2a821f 100644 --- a/amoro-format-mixed/amoro-mixed-flink/v1.19/amoro-mixed-flink-runtime-1.19/pom.xml +++ b/amoro-format-mixed/amoro-mixed-flink/v1.19/amoro-mixed-flink-runtime-1.19/pom.xml @@ -88,6 +88,11 @@ </excludes> </filter> </filters> + <transformers combine.children="append"> + <transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer"> + <resource>META-INF/LICENSE</resource> + </transformer> + </transformers> <createDependencyReducedPom>false</createDependencyReducedPom> <artifactSet> <includes combine.children="append"> diff --git a/amoro-format-mixed/amoro-mixed-flink/v1.20/amoro-mixed-flink-runtime-1.20/pom.xml b/amoro-format-mixed/amoro-mixed-flink/v1.20/amoro-mixed-flink-runtime-1.20/pom.xml index 5d14542c2..3d1f589e1 100644 --- a/amoro-format-mixed/amoro-mixed-flink/v1.20/amoro-mixed-flink-runtime-1.20/pom.xml +++ b/amoro-format-mixed/amoro-mixed-flink/v1.20/amoro-mixed-flink-runtime-1.20/pom.xml @@ -88,6 +88,11 @@ </excludes> </filter> </filters> + <transformers combine.children="append"> + <transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer"> + <resource>META-INF/LICENSE</resource> + </transformer> + </transformers> <createDependencyReducedPom>false</createDependencyReducedPom> <artifactSet> <includes combine.children="append">
