ASTERIXDB-1320, ASTERIXDB-1323: License Fixes
ASTERIXDB-1320:
- LICENSE lists a large number of CDDL licensed bits of software
CDDL is Category B we should provide a link to the source code (see 3.1.
Availability of Source Code in (1)). Previous advice on legal-discuss
was this goes in NOTICE but recent discussions have left this a bit more muddled.
ASTERIXDB-1323:
- Missing normalize.css (MIT) ./asterix-examples/src/main/resources/admaql101-demo
/static/css/bootstrap.min.css
- Missing license for second bottle file (MIT) ./asterix-examples/src/main/
resources/tweetbook-demo/bottle.py
- Bootstrap version bundled is Apache licensed not MIT licensed ./asterix-app/src/
main/resources/webui/static/js/bootstrap.min.js
- It’s also not mentioned for all licenses what each license is (MIT/BSD etc) that
can be helpful. The version of the bundled software is also helpful.
- Should include text of RainbowVis-JS license (or better still a pointer to a copy
of the license file) [5] not a pointer to a URL on github
Also, misc cleanup.
Change-Id: Ie9fe9c18f63624896ccda420e1bf83ae0127021e
Reviewed-on: https://asterix-gerrit.ics.uci.edu/1463
Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
BAD: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Ian Maxon <imaxon@apache.org>
diff --git a/hyracks-fullstack/hyracks-fullstack-license/src/main/licenses/templates/hyracks-notice.ftl b/hyracks-fullstack/hyracks-fullstack-license/src/main/licenses/templates/hyracks-notice.ftl
new file mode 100644
index 0000000..c59e80a
--- /dev/null
+++ b/hyracks-fullstack/hyracks-fullstack-license/src/main/licenses/templates/hyracks-notice.ftl
@@ -0,0 +1,44 @@
+<#--
+ ! 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 asterixdb via maven artifact -->
+Apache Hyracks and Algebricks
+Copyright 2015-2017 The Apache Software Foundation
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).
+<#list noticeMap>
+
+Hyracks and Algebricks utilize 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>
+${p.name} (${p.groupId}:${p.artifactId}:${p.version})
+ <#list p.locations as loc>
+- ${loc}${p.artifactId}-${p.version}.jar
+ </#list>
+ </#list>
+
+<@indent spaces=6>
+${noticeText}
+</@indent>
+
+</#items>
+</#list>