From 165a09412e3f07194e63646c6d57cb25e720c200 Mon Sep 17 00:00:00 2001 From: Fabian Hueske Date: Tue, 9 May 2017 11:46:16 +0200 Subject: [PATCH] [FLINK-6508] [table] Include license files of packaged dependencies. --- flink-libraries/flink-table/pom.xml | 10 ++++++ .../src/main/resources/janino/LICENSE | 31 +++++++++++++++++++ .../src/main/resources/reflections/LICENSE | 13 ++++++++ 3 files changed, 54 insertions(+) create mode 100644 flink-libraries/flink-table/src/main/resources/janino/LICENSE create mode 100644 flink-libraries/flink-table/src/main/resources/reflections/LICENSE diff --git a/flink-libraries/flink-table/pom.xml b/flink-libraries/flink-table/pom.xml index 8fa2ed27178d1..7ef592e1de099 100644 --- a/flink-libraries/flink-table/pom.xml +++ b/flink-libraries/flink-table/pom.xml @@ -237,6 +237,16 @@ under the License. org.apache.flink.shaded.calcite.org.eigenbase + + + META-INF/PACKAGED_LICENSES/janino/LICENSE + ./src/main/resources/janino/LICENSE + + + META-INF/PACKAGED_LICENSES/reflections/LICENSE + ./src/main/resources/reflections/LICENSE + + diff --git a/flink-libraries/flink-table/src/main/resources/janino/LICENSE b/flink-libraries/flink-table/src/main/resources/janino/LICENSE new file mode 100644 index 0000000000000..ef871e2426218 --- /dev/null +++ b/flink-libraries/flink-table/src/main/resources/janino/LICENSE @@ -0,0 +1,31 @@ +Janino - An embedded Java[TM] compiler + +Copyright (c) 2001-2016, Arno Unkrig +Copyright (c) 2015-2016 TIBCO Software Inc. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials + provided with the distribution. + 3. Neither the name of JANINO nor the names of its contributors + may be used to endorse or promote products derived from this + software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/flink-libraries/flink-table/src/main/resources/reflections/LICENSE b/flink-libraries/flink-table/src/main/resources/reflections/LICENSE new file mode 100644 index 0000000000000..5c93f45654687 --- /dev/null +++ b/flink-libraries/flink-table/src/main/resources/reflections/LICENSE @@ -0,0 +1,13 @@ + DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE + Version 2, December 2004 + + Copyright (C) 2004 Sam Hocevar + + Everyone is permitted to copy and distribute verbatim or modified + copies of this license document, and changing it is allowed as long + as the name is changed. + + DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. You just DO WHAT THE FUCK YOU WANT TO.