Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 70612200C15 for ; Tue, 24 Jan 2017 10:01:37 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 6F18F160B4B; Tue, 24 Jan 2017 09:01:37 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id CC0F7160B65 for ; Tue, 24 Jan 2017 10:01:35 +0100 (CET) Received: (qmail 60141 invoked by uid 500); 24 Jan 2017 09:01:34 -0000 Mailing-List: contact commits-help@asterixdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@asterixdb.apache.org Delivered-To: mailing list commits@asterixdb.apache.org Received: (qmail 59817 invoked by uid 99); 24 Jan 2017 09:01:33 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jan 2017 09:01:33 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 73833DFC68; Tue, 24 Jan 2017 09:01:33 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: imaxon@apache.org To: commits@asterixdb.apache.org Date: Tue, 24 Jan 2017 09:01:54 -0000 Message-Id: <5e4d2ba1a1684d2995fb993b1b3b3325@git.apache.org> In-Reply-To: <720cdf65169f44d99e114038203f40f6@git.apache.org> References: <720cdf65169f44d99e114038203f40f6@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [22/30] asterixdb git commit: Fix Issues in 0.9.0 RC1 Release Assemblies archived-at: Tue, 24 Jan 2017 09:01:37 -0000 Fix Issues in 0.9.0 RC1 Release Assemblies - Unable to build *DB from source assembly due to: o Git plugin requiring build from within Git clone o License automation templates referenced hyracks sources (expected co-location) - Missing APLv2 license text from head of binary assembly LICENSE files - Added license text to head of NCService conf files - Exclude useless DEPENDENCIES from asterixdb source assembly Change-Id: I1821416abb0387ee05b9add9f9c15798deed25e1 Reviewed-on: https://asterix-gerrit.ics.uci.edu/1452 Reviewed-by: Till Westmann Sonar-Qube: Jenkins Reviewed-by: Ian Maxon Tested-by: Jenkins Project: http://git-wip-us.apache.org/repos/asf/asterixdb/repo Commit: http://git-wip-us.apache.org/repos/asf/asterixdb/commit/e2cf491d Tree: http://git-wip-us.apache.org/repos/asf/asterixdb/tree/e2cf491d Diff: http://git-wip-us.apache.org/repos/asf/asterixdb/diff/e2cf491d Branch: refs/heads/master Commit: e2cf491d063a66a54e4ac3ed912a8fca5aad324a Parents: 2d232b6 Author: Michael Blow Authored: Wed Jan 18 15:39:40 2017 -0500 Committer: Ian Maxon Committed: Wed Jan 18 13:26:06 2017 -0800 ---------------------------------------------------------------------- asterixdb/LICENSE | 9 + asterixdb/asterix-app/pom.xml | 4 + asterixdb/asterix-client-helper/pom.xml | 6 - .../main/appended-resources/META-INF/LICENSE | 9 + asterixdb/asterix-installer/pom.xml | 7 +- asterixdb/asterix-license/pom.xml | 11 +- asterixdb/asterix-server/pom.xml | 7 +- .../src/main/samples/local/conf/blue.conf | 17 ++ .../src/main/samples/local/conf/cc.conf | 17 ++ .../test/resources/NCServiceExecutionIT/cc.conf | 17 ++ .../NCServiceExecutionIT/ncservice1.conf | 17 ++ .../NCServiceExecutionIT/ncservice2.conf | 17 ++ asterixdb/asterix-yarn/pom.xml | 7 +- asterixdb/src/main/assembly/source.xml | 9 +- .../main/licenses/templates/asterix-license.ftl | 7 +- .../main/licenses/templates/asterix-notice.ftl | 47 +++++ .../hyracks-fullstack_source_licenses.ftl | 190 +++++++++++++++++++ .../main/licenses/templates/source_licenses.ftl | 5 + .../hyracks-fullstack-license/pom.xml | 7 +- .../main/licenses/templates/asterix-notice.ftl | 1 + .../main/licenses/templates/source_licenses.ftl | 4 + .../src/test/resources/NCServiceIT/cc.conf | 17 ++ .../src/test/resources/NCServiceIT/nc-blue.conf | 17 ++ .../src/test/resources/NCServiceIT/nc-red.conf | 17 ++ 24 files changed, 434 insertions(+), 32 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/asterixdb/blob/e2cf491d/asterixdb/LICENSE ---------------------------------------------------------------------- diff --git a/asterixdb/LICENSE b/asterixdb/LICENSE index 7896416..e7b3a06 100644 --- a/asterixdb/LICENSE +++ b/asterixdb/LICENSE @@ -447,6 +447,15 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. --- + Portions of the AsterixDB runtime + located at: + asterix-hivecompat/src/main/java/org/apache/asterix/hivecompat/io/* + + are available under The Apache License, Version 2.0: +--- + Source files in asterix-hivecompat are derived from portions of Apache Hive + Query Language v0.13.0 (org.apache.hive:hive-exec). +--- Portions of the AsterixDB API examples located at: asterix-examples/src/main/resources/admaql101-demo/bottle.py http://git-wip-us.apache.org/repos/asf/asterixdb/blob/e2cf491d/asterixdb/asterix-app/pom.xml ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/pom.xml b/asterixdb/asterix-app/pom.xml index d4a9e5f..7cdf78a 100644 --- a/asterixdb/asterix-app/pom.xml +++ b/asterixdb/asterix-app/pom.xml @@ -75,6 +75,10 @@ ./target/classes/git.properties + + + false http://git-wip-us.apache.org/repos/asf/asterixdb/blob/e2cf491d/asterixdb/asterix-client-helper/pom.xml ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-client-helper/pom.xml b/asterixdb/asterix-client-helper/pom.xml index defb488..b053331 100644 --- a/asterixdb/asterix-client-helper/pom.xml +++ b/asterixdb/asterix-client-helper/pom.xml @@ -79,12 +79,6 @@ ${basedir}/../../ - - - - LICENSE - - repo/ ${project.build.directory}/generated-resources/license_map.json http://git-wip-us.apache.org/repos/asf/asterixdb/blob/e2cf491d/asterixdb/asterix-hivecompat/src/main/appended-resources/META-INF/LICENSE ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-hivecompat/src/main/appended-resources/META-INF/LICENSE b/asterixdb/asterix-hivecompat/src/main/appended-resources/META-INF/LICENSE new file mode 100644 index 0000000..b0cc878 --- /dev/null +++ b/asterixdb/asterix-hivecompat/src/main/appended-resources/META-INF/LICENSE @@ -0,0 +1,9 @@ +=== + AsterixDB includes source code with separate copyright notices and + license terms. Your use of this source code is subject to the terms + and condition of the following licenses. +=== + Source files org/apache/asterix/hivecompat/io/* are derived from portions + of Apache Hive Query Language v0.13.0 (org.apache.hive:hive-exec), + made available under The Apache License, Version 2.0: +--- http://git-wip-us.apache.org/repos/asf/asterixdb/blob/e2cf491d/asterixdb/asterix-installer/pom.xml ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-installer/pom.xml b/asterixdb/asterix-installer/pom.xml index d0b84ae..c8aa0a8 100644 --- a/asterixdb/asterix-installer/pom.xml +++ b/asterixdb/asterix-installer/pom.xml @@ -54,13 +54,14 @@ + ${basedir}/../src/main/licenses/templates - + LICENSE - + NOTICE @@ -85,7 +86,6 @@ org.apache.hyracks:* ${basedir}/../src/main/licenses/content - ${basedir}/../../ @@ -132,6 +132,7 @@ Managix Install repo/asterix-app-${project.version}.jar, within asterix/asterix-server-${project.version}-binary-assembly.zip repo/hyracks-control-cc-${project.version}.jar, within asterix/asterix-server-${project.version}-binary-assembly.zip + repo/asterix-hivecompat-${project.version}.jar, within asterix/asterix-server-${project.version}-binary-assembly.zip http://git-wip-us.apache.org/repos/asf/asterixdb/blob/e2cf491d/asterixdb/asterix-license/pom.xml ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-license/pom.xml b/asterixdb/asterix-license/pom.xml index 533b23e..e30fbc1 100644 --- a/asterixdb/asterix-license/pom.xml +++ b/asterixdb/asterix-license/pom.xml @@ -50,16 +50,17 @@ - ${basedir}/../../ + ${basedir}/../src/main/licenses/templates ${basedir}/.. ignored - + LICENSE - + + NOTICE @@ -83,9 +84,9 @@ - asterix-app/src/main/resources/ - + asterix-hivecompat/src/main/java/ + http://git-wip-us.apache.org/repos/asf/asterixdb/blob/e2cf491d/asterixdb/asterix-server/pom.xml ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-server/pom.xml b/asterixdb/asterix-server/pom.xml index de2e5e4..449f1e8 100644 --- a/asterixdb/asterix-server/pom.xml +++ b/asterixdb/asterix-server/pom.xml @@ -54,14 +54,14 @@ - ${basedir}/../../ + ${basedir}/../src/main/licenses/templates - + LICENSE - + NOTICE @@ -210,6 +210,7 @@ Server Install repo/asterix-app-${project.version}.jar, within this assembly repo/hyracks-control-cc-${project.version}.jar, within this assembly + repo/asterix-hivecompat-${project.version}.jar, within this assembly http://git-wip-us.apache.org/repos/asf/asterixdb/blob/e2cf491d/asterixdb/asterix-server/src/main/samples/local/conf/blue.conf ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-server/src/main/samples/local/conf/blue.conf b/asterixdb/asterix-server/src/main/samples/local/conf/blue.conf index 1dcedc8..1cb265e 100644 --- a/asterixdb/asterix-server/src/main/samples/local/conf/blue.conf +++ b/asterixdb/asterix-server/src/main/samples/local/conf/blue.conf @@ -1,2 +1,19 @@ +; Licensed to the Apache Software Foundation (ASF) under one +; or more contributor license agreements. See the NOTICE file +; distributed with this work for additional information +; regarding copyright ownership. The ASF licenses this file +; to you under the Apache License, Version 2.0 (the +; "License"); you may not use this file except in compliance +; with the License. You may obtain a copy of the License at +; +; http://www.apache.org/licenses/LICENSE-2.0 +; +; Unless required by applicable law or agreed to in writing, +; software distributed under the License is distributed on an +; "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +; KIND, either express or implied. See the License for the +; specific language governing permissions and limitations +; under the License. + [ncservice] port=9091 http://git-wip-us.apache.org/repos/asf/asterixdb/blob/e2cf491d/asterixdb/asterix-server/src/main/samples/local/conf/cc.conf ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-server/src/main/samples/local/conf/cc.conf b/asterixdb/asterix-server/src/main/samples/local/conf/cc.conf index b5f05d3..71b7514 100644 --- a/asterixdb/asterix-server/src/main/samples/local/conf/cc.conf +++ b/asterixdb/asterix-server/src/main/samples/local/conf/cc.conf @@ -1,3 +1,20 @@ +; Licensed to the Apache Software Foundation (ASF) under one +; or more contributor license agreements. See the NOTICE file +; distributed with this work for additional information +; regarding copyright ownership. The ASF licenses this file +; to you under the Apache License, Version 2.0 (the +; "License"); you may not use this file except in compliance +; with the License. You may obtain a copy of the License at +; +; http://www.apache.org/licenses/LICENSE-2.0 +; +; Unless required by applicable law or agreed to in writing, +; software distributed under the License is distributed on an +; "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +; KIND, either express or implied. See the License for the +; specific language governing permissions and limitations +; under the License. + [nc/red] txnlogdir=data/red/txnlog coredumpdir=data/red/coredump http://git-wip-us.apache.org/repos/asf/asterixdb/blob/e2cf491d/asterixdb/asterix-server/src/test/resources/NCServiceExecutionIT/cc.conf ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-server/src/test/resources/NCServiceExecutionIT/cc.conf b/asterixdb/asterix-server/src/test/resources/NCServiceExecutionIT/cc.conf index c69873c..3f58362 100644 --- a/asterixdb/asterix-server/src/test/resources/NCServiceExecutionIT/cc.conf +++ b/asterixdb/asterix-server/src/test/resources/NCServiceExecutionIT/cc.conf @@ -1,3 +1,20 @@ +; Licensed to the Apache Software Foundation (ASF) under one +; or more contributor license agreements. See the NOTICE file +; distributed with this work for additional information +; regarding copyright ownership. The ASF licenses this file +; to you under the Apache License, Version 2.0 (the +; "License"); you may not use this file except in compliance +; with the License. You may obtain a copy of the License at +; +; http://www.apache.org/licenses/LICENSE-2.0 +; +; Unless required by applicable law or agreed to in writing, +; software distributed under the License is distributed on an +; "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +; KIND, either express or implied. See the License for the +; specific language governing permissions and limitations +; under the License. + [nc/asterix_nc1] txnlogdir=../asterix-server/target/tmp/asterix_nc1/txnlog coredumpdir=../asterix-server/target/tmp/asterix_nc1/coredump http://git-wip-us.apache.org/repos/asf/asterixdb/blob/e2cf491d/asterixdb/asterix-server/src/test/resources/NCServiceExecutionIT/ncservice1.conf ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-server/src/test/resources/NCServiceExecutionIT/ncservice1.conf b/asterixdb/asterix-server/src/test/resources/NCServiceExecutionIT/ncservice1.conf index fa44fa2..ba10142 100644 --- a/asterixdb/asterix-server/src/test/resources/NCServiceExecutionIT/ncservice1.conf +++ b/asterixdb/asterix-server/src/test/resources/NCServiceExecutionIT/ncservice1.conf @@ -1,3 +1,20 @@ +; Licensed to the Apache Software Foundation (ASF) under one +; or more contributor license agreements. See the NOTICE file +; distributed with this work for additional information +; regarding copyright ownership. The ASF licenses this file +; to you under the Apache License, Version 2.0 (the +; "License"); you may not use this file except in compliance +; with the License. You may obtain a copy of the License at +; +; http://www.apache.org/licenses/LICENSE-2.0 +; +; Unless required by applicable law or agreed to in writing, +; software distributed under the License is distributed on an +; "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +; KIND, either express or implied. See the License for the +; specific language governing permissions and limitations +; under the License. + [ncservice] logdir=../asterix-server/target/failsafe-reports http://git-wip-us.apache.org/repos/asf/asterixdb/blob/e2cf491d/asterixdb/asterix-server/src/test/resources/NCServiceExecutionIT/ncservice2.conf ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-server/src/test/resources/NCServiceExecutionIT/ncservice2.conf b/asterixdb/asterix-server/src/test/resources/NCServiceExecutionIT/ncservice2.conf index 53d8d9b..2036584 100644 --- a/asterixdb/asterix-server/src/test/resources/NCServiceExecutionIT/ncservice2.conf +++ b/asterixdb/asterix-server/src/test/resources/NCServiceExecutionIT/ncservice2.conf @@ -1,3 +1,20 @@ +; Licensed to the Apache Software Foundation (ASF) under one +; or more contributor license agreements. See the NOTICE file +; distributed with this work for additional information +; regarding copyright ownership. The ASF licenses this file +; to you under the Apache License, Version 2.0 (the +; "License"); you may not use this file except in compliance +; with the License. You may obtain a copy of the License at +; +; http://www.apache.org/licenses/LICENSE-2.0 +; +; Unless required by applicable law or agreed to in writing, +; software distributed under the License is distributed on an +; "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +; KIND, either express or implied. See the License for the +; specific language governing permissions and limitations +; under the License. + [ncservice] logdir=../asterix-server/target/failsafe-reports port=9091 http://git-wip-us.apache.org/repos/asf/asterixdb/blob/e2cf491d/asterixdb/asterix-yarn/pom.xml ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-yarn/pom.xml b/asterixdb/asterix-yarn/pom.xml index 32c33fb..462fbdc 100644 --- a/asterixdb/asterix-yarn/pom.xml +++ b/asterixdb/asterix-yarn/pom.xml @@ -98,13 +98,14 @@ + ${basedir}/../src/main/licenses/templates - + LICENSE - + NOTICE @@ -126,7 +127,6 @@ org.apache.hyracks:* ${basedir}/../src/main/licenses/content - ${basedir}/../../ @@ -186,6 +186,7 @@ YARN Install repo/asterix-app-${project.version}.jar, within asterix/asterix-server-${project.version}-binary-assembly.zip repo/hyracks-control-cc-${project.version}.jar, within asterix/asterix-server-${project.version}-binary-assembly.zip + repo/asterix-hivecompat-${project.version}.jar, within asterix/asterix-server-${project.version}-binary-assembly.zip http://git-wip-us.apache.org/repos/asf/asterixdb/blob/e2cf491d/asterixdb/src/main/assembly/source.xml ---------------------------------------------------------------------- diff --git a/asterixdb/src/main/assembly/source.xml b/asterixdb/src/main/assembly/source.xml index 97cf01f..34fc3e9 100644 --- a/asterixdb/src/main/assembly/source.xml +++ b/asterixdb/src/main/assembly/source.xml @@ -26,7 +26,7 @@ ${project.basedir} - / + . true **/${project.build.directory}/** @@ -34,14 +34,13 @@ release.properties asterix-app/src/test/resources/externallib/** asterix-installer/src/test/resources/clusterts/asterix-installer-*-binary-assembly/** - DEPENDENCIES - target/maven-shared-archive-resources/META-INF - / + asterix-app/target/classes + ./asterix-app/src/main/resources/ - DEPENDENCIES* + git.properties http://git-wip-us.apache.org/repos/asf/asterixdb/blob/e2cf491d/asterixdb/src/main/licenses/templates/asterix-license.ftl ---------------------------------------------------------------------- diff --git a/asterixdb/src/main/licenses/templates/asterix-license.ftl b/asterixdb/src/main/licenses/templates/asterix-license.ftl index 8b83c1f..31c94c4 100644 --- a/asterixdb/src/main/licenses/templates/asterix-license.ftl +++ b/asterixdb/src/main/licenses/templates/asterix-license.ftl @@ -17,9 +17,7 @@ ! under the License. --> <@indent spaces=3> -<#list licenseMap as e> - <#assign entry = e.getValue()/> - <#assign license = entry.getLicense()/> +<#list licenses as license> <#if license.url == "http://www.apache.org/licenses/LICENSE-2.0.txt"> ${license.content} <#break> @@ -71,4 +69,5 @@ ${license.content} and condition of the following licenses. === <#include "source_licenses.ftl"> -<#include "../../../../../hyracks-fullstack/hyracks-fullstack-license/src/main/licenses/templates/source_licenses.ftl"> +<#-- TODO(mblow): consume hyracks license via maven artifact --> +<#include "hyracks-fullstack_source_licenses.ftl"> http://git-wip-us.apache.org/repos/asf/asterixdb/blob/e2cf491d/asterixdb/src/main/licenses/templates/asterix-notice.ftl ---------------------------------------------------------------------- diff --git a/asterixdb/src/main/licenses/templates/asterix-notice.ftl b/asterixdb/src/main/licenses/templates/asterix-notice.ftl new file mode 100644 index 0000000..6c96c88 --- /dev/null +++ b/asterixdb/src/main/licenses/templates/asterix-notice.ftl @@ -0,0 +1,47 @@ +<#-- + ! Licensed to the Apache Software Foundation (ASF) under one + ! or more contributor license agreements. See the NOTICE file + ! distributed with this work for additional information + ! regarding copyright ownership. The ASF licenses this file + ! to you under the Apache License, Version 2.0 (the + ! "License"); you may not use this file except in compliance + ! with the License. You may obtain a copy of the License at + ! + ! http://www.apache.org/licenses/LICENSE-2.0 + ! + ! Unless required by applicable law or agreed to in writing, + ! software distributed under the License is distributed on an + ! "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + ! KIND, either express or implied. See the License for the + ! specific language governing permissions and limitations + ! under the License. +--> +<#-- TODO(mblow): share notice file template with hyracks via maven artifact --> +<#if packageName?has_content> +Apache AsterixDB ${packageName!} +<#else> +Apache AsterixDB + +Copyright 2015-2017 The Apache Software Foundation + +This product includes software developed at +The Apache Software Foundation (http://www.apache.org/). +<#list noticeMap> + +AsterixDB utilizes many libraries, which come with the following applicable NOTICE(s): + +<#items as e> + <#assign noticeText = e.getKey()/> + <#assign projects = e.getValue()/> + <#list projects as p> + <#list p.locations as loc> +- ${loc}${p.artifactId}-${p.version}.jar + + + +<@indent spaces=6> +${noticeText} + + + + http://git-wip-us.apache.org/repos/asf/asterixdb/blob/e2cf491d/asterixdb/src/main/licenses/templates/hyracks-fullstack_source_licenses.ftl ---------------------------------------------------------------------- diff --git a/asterixdb/src/main/licenses/templates/hyracks-fullstack_source_licenses.ftl b/asterixdb/src/main/licenses/templates/hyracks-fullstack_source_licenses.ftl new file mode 100644 index 0000000..bed7207 --- /dev/null +++ b/asterixdb/src/main/licenses/templates/hyracks-fullstack_source_licenses.ftl @@ -0,0 +1,190 @@ +<#-- + ! Licensed to the Apache Software Foundation (ASF) under one + ! or more contributor license agreements. See the NOTICE file + ! distributed with this work for additional information + ! regarding copyright ownership. The ASF licenses this file + ! to you under the Apache License, Version 2.0 (the + ! "License"); you may not use this file except in compliance + ! with the License. You may obtain a copy of the License at + ! + ! http://www.apache.org/licenses/LICENSE-2.0 + ! + ! Unless required by applicable law or agreed to in writing, + ! software distributed under the License is distributed on an + ! "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + ! KIND, either express or implied. See the License for the + ! specific language governing permissions and limitations + ! under the License. +--> +<#-- TODO(mblow): consume hyracks license via maven artifact + WARNING: THIS COPY MUST BE KEPT IN SYNC WITH HYRACKS FILE + (hyracks-fullstack/hyracks-fullstack-license/src/main/licenses/templates/source_licenses.ftl) +--> +<#macro license files component="Hyracks admin console" location="${hyracksControlCcLocation!}" + filePrefix="${hyracksControlCcResourcesPrefix!}" + licenseName="the following license"> + Portions of the ${component} +<#if location?has_content> + in: ${location} + + located at: +<#if files?is_sequence> +<#list files as file> +<#if file?counter < files?size> + ${filePrefix}${file}, +<#else> + and + ${filePrefix}${file} + + +<#else> + ${filePrefix}${files} + + + are available under ${licenseName}: +--- +<@indent spaces=3 unpad=true wrap=true> +<#nested> + +--- + +<@license files="static/javascript/flot/" licenseName="The MIT License"> + Copyright (c) 2007-2014 IOLA and Ole Laursen + + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation + files (the "Software"), to deal in the Software without + restriction, including without limitation the rights to use, + copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following + conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS 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. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + OTHER DEALINGS IN THE SOFTWARE. + +<@license files="static/javascript/jsplumb/" licenseName="The MIT License"> + Copyright (c) 2010 - 2014 jsPlumb, http://jsplumbtoolkit.com/ + + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS 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. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +<@license files=["static/javascript/jquery", "static/javascript/jquery-ui"] licenseName="The MIT License"> + Copyright jQuery Foundation and other contributors, https://jquery.org/ + + This software consists of voluntary contributions made by many + individuals. For exact contribution history, see the revision history + available at https://github.com/jquery/jquery + + The following license applies to all parts of this software except as + documented below: + + ==== + + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS 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. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + ==== + + All files located in the node_modules and external directories are + externally maintained libraries used by this software which have their + own licenses; we recommend you read them, as their terms may differ from + the terms above. + +<@license files="static/javascript/jquery/plugins/jquery.getParams.js" licenseName="The MIT License"> + Copyright (c) 2006 Mathias Bank (http://www.mathias-bank.de) + Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) + and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses. + + Thanks to Hinnerk Ruemenapf - http://hinnerk.ruemenapf.de/ for bug reporting and fixing. + +<@license files="static/javascript/jquery/plugins/jquery.timer.js" licenseName="The MIT License"> + jquery.timer.js + + Copyright (c) 2011 Jason Chavannes + + http://jchavannes.com/jquery-timer + + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation + files (the "Software"), to deal in the Software without + restriction, including without limitation the rights to use, copy, + modify, merge, publish, distribute, sublicense, and/or sell copies + of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS 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. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + +<@license files=["static/stylesheet/json.human.css", "static/javascript/adminconsole/json.human.js"] + licenseName="The MIT License"> + Copyright (c) 2015, Mariano Guerra + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS 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. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + http://git-wip-us.apache.org/repos/asf/asterixdb/blob/e2cf491d/asterixdb/src/main/licenses/templates/source_licenses.ftl ---------------------------------------------------------------------- diff --git a/asterixdb/src/main/licenses/templates/source_licenses.ftl b/asterixdb/src/main/licenses/templates/source_licenses.ftl index 475c6ac..e13183c 100644 --- a/asterixdb/src/main/licenses/templates/source_licenses.ftl +++ b/asterixdb/src/main/licenses/templates/source_licenses.ftl @@ -222,3 +222,8 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +<@license component="AsterixDB runtime" files="org/apache/asterix/hivecompat/io/*" + licenseName="The Apache License, Version 2.0" + location="${hivecompatLocation!}" filePrefix="${hivecompatPrefix!}"> +Source files in asterix-hivecompat are derived from portions of Apache Hive Query Language v0.13.0 (org.apache.hive:hive-exec). + http://git-wip-us.apache.org/repos/asf/asterixdb/blob/e2cf491d/hyracks-fullstack/hyracks-fullstack-license/pom.xml ---------------------------------------------------------------------- diff --git a/hyracks-fullstack/hyracks-fullstack-license/pom.xml b/hyracks-fullstack/hyracks-fullstack-license/pom.xml index 7105a5f..03aa434 100644 --- a/hyracks-fullstack/hyracks-fullstack-license/pom.xml +++ b/hyracks-fullstack/hyracks-fullstack-license/pom.xml @@ -50,16 +50,17 @@ - ${basedir} + ${basedir}/src/main/licenses/templates ${basedir}/.. ignored - + LICENSE - + + NOTICE http://git-wip-us.apache.org/repos/asf/asterixdb/blob/e2cf491d/hyracks-fullstack/hyracks-fullstack-license/src/main/licenses/templates/asterix-notice.ftl ---------------------------------------------------------------------- diff --git a/hyracks-fullstack/hyracks-fullstack-license/src/main/licenses/templates/asterix-notice.ftl b/hyracks-fullstack/hyracks-fullstack-license/src/main/licenses/templates/asterix-notice.ftl index 61f732e..6b0570c 100644 --- a/hyracks-fullstack/hyracks-fullstack-license/src/main/licenses/templates/asterix-notice.ftl +++ b/hyracks-fullstack/hyracks-fullstack-license/src/main/licenses/templates/asterix-notice.ftl @@ -16,6 +16,7 @@ ! specific language governing permissions and limitations ! under the License. --> +<#-- TODO(mblow): share notice file template with asterixdb via maven artifact --> <#if packageName?has_content> Apache AsterixDB ${packageName!} <#else> http://git-wip-us.apache.org/repos/asf/asterixdb/blob/e2cf491d/hyracks-fullstack/hyracks-fullstack-license/src/main/licenses/templates/source_licenses.ftl ---------------------------------------------------------------------- diff --git a/hyracks-fullstack/hyracks-fullstack-license/src/main/licenses/templates/source_licenses.ftl b/hyracks-fullstack/hyracks-fullstack-license/src/main/licenses/templates/source_licenses.ftl index 24a47c6..d142630 100644 --- a/hyracks-fullstack/hyracks-fullstack-license/src/main/licenses/templates/source_licenses.ftl +++ b/hyracks-fullstack/hyracks-fullstack-license/src/main/licenses/templates/source_licenses.ftl @@ -16,6 +16,10 @@ ! specific language governing permissions and limitations ! under the License. --> +<#-- TODO(mblow): consume hyracks license via maven artifact + WARNING: THIS FILE MUST BE KEPT IN SYNC WITH COPY IN ASTERIXDB + (asterixdb/src/main/licenses/templates/hyracks-fullstack_source_licenses.ftl) +--> <#macro license files component="Hyracks admin console" location="${hyracksControlCcLocation!}" filePrefix="${hyracksControlCcResourcesPrefix!}" licenseName="the following license"> http://git-wip-us.apache.org/repos/asf/asterixdb/blob/e2cf491d/hyracks-fullstack/hyracks/hyracks-server/src/test/resources/NCServiceIT/cc.conf ---------------------------------------------------------------------- diff --git a/hyracks-fullstack/hyracks/hyracks-server/src/test/resources/NCServiceIT/cc.conf b/hyracks-fullstack/hyracks/hyracks-server/src/test/resources/NCServiceIT/cc.conf index 25ac530..2339efb 100644 --- a/hyracks-fullstack/hyracks/hyracks-server/src/test/resources/NCServiceIT/cc.conf +++ b/hyracks-fullstack/hyracks/hyracks-server/src/test/resources/NCServiceIT/cc.conf @@ -1,3 +1,20 @@ +; Licensed to the Apache Software Foundation (ASF) under one +; or more contributor license agreements. See the NOTICE file +; distributed with this work for additional information +; regarding copyright ownership. The ASF licenses this file +; to you under the Apache License, Version 2.0 (the +; "License"); you may not use this file except in compliance +; with the License. You may obtain a copy of the License at +; +; http://www.apache.org/licenses/LICENSE-2.0 +; +; Unless required by applicable law or agreed to in writing, +; software distributed under the License is distributed on an +; "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +; KIND, either express or implied. See the License for the +; specific language governing permissions and limitations +; under the License. + [nc/red] address=127.0.0.1 http://git-wip-us.apache.org/repos/asf/asterixdb/blob/e2cf491d/hyracks-fullstack/hyracks/hyracks-server/src/test/resources/NCServiceIT/nc-blue.conf ---------------------------------------------------------------------- diff --git a/hyracks-fullstack/hyracks/hyracks-server/src/test/resources/NCServiceIT/nc-blue.conf b/hyracks-fullstack/hyracks/hyracks-server/src/test/resources/NCServiceIT/nc-blue.conf index 1cd1666..9ddf4df 100644 --- a/hyracks-fullstack/hyracks/hyracks-server/src/test/resources/NCServiceIT/nc-blue.conf +++ b/hyracks-fullstack/hyracks/hyracks-server/src/test/resources/NCServiceIT/nc-blue.conf @@ -1,3 +1,20 @@ +; Licensed to the Apache Software Foundation (ASF) under one +; or more contributor license agreements. See the NOTICE file +; distributed with this work for additional information +; regarding copyright ownership. The ASF licenses this file +; to you under the Apache License, Version 2.0 (the +; "License"); you may not use this file except in compliance +; with the License. You may obtain a copy of the License at +; +; http://www.apache.org/licenses/LICENSE-2.0 +; +; Unless required by applicable law or agreed to in writing, +; software distributed under the License is distributed on an +; "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +; KIND, either express or implied. See the License for the +; specific language governing permissions and limitations +; under the License. + [ncservice] address=127.0.0.1 port=9091 http://git-wip-us.apache.org/repos/asf/asterixdb/blob/e2cf491d/hyracks-fullstack/hyracks/hyracks-server/src/test/resources/NCServiceIT/nc-red.conf ---------------------------------------------------------------------- diff --git a/hyracks-fullstack/hyracks/hyracks-server/src/test/resources/NCServiceIT/nc-red.conf b/hyracks-fullstack/hyracks/hyracks-server/src/test/resources/NCServiceIT/nc-red.conf index 74b49b0..f854479 100644 --- a/hyracks-fullstack/hyracks/hyracks-server/src/test/resources/NCServiceIT/nc-red.conf +++ b/hyracks-fullstack/hyracks/hyracks-server/src/test/resources/NCServiceIT/nc-red.conf @@ -1,3 +1,20 @@ +; Licensed to the Apache Software Foundation (ASF) under one +; or more contributor license agreements. See the NOTICE file +; distributed with this work for additional information +; regarding copyright ownership. The ASF licenses this file +; to you under the Apache License, Version 2.0 (the +; "License"); you may not use this file except in compliance +; with the License. You may obtain a copy of the License at +; +; http://www.apache.org/licenses/LICENSE-2.0 +; +; Unless required by applicable law or agreed to in writing, +; software distributed under the License is distributed on an +; "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +; KIND, either express or implied. See the License for the +; specific language governing permissions and limitations +; under the License. + [ncservice] address=127.0.0.1 port=9090