ASTERIXDB-1720 - Generate License / Notice Files

- Includes Maven plugin to analyze dependencies & assemble LICENSE &
  NOTICE files using Apache FreeMarker templates, formatting to desired
  LICENSE & NOTICE output format.
- LICENSE & NOTICE files for the 'asterix-server', 'asterix-installer',
  and 'asterix-yarn' binary assemblies are generated by the build
- Automated LICENSE & NOTICE file generation for source release is not
  addressed by this patch
- Fixes ASTERIXDB-1311: Add Rome Apache 2.0 License in the LICENSE/NOTICE

Change-Id: I0963a85cb2be47dbf6bfd8c7f6fec767ef32e7e2
Reviewed-on: https://asterix-gerrit.ics.uci.edu/1402
Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Till Westmann <tillw@apache.org>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
diff --git a/asterixdb/asterix-installer/pom.xml b/asterixdb/asterix-installer/pom.xml
index b3bd196..d63a730 100644
--- a/asterixdb/asterix-installer/pom.xml
+++ b/asterixdb/asterix-installer/pom.xml
@@ -41,6 +41,98 @@
   <build>
     <plugins>
       <plugin>
+        <groupId>org.apache.asterix</groupId>
+        <artifactId>license-automation-plugin</artifactId>
+        <version>${project.version}</version>
+        <executions>
+          <execution>
+            <goals>
+              <!--<goal>licensedownload</goal>-->
+              <goal>generate</goal>
+            </goals>
+          </execution>
+        </executions>
+        <configuration>
+          <generatedFiles>
+            <generatedFile>
+              <template>asterixdb/src/main/licenses/templates/asterix-license.ftl</template>
+              <outputFile>LICENSE</outputFile>
+            </generatedFile>
+            <generatedFile>
+              <template>asterixdb/src/main/licenses/templates/asterix-notice.ftl</template>
+              <outputFile>NOTICE</outputFile>
+            </generatedFile>
+          </generatedFiles>
+          <location>repo/</location>
+          <timeoutSecs>10</timeoutSecs>
+          <extraLicenseMaps>
+            <extraLicenseMap>
+              <file>${basedir}/../asterix-server/target/generated-resources/license_map.json</file>
+              <location>asterix/asterix-server-${project.version}-binary-assembly.zip::repo/</location>
+            </extraLicenseMap>
+          </extraLicenseMaps>
+          <models>
+            <model>${basedir}/../src/main/appended-resources/supplemental-models.xml</model>
+          </models>
+          <downloadDir>${project.build.directory}/generated-resources/license</downloadDir>
+          <excludedScopes>
+            <excludedScope>test</excludedScope>
+          </excludedScopes>
+          <excludes>
+            <exclude>org.apache.asterix:*</exclude>
+            <exclude>org.apache.algebricks:*</exclude>
+            <exclude>org.apache.hyracks:*</exclude>
+          </excludes>
+          <licenseDirectory>${basedir}/../src/main/licenses/content</licenseDirectory>
+          <templateRootDir>${basedir}/../../</templateRootDir>
+          <dependencySets>
+            <dependencySet>
+              <includes>
+                <!-- NOTE! Any changes here must be mirrored in src/main/assembly/binary-assembly.xml -->
+                <include>log4j:log4j</include>
+                <include>org.apache.asterix:asterix-events</include>
+                <include>org.apache.asterix:asterix-common</include>
+                <include>org.apache.zookeeper:zookeeper</include>
+                <include>args4j:args4j</include>
+                <include>log4j:log4j</include>
+                <include>commons-io:commons-io</include>
+                <include>org.slf4j:slf4j-api</include>
+                <include>org.slf4j:slf4j-log4j12</include>
+              </includes>
+              <location>lib</location>
+            </dependencySet>
+            <dependencySet>
+              <includes>
+                <!-- NOTE! Any changes here must be mirrored in src/main/assembly/binary-assembly.xml -->
+                <include>org.apache.hadoop:hadoop-core</include>
+                <include>commons-cli:commons-cli</include>
+                <include>commons-logging:commons-logging</include>
+              </includes>
+              <location>.installer/hadoop-0.20.2/lib</location>
+            </dependencySet>
+            <dependencySet>
+              <includes>
+                <!-- NOTE! Any changes here must be mirrored in src/main/assembly/binary-assembly.xml -->
+                <include>org.apache.zookeeper:zookeeper</include>
+                <include>log4j:log4j</include>
+                <include>org.slf4j:slf4j-api</include>
+              </includes>
+              <location>.installer/zookeeper/lib</location>
+            </dependencySet>
+          </dependencySets>
+          <overrides>
+            <override>
+              <gav>org.apache.zookeeper:zookeeper:3.4.5</gav>
+              <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+            </override>
+          </overrides>
+          <templateProperties>
+            <assembly>asterix/asterix-server-${project.version}-binary-assembly.zip</assembly>
+            <packageName>Managix Install</packageName>
+          </templateProperties>
+        </configuration>
+      </plugin>
+      <plugin>
         <groupId>org.jvnet.jaxb2.maven2</groupId>
         <artifactId>maven-jaxb2-plugin</artifactId>
         <version>0.9.0</version>
diff --git a/asterixdb/asterix-installer/src/main/assembly/binary-assembly.xml b/asterixdb/asterix-installer/src/main/assembly/binary-assembly.xml
index 4a9bf4a..93ebbd7 100644
--- a/asterixdb/asterix-installer/src/main/assembly/binary-assembly.xml
+++ b/asterixdb/asterix-installer/src/main/assembly/binary-assembly.xml
@@ -70,7 +70,7 @@
       </includes>
     </fileSet>
     <fileSet>
-      <directory>src/main/licenses/</directory>
+      <directory>target/generated-sources</directory>
       <outputDirectory>.</outputDirectory>
       <includes>
         <include>LICENSE*</include>
@@ -86,6 +86,7 @@
   <dependencySets>
     <dependencySet>
       <includes>
+        <!-- NOTE! Any changes here must be mirrored in asterix-installer pom.xml for licensegen -->
         <include>log4j:log4j</include>
         <include>org.apache.asterix:asterix-events</include>
         <include>org.apache.asterix:asterix-common</include>
@@ -101,6 +102,7 @@
     </dependencySet>
     <dependencySet>
       <includes>
+        <!-- NOTE! Any changes here must be mirrored in asterix-installer pom.xml for licensegen -->
         <include>org.apache.hadoop:hadoop-core</include>
         <include>commons-cli:commons-cli</include>
         <include>commons-logging:commons-logging</include>
@@ -110,6 +112,7 @@
     </dependencySet>
     <dependencySet>
       <includes>
+        <!-- NOTE! Any changes here must be mirrored in asterix-installer pom.xml for licensegen -->
         <include>org.apache.zookeeper:zookeeper</include>
         <include>log4j:log4j</include>
         <include>org.slf4j:slf4j-api</include>
diff --git a/asterixdb/asterix-installer/src/main/licenses/LICENSE b/asterixdb/asterix-installer/src/main/licenses/LICENSE
deleted file mode 100644
index 5af0060..0000000
--- a/asterixdb/asterix-installer/src/main/licenses/LICENSE
+++ /dev/null
@@ -1,1515 +0,0 @@
-
-                                 Apache License
-                           Version 2.0, January 2004
-                        http://www.apache.org/licenses/
-
-   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
-   1. Definitions.
-
-      "License" shall mean the terms and conditions for use, reproduction,
-      and distribution as defined by Sections 1 through 9 of this document.
-
-      "Licensor" shall mean the copyright owner or entity authorized by
-      the copyright owner that is granting the License.
-
-      "Legal Entity" shall mean the union of the acting entity and all
-      other entities that control, are controlled by, or are under common
-      control with that entity. For the purposes of this definition,
-      "control" means (i) the power, direct or indirect, to cause the
-      direction or management of such entity, whether by contract or
-      otherwise, or (ii) ownership of fifty percent (50%) or more of the
-      outstanding shares, or (iii) beneficial ownership of such entity.
-
-      "You" (or "Your") shall mean an individual or Legal Entity
-      exercising permissions granted by this License.
-
-      "Source" form shall mean the preferred form for making modifications,
-      including but not limited to software source code, documentation
-      source, and configuration files.
-
-      "Object" form shall mean any form resulting from mechanical
-      transformation or translation of a Source form, including but
-      not limited to compiled object code, generated documentation,
-      and conversions to other media types.
-
-      "Work" shall mean the work of authorship, whether in Source or
-      Object form, made available under the License, as indicated by a
-      copyright notice that is included in or attached to the work
-      (an example is provided in the Appendix below).
-
-      "Derivative Works" shall mean any work, whether in Source or Object
-      form, that is based on (or derived from) the Work and for which the
-      editorial revisions, annotations, elaborations, or other modifications
-      represent, as a whole, an original work of authorship. For the purposes
-      of this License, Derivative Works shall not include works that remain
-      separable from, or merely link (or bind by name) to the interfaces of,
-      the Work and Derivative Works thereof.
-
-      "Contribution" shall mean any work of authorship, including
-      the original version of the Work and any modifications or additions
-      to that Work or Derivative Works thereof, that is intentionally
-      submitted to Licensor for inclusion in the Work by the copyright owner
-      or by an individual or Legal Entity authorized to submit on behalf of
-      the copyright owner. For the purposes of this definition, "submitted"
-      means any form of electronic, verbal, or written communication sent
-      to the Licensor or its representatives, including but not limited to
-      communication on electronic mailing lists, source code control systems,
-      and issue tracking systems that are managed by, or on behalf of, the
-      Licensor for the purpose of discussing and improving the Work, but
-      excluding communication that is conspicuously marked or otherwise
-      designated in writing by the copyright owner as "Not a Contribution."
-
-      "Contributor" shall mean Licensor and any individual or Legal Entity
-      on behalf of whom a Contribution has been received by Licensor and
-      subsequently incorporated within the Work.
-
-   2. Grant of Copyright License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      copyright license to reproduce, prepare Derivative Works of,
-      publicly display, publicly perform, sublicense, and distribute the
-      Work and such Derivative Works in Source or Object form.
-
-   3. Grant of Patent License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      (except as stated in this section) patent license to make, have made,
-      use, offer to sell, sell, import, and otherwise transfer the Work,
-      where such license applies only to those patent claims licensable
-      by such Contributor that are necessarily infringed by their
-      Contribution(s) alone or by combination of their Contribution(s)
-      with the Work to which such Contribution(s) was submitted. If You
-      institute patent litigation against any entity (including a
-      cross-claim or counterclaim in a lawsuit) alleging that the Work
-      or a Contribution incorporated within the Work constitutes direct
-      or contributory patent infringement, then any patent licenses
-      granted to You under this License for that Work shall terminate
-      as of the date such litigation is filed.
-
-   4. Redistribution. You may reproduce and distribute copies of the
-      Work or Derivative Works thereof in any medium, with or without
-      modifications, and in Source or Object form, provided that You
-      meet the following conditions:
-
-      (a) You must give any other recipients of the Work or
-          Derivative Works a copy of this License; and
-
-      (b) You must cause any modified files to carry prominent notices
-          stating that You changed the files; and
-
-      (c) You must retain, in the Source form of any Derivative Works
-          that You distribute, all copyright, patent, trademark, and
-          attribution notices from the Source form of the Work,
-          excluding those notices that do not pertain to any part of
-          the Derivative Works; and
-
-      (d) If the Work includes a "NOTICE" text file as part of its
-          distribution, then any Derivative Works that You distribute must
-          include a readable copy of the attribution notices contained
-          within such NOTICE file, excluding those notices that do not
-          pertain to any part of the Derivative Works, in at least one
-          of the following places: within a NOTICE text file distributed
-          as part of the Derivative Works; within the Source form or
-          documentation, if provided along with the Derivative Works; or,
-          within a display generated by the Derivative Works, if and
-          wherever such third-party notices normally appear. The contents
-          of the NOTICE file are for informational purposes only and
-          do not modify the License. You may add Your own attribution
-          notices within Derivative Works that You distribute, alongside
-          or as an addendum to the NOTICE text from the Work, provided
-          that such additional attribution notices cannot be construed
-          as modifying the License.
-
-      You may add Your own copyright statement to Your modifications and
-      may provide additional or different license terms and conditions
-      for use, reproduction, or distribution of Your modifications, or
-      for any such Derivative Works as a whole, provided Your use,
-      reproduction, and distribution of the Work otherwise complies with
-      the conditions stated in this License.
-
-   5. Submission of Contributions. Unless You explicitly state otherwise,
-      any Contribution intentionally submitted for inclusion in the Work
-      by You to the Licensor shall be under the terms and conditions of
-      this License, without any additional terms or conditions.
-      Notwithstanding the above, nothing herein shall supersede or modify
-      the terms of any separate license agreement you may have executed
-      with Licensor regarding such Contributions.
-
-   6. Trademarks. This License does not grant permission to use the trade
-      names, trademarks, service marks, or product names of the Licensor,
-      except as required for reasonable and customary use in describing the
-      origin of the Work and reproducing the content of the NOTICE file.
-
-   7. Disclaimer of Warranty. Unless required by applicable law or
-      agreed to in writing, Licensor provides the Work (and each
-      Contributor provides its Contributions) on an "AS IS" BASIS,
-      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-      implied, including, without limitation, any warranties or conditions
-      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
-      PARTICULAR PURPOSE. You are solely responsible for determining the
-      appropriateness of using or redistributing the Work and assume any
-      risks associated with Your exercise of permissions under this License.
-
-   8. Limitation of Liability. In no event and under no legal theory,
-      whether in tort (including negligence), contract, or otherwise,
-      unless required by applicable law (such as deliberate and grossly
-      negligent acts) or agreed to in writing, shall any Contributor be
-      liable to You for damages, including any direct, indirect, special,
-      incidental, or consequential damages of any character arising as a
-      result of this License or out of the use or inability to use the
-      Work (including but not limited to damages for loss of goodwill,
-      work stoppage, computer failure or malfunction, or any and all
-      other commercial damages or losses), even if such Contributor
-      has been advised of the possibility of such damages.
-
-   9. Accepting Warranty or Additional Liability. While redistributing
-      the Work or Derivative Works thereof, You may choose to offer,
-      and charge a fee for, acceptance of support, warranty, indemnity,
-      or other liability obligations and/or rights consistent with this
-      License. However, in accepting such obligations, You may act only
-      on Your own behalf and on Your sole responsibility, not on behalf
-      of any other Contributor, and only if You agree to indemnify,
-      defend, and hold each Contributor harmless for any liability
-      incurred by, or claims asserted against, such Contributor by reason
-      of your accepting any such warranty or additional liability.
-
-   END OF TERMS AND CONDITIONS
-
-   APPENDIX: How to apply the Apache License to your work.
-
-      To apply the Apache License to your work, attach the following
-      boilerplate notice, with the fields enclosed by brackets "[]"
-      replaced with your own identifying information. (Don't include
-      the brackets!)  The text should be enclosed in the appropriate
-      comment syntax for the file format. We also recommend that a
-      file or class name and description of purpose be included on the
-      same "printed page" as the copyright notice for easier
-      identification within third-party archives.
-
-   Copyright [yyyy] [name of copyright owner]
-
-   Licensed 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.
-
-
-   ASTERIXDB COMPONENTS:
-
-   AsterixDB includes a number of subcomponents with separate copyright
-   notices and license terms. Your use of the source code for these
-   subcomponents is subject to the terms and condition of the following
-   licenses.
-
-
-   Component(s):
-   - Java Servlet API (http://servlet-spec.java.n)
-     repo/javax.servlet-3.1.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-   - javax.servlet API v.3.0 (http://jcp.org/en/jsr/detail?id=315)
-     repo/servlet-api-2.5.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-   - grizzly-framework (http://grizzly.java.net/grizzly-framework)
-     repo/grizzly-framework-2.1.2.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-   - grizzly-http (http://grizzly.java.net/grizzly-http)
-     repo/grizzly-http-2.1.2.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-   - grizzly-http-server (http://grizzly.java.net/grizzly-http-server)
-     repo/grizzly-http-server-2.1.2.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-   - grizzly-http-servlet (http://grizzly.java.net/grizzly-http-servlet)
-     repo/grizzly-http-servlet-2.1.2.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-   - grizzly-rcm (http://grizzly.java.net/grizzly-rcm)
-     repo/grizzly-rcm-2.1.2.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-   - management-api (http://kenai.com/hg/gmbal~gf_common)
-     repo/management-api-3.0.0-b012.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-   - gmbal-api-only (http://kenai.com/hg/gmbal~master)
-     repo/gmbal-api-only-3.0.0-b023.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-   - JavaBeans Activation Framework (JAF) (http://java.sun.com/products/javabeans/jaf/index.jsp)
-     repo/activation-1.1.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-   - JavaMail API (https://glassfish.dev.java.net/javaee5/mail/)
-     repo/mail-1.4.5.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-   - Java Servlet API
-     repo/servlet-api-2.5.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-   - Java Transaction API (http://java.sun.com/products/jta/jta)
-     repo/jta-1.1.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-   - Sun JAXB Reference Implementation Runtime (http://jaxb.java.net/jaxb-impl)
-     repo/jaxb-impl-2.2.3-1.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-   - Java Architecture for XML Binding (JAXB API) (https://jaxb.dev.java.net/jaxb-api) 
-     repo/jaxb-api-2.2.2.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-   - Streaming API for XML
-     repo/stax-api-1.0.1.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-   - jsp-api
-     repo/jsp-api-2.1.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-
-   are available under the CDDL 1.0
-   --
-      COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0
-
-      1. Definitions.
-
-      1.1. “Contributor” means each individual or entity that creates or contributes to the creation of Modifications.
-
-      1.2. “Contributor Version” means the combination of the Original Software, prior Modifications used by a Contributor (if any), and the Modifications made by that particular Contributor.
-
-      1.3. “Covered Software” means (a) the Original Software, or (b) Modifications, or (c) the combination of files containing Original Software with files containing Modifications, in each case including portions thereof.
-
-      1.4. “Executable” means the Covered Software in any form other than Source Code.
-
-      1.5. “Initial Developer” means the individual or entity that first makes Original Software available under this License.
-
-      1.6. “Larger Work” means a work which combines Covered Software or portions thereof with code not governed by the terms of this License.
-
-      1.7. “License” means this document.
-
-      1.8. “Licensable” means having the right to grant, to the maximum extent possible, whether at the time of the initial grant or subsequently acquired, any and all of the rights conveyed herein.
-
-      1.9. “Modifications” means the Source Code and Executable form of any of the following:
-
-      A. Any file that results from an addition to, deletion from or modification of the contents of a file containing Original Software or previous Modifications;
-
-      B. Any new file that contains any part of the Original Software or previous Modification; or
-
-      C. Any new file that is contributed or otherwise made available under the terms of this License.
-
-      1.10. “Original Software” means the Source Code and Executable form of computer software code that is originally released under this License.
-
-      1.11. “Patent Claims” means any patent claim(s), now owned or hereafter acquired, including without limitation, method, process, and apparatus claims, in any patent Licensable by grantor.
-
-      1.12. “Source Code” means (a) the common form of computer software code in which modifications are made and (b) associated documentation included in or with such code.
-
-      1.13. “You” (or “Your”) means an individual or a legal entity exercising rights under, and complying with all of the terms of, this License. For legal entities, “You” includes any entity which controls, is controlled by, or is under common control with You. For purposes of this definition, “control” means (a) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (b) ownership of more than fifty percent (50%) of the outstanding shares or beneficial ownership of such entity.
-
-      2. License Grants.
-
-      2.1. The Initial Developer Grant.
-
-      Conditioned upon Your compliance with Section 3.1 below and subject to third party intellectual property claims, the Initial Developer hereby grants You a world-wide, royalty-free, non-exclusive license:
-
-      (a) under intellectual property rights (other than patent or trademark) Licensable by Initial Developer, to use, reproduce, modify, display, perform, sublicense and distribute the Original Software (or portions thereof), with or without Modifications, and/or as part of a Larger Work; and
-
-      (b) under Patent Claims infringed by the making, using or selling of Original Software, to make, have made, use, practice, sell, and offer for sale, and/or otherwise dispose of the Original Software (or portions thereof).
-
-      (c) The licenses granted in Sections 2.1(a) and (b) are effective on the date Initial Developer first distributes or otherwise makes the Original Software available to a third party under the terms of this License.
-
-      (d) Notwithstanding Section 2.1(b) above, no patent license is granted: (1) for code that You delete from the Original Software, or (2) for infringements caused by: (i) the modification of the Original Software, or (ii) the combination of the Original Software with other software or devices.
-
-      2.2. Contributor Grant.
-
-      Conditioned upon Your compliance with Section 3.1 below and subject to third party intellectual property claims, each Contributor hereby grants You a world-wide, royalty-free, non-exclusive license:
-
-      (a) under intellectual property rights (other than patent or trademark) Licensable by Contributor to use, reproduce, modify, display, perform, sublicense and distribute the Modifications created by such Contributor (or portions thereof), either on an unmodified basis, with other Modifications, as Covered Software and/or as part of a Larger Work; and
-
-      (b) under Patent Claims infringed by the making, using, or selling of Modifications made by that Contributor either alone and/or in combination with its Contributor Version (or portions of such combination), to make, use, sell, offer for sale, have made, and/or otherwise dispose of: (1) Modifications made by that Contributor (or portions thereof); and (2) the combination of Modifications made by that Contributor with its Contributor Version (or portions of such combination).
-
-      (c) The licenses granted in Sections 2.2(a) and 2.2(b) are effective on the date Contributor first distributes or otherwise makes the Modifications available to a third party.
-
-      (d) Notwithstanding Section 2.2(b) above, no patent license is granted: (1) for any code that Contributor has deleted from the Contributor Version; (2) for infringements caused by: (i) third party modifications of Contributor Version, or (ii) the combination of Modifications made by that Contributor with other software (except as part of the Contributor Version) or other devices; or (3) under Patent Claims infringed by Covered Software in the absence of Modifications made by that Contributor.
-
-      3. Distribution Obligations.
-
-      3.1. Availability of Source Code.
-
-      Any Covered Software that You distribute or otherwise make available in Executable form must also be made available in Source Code form and that Source Code form must be distributed only under the terms of this License. You must include a copy of this License with every copy of the Source Code form of the Covered Software You distribute or otherwise make available. You must inform recipients of any such Covered Software in Executable form as to how they can obtain such Covered Software in Source Code form in a reasonable manner on or through a medium customarily used for software exchange.
-
-      3.2. Modifications.
-
-      The Modifications that You create or to which You contribute are governed by the terms of this License. You represent that You believe Your Modifications are Your original creation(s) and/or You have sufficient rights to grant the rights conveyed by this License.
-
-      3.3. Required Notices.
-
-      You must include a notice in each of Your Modifications that identifies You as the Contributor of the Modification. You may not remove or alter any copyright, patent or trademark notices contained within the Covered Software, or any notices of licensing or any descriptive text giving attribution to any Contributor or the Initial Developer.
-
-      3.4. Application of Additional Terms.
-
-      You may not offer or impose any terms on any Covered Software in Source Code form that alters or restricts the applicable version of this License or the recipients’ rights hereunder. You may choose to offer, and to charge a fee for, warranty, support, indemnity or liability obligations to one or more recipients of Covered Software. However, you may do so only on Your own behalf, and not on behalf of the Initial Developer or any Contributor. You must make it absolutely clear that any such warranty, support, indemnity or liability obligation is offered by You alone, and You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of warranty, support, indemnity or liability terms You offer.
-
-      3.5. Distribution of Executable Versions.
-
-      You may distribute the Executable form of the Covered Software under the terms of this License or under the terms of a license of Your choice, which may contain terms different from this License, provided that You are in compliance with the terms of this License and that the license for the Executable form does not attempt to limit or alter the recipient’s rights in the Source Code form from the rights set forth in this License. If You distribute the Covered Software in Executable form under a different license, You must make it absolutely clear that any terms which differ from this License are offered by You alone, not by the Initial Developer or Contributor. You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of any such terms You offer.
-
-      3.6. Larger Works.
-
-      You may create a Larger Work by combining Covered Software with other code not governed by the terms of this License and distribute the Larger Work as a single product. In such a case, You must make sure the requirements of this License are fulfilled for the Covered Software.
-
-      4. Versions of the License.
-
-      4.1. New Versions.
-
-      Sun Microsystems, Inc. is the initial license steward and may publish revised and/or new versions of this License from time to time. Each version will be given a distinguishing version number. Except as provided in Section 4.3, no one other than the license steward has the right to modify this License.
-
-      4.2. Effect of New Versions.
-
-      You may always continue to use, distribute or otherwise make the Covered Software available under the terms of the version of the License under which You originally received the Covered Software. If the Initial Developer includes a notice in the Original Software prohibiting it from being distributed or otherwise made available under any subsequent version of the License, You must distribute and make the Covered Software available under the terms of the version of the License under which You originally received the Covered Software. Otherwise, You may also choose to use, distribute or otherwise make the Covered Software available under the terms of any subsequent version of the License published by the license steward.
-
-      4.3. Modified Versions.
-
-      When You are an Initial Developer and You want to create a new license for Your Original Software, You may create and use a modified version of this License if You: (a) rename the license and remove any references to the name of the license steward (except to note that the license differs from this License); and (b) otherwise make it clear that the license contains terms which differ from this License.
-
-      5. DISCLAIMER OF WARRANTY.
-
-      COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN “AS IS” BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED SOFTWARE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED SOFTWARE IS WITH YOU. SHOULD ANY COVERED SOFTWARE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY COVERED SOFTWARE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
-
-      6. TERMINATION.
-
-      6.1. This License and the rights granted hereunder will terminate automatically if You fail to comply with terms herein and fail to cure such breach within 30 days of becoming aware of the breach. Provisions which, by their nature, must remain in effect beyond the termination of this License shall survive.
-
-      6.2. If You assert a patent infringement claim (excluding declaratory judgment actions) against Initial Developer or a Contributor (the Initial Developer or Contributor against whom You assert such claim is referred to as “Participant”) alleging that the Participant Software (meaning the Contributor Version where the Participant is a Contributor or the Original Software where the Participant is the Initial Developer) directly or indirectly infringes any patent, then any and all rights granted directly or indirectly to You by such Participant, the Initial Developer (if the Initial Developer is not the Participant) and all Contributors under Sections 2.1 and/or 2.2 of this License shall, upon 60 days notice from Participant terminate prospectively and automatically at the expiration of such 60 day notice period, unless if within such 60 day period You withdraw Your claim with respect to the Participant Software against such Participant either unilaterally or pursuant to a written agreement with Participant.
-
-      6.3. In the event of termination under Sections 6.1 or 6.2 above, all end user licenses that have been validly granted by You or any distributor hereunder prior to termination (excluding licenses granted to You by any distributor) shall survive termination.
-
-      7. LIMITATION OF LIABILITY.
-
-      UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED SOFTWARE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOST PROFITS, LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY RESULTING FROM SUCH PARTY’S NEGLIGENCE TO THE EXTENT APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
-
-      8. U.S. GOVERNMENT END USERS.
-
-      The Covered Software is a “commercial item,” as that term is defined in 48 C.F.R. 2.101 (Oct. 1995), consisting of “commercial computer software” (as that term is defined at 48 C.F.R. § 252.227-7014(a)(1)) and “commercial computer software documentation” as such terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all U.S. Government End Users acquire Covered Software with only those rights set forth herein. This U.S. Government Rights clause is in lieu of, and supersedes, any other FAR, DFAR, or other clause or provision that addresses Government rights in computer software under this License.
-
-      9. MISCELLANEOUS.
-
-      This License represents the complete agreement concerning subject matter hereof. If any provision of this License is held to be unenforceable, such provision shall be reformed only to the extent necessary to make it enforceable. This License shall be governed by the law of the jurisdiction specified in a notice contained within the Original Software (except to the extent applicable law, if any, provides otherwise), excluding such jurisdiction’s conflict-of-law provisions. Any litigation relating to this License shall be subject to the jurisdiction of the courts located in the jurisdiction and venue specified in a notice contained within the Original Software, with the losing party responsible for costs, including, without limitation, court costs and reasonable attorneys’ fees and expenses. The application of the United Nations Convention on Contracts for the International Sale of Goods is expressly excluded. Any law or regulation which provides that the language of a contract shall be construed against the drafter shall not apply to this License. You agree that You alone are responsible for compliance with the United States export administration regulations (and the export control laws and regulation of any other countries) when You use, distribute or otherwise make available any Covered Software.
-
-      10. RESPONSIBILITY FOR CLAIMS.
-
-      As between Initial Developer and the Contributors, each party is responsible for claims and damages arising, directly or indirectly, out of its utilization of rights under this License and You agree to work with Initial Developer and Contributors to distribute such responsibility on an equitable basis. Nothing herein is intended or shall be deemed to constitute any admission of liability.
-
-      NOTICE PURSUANT TO SECTION 9 OF THE COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL)
-
-      The code released under the CDDL shall be governed by the laws of the State of California (excluding conflict-of-law provisions). Any litigation relating to this License shall be subject to the jurisdiction of the Federal Courts of the Northern District of California and the state courts of the State of California, with venue lying in Santa Clara County, California.
-
-
-
-   ==
-
-   Component(s):
-  - jersey-client (https://jersey.java.net/jersey-client/)
-    repo/jersey-client-1.13.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-  - jersey-core (https://jersey.java.net/jersey-core/)
-    repo/jersey-core-1.13.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-  - jersey-grizzly2 (https://jersey.java.net/jersey-grizzly2/)
-    repo/jersey-grizzly2-1.9.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-  - jersey-json (https://jersey.java.net/jersey-json/)
-    repo/jersey-json-1.13.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-  - jersey-server (https://jersey.java.net/jersey-server/)
-    repo/jersey-server-1.9.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-  - jersey-guice (https://jersey.java.net/jersey-contribs/jersey-guice/)
-    repo/jersey-guice-1.9.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-  - Jersey Test FrameworkCore (https://jersey.java.net/jersey-test-framework/jersey-test-framework-core/)
-    repo/jersey-test-framework-1.9.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-  - Jersey Test FrameworkGrizzly 2 Module (https://jersey.java.net/jersey-test-framework/jersey-test-framework-grizzly2/)
-    repo/jersey-test-framework-grizzly2-1.9.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-   Are available under the CDDL 1.1:
-   --
-
-      COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL)Version 1.1
-
-      1. Definitions.
-
-      1.1. “Contributor” means each individual or entity that creates or contributes to the creation of Modifications.
-      1.2. “Contributor Version” means the combination of the Original Software, prior Modifications used by a Contributor (if any), and the Modifications made by that particular Contributor.
-      1.3. “Covered Software” means (a) the Original Software, or (b) Modifications, or (c) the combination of files containing Original Software with files containing Modifications, in each case including portions thereof.
-      1.4. “Executable” means the Covered Software in any form other than Source Code.
-      1.5. “Initial Developer” means the individual or entity that first makes Original Software available under this License.
-      1.6. “Larger Work” means a work which combines Covered Software or portions thereof with code not governed by the terms of this License.
-      1.7. “License” means this document.
-      1.8. “Licensable” means having the right to grant, to the maximum extent possible, whether at the time of the initial grant or subsequently acquired, any and all of the rights conveyed herein.
-      1.9. “Modifications” means the Source Code and Executable form of any of the following:
-      A. Any file that results from an addition to, deletion from or modification of the contents of a file containing Original Software or previous Modifications;
-      B. Any new file that contains any part of the Original Software or previous Modification; or
-      C. Any new file that is contributed or otherwise made available under the terms of this License.
-      1.10. “Original Software” means the Source Code and Executable form of computer software code that is originally released under this License.
-      1.11. “Patent Claims” means any patent claim(s), now owned or hereafter acquired, including without limitation, method, process, and apparatus claims, in any patent Licensable by grantor.
-      1.12. “Source Code” means (a) the common form of computer software code in which modifications are made and (b) associated documentation included in or with such code.
-      1.13. “You” (or “Your”) means an individual or a legal entity exercising rights under, and complying with all of the terms of, this License. For legal entities, “You” includes any entity which controls, is controlled by, or is under common control with You. For purposes of this definition, “control” means (a) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (b) ownership of more than fifty percent (50%) of the outstanding shares or beneficial ownership of such entity.
-      2. License Grants.
-
-      2.1. The Initial Developer Grant.
-      Conditioned upon Your compliance with Section 3.1 below and subject to third party intellectual property claims, the Initial Developer hereby grants You a world-wide, royalty-free, non-exclusive license:
-      (a) under intellectual property rights (other than patent or trademark) Licensable by Initial Developer, to use, reproduce, modify, display, perform, sublicense and distribute the Original Software (or portions thereof), with or without Modifications, and/or as part of a Larger Work; and
-      (b) under Patent Claims infringed by the making, using or selling of Original Software, to make, have made, use, practice, sell, and offer for sale, and/or otherwise dispose of the Original Software (or portions thereof).
-      (c) The licenses granted in Sections 2.1(a) and (b) are effective on the date Initial Developer first distributes or otherwise makes the Original Software available to a third party under the terms of this License.
-      (d) Notwithstanding Section 2.1(b) above, no patent license is granted: (1) for code that You delete from the Original Software, or (2) for infringements caused by: (i) the modification of the Original Software, or (ii) the combination of the Original Software with other software or devices.
-      2.2. Contributor Grant.
-      Conditioned upon Your compliance with Section 3.1 below and subject to third party intellectual property claims, each Contributor hereby grants You a world-wide, royalty-free, non-exclusive license:
-      (a) under intellectual property rights (other than patent or trademark) Licensable by Contributor to use, reproduce, modify, display, perform, sublicense and distribute the Modifications created by such Contributor (or portions thereof), either on an unmodified basis, with other Modifications, as Covered Software and/or as part of a Larger Work; and
-      (b) under Patent Claims infringed by the making, using, or selling of Modifications made by that Contributor either alone and/or in combination with its Contributor Version (or portions of such combination), to make, use, sell, offer for sale, have made, and/or otherwise dispose of: (1) Modifications made by that Contributor (or portions thereof); and (2) the combination of Modifications made by that Contributor with its Contributor Version (or portions of such combination).
-      (c) The licenses granted in Sections 2.2(a) and 2.2(b) are effective on the date Contributor first distributes or otherwise makes the Modifications available to a third party.
-      (d) Notwithstanding Section 2.2(b) above, no patent license is granted: (1) for any code that Contributor has deleted from the Contributor Version; (2) for infringements caused by: (i) third party modifications of Contributor Version, or (ii) the combination of Modifications made by that Contributor with other software (except as part of the Contributor Version) or other devices; or (3) under Patent Claims infringed by Covered Software in the absence of Modifications made by that Contributor.
-      3. Distribution Obligations.
-
-      3.1. Availability of Source Code.
-      Any Covered Software that You distribute or otherwise make available in Executable form must also be made available in Source Code form and that Source Code form must be distributed only under the terms of this License. You must include a copy of this License with every copy of the Source Code form of the Covered Software You distribute or otherwise make available. You must inform recipients of any such Covered Software in Executable form as to how they can obtain such Covered Software in Source Code form in a reasonable manner on or through a medium customarily used for software exchange.
-      3.2. Modifications.
-      The Modifications that You create or to which You contribute are governed by the terms of this License. You represent that You believe Your Modifications are Your original creation(s) and/or You have sufficient rights to grant the rights conveyed by this License.
-      3.3. Required Notices.
-      You must include a notice in each of Your Modifications that identifies You as the Contributor of the Modification. You may not remove or alter any copyright, patent or trademark notices contained within the Covered Software, or any notices of licensing or any descriptive text giving attribution to any Contributor or the Initial Developer.
-      3.4. Application of Additional Terms.
-      You may not offer or impose any terms on any Covered Software in Source Code form that alters or restricts the applicable version of this License or the recipients' rights hereunder. You may choose to offer, and to charge a fee for, warranty, support, indemnity or liability obligations to one or more recipients of Covered Software. However, you may do so only on Your own behalf, and not on behalf of the Initial Developer or any Contributor. You must make it absolutely clear that any such warranty, support, indemnity or liability obligation is offered by You alone, and You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of warranty, support, indemnity or liability terms You offer.
-      3.5. Distribution of Executable Versions.
-      You may distribute the Executable form of the Covered Software under the terms of this License or under the terms of a license of Your choice, which may contain terms different from this License, provided that You are in compliance with the terms of this License and that the license for the Executable form does not attempt to limit or alter the recipient's rights in the Source Code form from the rights set forth in this License. If You distribute the Covered Software in Executable form under a different license, You must make it absolutely clear that any terms which differ from this License are offered by You alone, not by the Initial Developer or Contributor. You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of any such terms You offer.
-      3.6. Larger Works.
-      You may create a Larger Work by combining Covered Software with other code not governed by the terms of this License and distribute the Larger Work as a single product. In such a case, You must make sure the requirements of this License are fulfilled for the Covered Software.
-      4. Versions of the License.
-
-      4.1. New Versions.
-      Oracle is the initial license steward and may publish revised and/or new versions of this License from time to time. Each version will be given a distinguishing version number. Except as provided in Section 4.3, no one other than the license steward has the right to modify this License.
-      4.2. Effect of New Versions.
-      You may always continue to use, distribute or otherwise make the Covered Software available under the terms of the version of the License under which You originally received the Covered Software. If the Initial Developer includes a notice in the Original Software prohibiting it from being distributed or otherwise made available under any subsequent version of the License, You must distribute and make the Covered Software available under the terms of the version of the License under which You originally received the Covered Software. Otherwise, You may also choose to use, distribute or otherwise make the Covered Software available under the terms of any subsequent version of the License published by the license steward.
-      4.3. Modified Versions.
-      When You are an Initial Developer and You want to create a new license for Your Original Software, You may create and use a modified version of this License if You: (a) rename the license and remove any references to the name of the license steward (except to note that the license differs from this License); and (b) otherwise make it clear that the license contains terms which differ from this License.
-      5. DISCLAIMER OF WARRANTY.
-
-      COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN “AS IS” BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED SOFTWARE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED SOFTWARE IS WITH YOU. SHOULD ANY COVERED SOFTWARE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY COVERED SOFTWARE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
-
-      6. TERMINATION.
-
-      6.1. This License and the rights granted hereunder will terminate automatically if You fail to comply with terms herein and fail to cure such breach within 30 days of becoming aware of the breach. Provisions which, by their nature, must remain in effect beyond the termination of this License shall survive.
-      6.2. If You assert a patent infringement claim (excluding declaratory judgment actions) against Initial Developer or a Contributor (the Initial Developer or Contributor against whom You assert such claim is referred to as “Participant”) alleging that the Participant Software (meaning the Contributor Version where the Participant is a Contributor or the Original Software where the Participant is the Initial Developer) directly or indirectly infringes any patent, then any and all rights granted directly or indirectly to You by such Participant, the Initial Developer (if the Initial Developer is not the Participant) and all Contributors under Sections 2.1 and/or 2.2 of this License shall, upon 60 days notice from Participant terminate prospectively and automatically at the expiration of such 60 day notice period, unless if within such 60 day period You withdraw Your claim with respect to the Participant Software against such Participant either unilaterally or pursuant to a written agreement with Participant.
-      6.3. If You assert a patent infringement claim against Participant alleging that the Participant Software directly or indirectly infringes any patent where such claim is resolved (such as by license or settlement) prior to the initiation of patent infringement litigation, then the reasonable value of the licenses granted by such Participant under Sections 2.1 or 2.2 shall be taken into account in determining the amount or value of any payment or license.
-      6.4. In the event of termination under Sections 6.1 or 6.2 above, all end user licenses that have been validly granted by You or any distributor hereunder prior to termination (excluding licenses granted to You by any distributor) shall survive termination.
-      7. LIMITATION OF LIABILITY.
-
-      UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED SOFTWARE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
-
-      8. U.S. GOVERNMENT END USERS.
-
-      The Covered Software is a “commercial item,” as that term is defined in 48 C.F.R. 2.101 (Oct. 1995), consisting of “commercial computer software” (as that term is defined at 48 C.F.R. § 252.227-7014(a)(1)) and “commercial computer software documentation” as such terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all U.S. Government End Users acquire Covered Software with only those rights set forth herein. This U.S. Government Rights clause is in lieu of, and supersedes, any other FAR, DFAR, or other clause or provision that addresses Government rights in computer software under this License.
-
-      9. MISCELLANEOUS.
-
-      This License represents the complete agreement concerning subject matter hereof. If any provision of this License is held to be unenforceable, such provision shall be reformed only to the extent necessary to make it enforceable. This License shall be governed by the law of the jurisdiction specified in a notice contained within the Original Software (except to the extent applicable law, if any, provides otherwise), excluding such jurisdiction's conflict-of-law provisions. Any litigation relating to this License shall be subject to the jurisdiction of the courts located in the jurisdiction and venue specified in a notice contained within the Original Software, with the losing party responsible for costs, including, without limitation, court costs and reasonable attorneys' fees and expenses. The application of the United Nations Convention on Contracts for the International Sale of Goods is expressly excluded. Any law or regulation which provides that the language of a contract shall be construed against the drafter shall not apply to this License. You agree that You alone are responsible for compliance with the United States export administration regulations (and the export control laws and regulation of any other countries) when You use, distribute or otherwise make available any Covered Software.
-
-      10. RESPONSIBILITY FOR CLAIMS.
-
-      As between Initial Developer and the Contributors, each party is responsible for claims and damages arising, directly or indirectly, out of its utilization of rights under this License and You agree to work with Initial Developer and Contributors to distribute such responsibility on an equitable basis. Nothing herein is intended or shall be deemed to constitute any admission of liability.
-
-      NOTICE PURSUANT TO SECTION 9 OF THE COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL)
-
-      The code released under the CDDL shall be governed by the laws of the State of California (excluding conflict-of-law provisions). Any litigation relating to this License shall be subject to the jurisdiction of the Federal Courts of the Northern District of California and the state courts of the State of California, with venue lying in Santa Clara County, California.
-   --
-
-
-   ===
-
-   Component(s):
-
-   - JUnit (http://junit.org)
-     repo/junit-4.11.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-   Are available under the CPL 1.0:
-
-   --
-
-      Common Public License Version 1.0
-      THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC
-      LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM
-      CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
-
-      1. DEFINITIONS
-
-      "Contribution" means:
-
-      a) in the case of the initial Contributor, the initial code and
-      documentation distributed under this Agreement, and
-
-      b) in the case of each subsequent Contributor:
-
-      i) changes to the Program, and
-
-      ii) additions to the Program;
-
-      where such changes and/or additions to the Program originate from and are
-      distributed by that particular Contributor. A Contribution 'originates' from a
-      Contributor if it was added to the Program by such Contributor itself or anyone
-      acting on such Contributor's behalf. Contributions do not include additions to
-      the Program which: (i) are separate modules of software distributed in
-      conjunction with the Program under their own license agreement, and (ii) are not
-      derivative works of the Program.
-
-      "Contributor" means any person or entity that distributes the Program.
-
-      "Licensed Patents " mean patent claims licensable by a Contributor which are
-      necessarily infringed by the use or sale of its Contribution alone or when
-      combined with the Program.
-
-      "Program" means the Contributions distributed in accordance with this Agreement.
-
-      "Recipient" means anyone who receives the Program under this Agreement,
-      including all Contributors.
-
-      2. GRANT OF RIGHTS
-
-      a) Subject to the terms of this Agreement, each Contributor hereby grants
-      Recipient a non-exclusive, worldwide, royalty-free copyright license to
-      reproduce, prepare derivative works of, publicly display, publicly perform,
-      distribute and sublicense the Contribution of such Contributor, if any, and such
-      derivative works, in source code and object code form.
-
-      b) Subject to the terms of this Agreement, each Contributor hereby grants
-      Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed
-      Patents to make, use, sell, offer to sell, import and otherwise transfer the
-      Contribution of such Contributor, if any, in source code and object code form.
-      This patent license shall apply to the combination of the Contribution and the
-      Program if, at the time the Contribution is added by the Contributor, such
-      addition of the Contribution causes such combination to be covered by the
-      Licensed Patents. The patent license shall not apply to any other combinations
-      which include the Contribution. No hardware per se is licensed hereunder.
-
-      c) Recipient understands that although each Contributor grants the licenses
-      to its Contributions set forth herein, no assurances are provided by any
-      Contributor that the Program does not infringe the patent or other intellectual
-      property rights of any other entity. Each Contributor disclaims any liability to
-      Recipient for claims brought by any other entity based on infringement of
-      intellectual property rights or otherwise. As a condition to exercising the
-      rights and licenses granted hereunder, each Recipient hereby assumes sole
-      responsibility to secure any other intellectual property rights needed, if any.
-      For example, if a third party patent license is required to allow Recipient to
-      distribute the Program, it is Recipient's responsibility to acquire that license
-      before distributing the Program.
-
-      d) Each Contributor represents that to its knowledge it has sufficient
-      copyright rights in its Contribution, if any, to grant the copyright license set
-      forth in this Agreement.
-
-      3. REQUIREMENTS
-
-      A Contributor may choose to distribute the Program in object code form under its
-      own license agreement, provided that:
-
-      a) it complies with the terms and conditions of this Agreement; and
-
-      b) its license agreement:
-
-      i) effectively disclaims on behalf of all Contributors all warranties and
-      conditions, express and implied, including warranties or conditions of title and
-      non-infringement, and implied warranties or conditions of merchantability and
-      fitness for a particular purpose;
-
-      ii) effectively excludes on behalf of all Contributors all liability for
-      damages, including direct, indirect, special, incidental and consequential
-      damages, such as lost profits;
-
-      iii) states that any provisions which differ from this Agreement are offered
-      by that Contributor alone and not by any other party; and
-
-      iv) states that source code for the Program is available from such
-      Contributor, and informs licensees how to obtain it in a reasonable manner on or
-      through a medium customarily used for software exchange.
-
-      When the Program is made available in source code form:
-
-      a) it must be made available under this Agreement; and
-
-      b) a copy of this Agreement must be included with each copy of the Program.
-
-      Contributors may not remove or alter any copyright notices contained within the
-      Program.
-
-      Each Contributor must identify itself as the originator of its Contribution, if
-      any, in a manner that reasonably allows subsequent Recipients to identify the
-      originator of the Contribution.
-
-      4. COMMERCIAL DISTRIBUTION
-
-      Commercial distributors of software may accept certain responsibilities with
-      respect to end users, business partners and the like. While this license is
-      intended to facilitate the commercial use of the Program, the Contributor who
-      includes the Program in a commercial product offering should do so in a manner
-      which does not create potential liability for other Contributors. Therefore, if
-      a Contributor includes the Program in a commercial product offering, such
-      Contributor ("Commercial Contributor") hereby agrees to defend and indemnify
-      every other Contributor ("Indemnified Contributor") against any losses, damages
-      and costs (collectively "Losses") arising from claims, lawsuits and other legal
-      actions brought by a third party against the Indemnified Contributor to the
-      extent caused by the acts or omissions of such Commercial Contributor in
-      connection with its distribution of the Program in a commercial product
-      offering. The obligations in this section do not apply to any claims or Losses
-      relating to any actual or alleged intellectual property infringement. In order
-      to qualify, an Indemnified Contributor must: a) promptly notify the Commercial
-      Contributor in writing of such claim, and b) allow the Commercial Contributor to
-      control, and cooperate with the Commercial Contributor in, the defense and any
-      related settlement negotiations. The Indemnified Contributor may participate in
-      any such claim at its own expense.
-
-      For example, a Contributor might include the Program in a commercial product
-      offering, Product X. That Contributor is then a Commercial Contributor. If that
-      Commercial Contributor then makes performance claims, or offers warranties
-      related to Product X, those performance claims and warranties are such
-      Commercial Contributor's responsibility alone. Under this section, the
-      Commercial Contributor would have to defend claims against the other
-      Contributors related to those performance claims and warranties, and if a court
-      requires any other Contributor to pay any damages as a result, the Commercial
-      Contributor must pay those damages.
-
-      5. NO WARRANTY
-
-      EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN
-      "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR
-      IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE,
-      NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each
-      Recipient is solely responsible for determining the appropriateness of using and
-      distributing the Program and assumes all risks associated with its exercise of
-      rights under this Agreement, including but not limited to the risks and costs of
-      program errors, compliance with applicable laws, damage to or loss of data,
-      programs or equipment, and unavailability or interruption of operations.
-
-      6. DISCLAIMER OF LIABILITY
-
-      EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY
-      CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-      SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST
-      PROFITS), 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 OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS
-      GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
-
-      7. GENERAL
-
-      If any provision of this Agreement is invalid or unenforceable under applicable
-      law, it shall not affect the validity or enforceability of the remainder of the
-      terms of this Agreement, and without further action by the parties hereto, such
-      provision shall be reformed to the minimum extent necessary to make such
-      provision valid and enforceable.
-
-      If Recipient institutes patent litigation against a Contributor with respect to
-      a patent applicable to software (including a cross-claim or counterclaim in a
-      lawsuit), then any patent licenses granted by that Contributor to such Recipient
-      under this Agreement shall terminate as of the date such litigation is filed. In
-      addition, if Recipient institutes patent litigation against any entity
-      (including a cross-claim or counterclaim in a lawsuit) alleging that the Program
-      itself (excluding combinations of the Program with other software or hardware)
-      infringes such Recipient's patent(s), then such Recipient's rights granted under
-      Section 2(b) shall terminate as of the date such litigation is filed.
-
-      All Recipient's rights under this Agreement shall terminate if it fails to
-      comply with any of the material terms or conditions of this Agreement and does
-      not cure such failure in a reasonable period of time after becoming aware of
-      such noncompliance. If all Recipient's rights under this Agreement terminate,
-      Recipient agrees to cease use and distribution of the Program as soon as
-      reasonably practicable. However, Recipient's obligations under this Agreement
-      and any licenses granted by Recipient relating to the Program shall continue and
-      survive.
-
-      Everyone is permitted to copy and distribute copies of this Agreement, but in
-      order to avoid inconsistency the Agreement is copyrighted and may only be
-      modified in the following manner. The Agreement Steward reserves the right to
-      publish new versions (including revisions) of this Agreement from time to time.
-      No one other than the Agreement Steward has the right to modify this Agreement.
-      IBM is the initial Agreement Steward. IBM may assign the responsibility to serve
-      as the Agreement Steward to a suitable separate entity. Each new version of the
-      Agreement will be given a distinguishing version number. The Program (including
-      Contributions) may always be distributed subject to the version of the Agreement
-      under which it was received. In addition, after a new version of the Agreement
-      is published, Contributor may elect to distribute the Program (including its
-      Contributions) under the new version. Except as expressly stated in Sections
-      2(a) and 2(b) above, Recipient receives no rights or licenses to the
-      intellectual property of any Contributor under this Agreement, whether
-      expressly, by implication, estoppel or otherwise. All rights in the Program not
-      expressly granted under this Agreement are reserved.
-
-      This Agreement is governed by the laws of the State of New York and the
-      intellectual property laws of the United States of America. No party to this
-      Agreement will bring a legal action under this Agreement more than one year
-      after the cause of action arose. Each party waives its rights to a jury trial in
-      any resulting litigation.
-      --
-
-      ===
-      Component(s)
-
-      - SLF4J JCL Binding (http://www.slf4j.org) 
-        repo/slf4j-jcl-1.6.3.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-      - SLF4J LOG4J-12 Binding (http://www.slf4j.org)
-        repo/slf4j-log4j12-1.7.5.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-        and
-        lib/slf4j-log4j12-1.7.5.jar
-      - SLF4J API Module (http://www.slf4j.org/slf4j-api)
-        repo/slf4j-api-1.6.1.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-        and
-        lib/slf4j-api-1.6.1.jar
-        and
-        .installer/zookeeper/lib/slf4j-api-1.6.1.jar
-
-      are provided under the MIT license:
-
-      --
-      Copyright (c) 2004-2013 QOS.ch
-       All rights reserved.
-
-       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.
-   --
-
-   ===
-   Component(s):
-   - antlr-runtime (http://www.antlr.org/antlr-runtime)
-     repo/antlr-runtime-3.4.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-   - ANTLR ST4 4.0.4 (http://www.stringtemplate.org)
-     repo/ST4-4.0.4.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-   - ANTLR StringTemplate (http://www.stringtemplate.org)
-     repo/stringtemplate-3.2.1.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-   - AntLR Parser Generator (http://www.antlr.org/)
-     repo/antlr-2.7.7.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-   Are available under a  BSD-style License:
-
-   --
-      Copyright (c) 2012 Terence Parr and Sam Harwell
-      All rights reserved.
-      Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
-      Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
-      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.
-      Neither the name of the author 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 OWNER 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.
-   --
-
-   ===
-   Component(s):
-   - JSch (http://www.jcraft.com/jsch/) 
-     repo/jsch-0.1.42.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-   are available under a BSD-style license:
-
-   --
-      JSch 0.0.* was released under the GNU LGPL license.  Later, we have switched 
-      over to a BSD-style license. 
-
-      ------------------------------------------------------------------------------
-      Copyright (c) 2002-2015 Atsuhiko Yamanaka, JCraft,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. The names of the authors may not be used to endorse or promote products
-           derived from this software without specific prior written permission.
-
-      THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 JCRAFT,
-      INC. OR ANY CONTRIBUTORS TO THIS SOFTWARE 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.
-   --
-
-   ===
-   Component(s):
-   - StAX Utilities (http://stax-utils.dev.java.net/stax-utils)
-     net.java.dev.stax-utils:stax-utils:jar:20060502:compile
-
-   are available under a BSD-style license::
-
-   --
-      Copyright (c) 2004, Christian Niles, unit12.net
-      Copyright (c) 2004, Sun Microsystems, Inc.
-      Copyright (c) 2006, John Kristian 
-      All rights reserved.
-
-      Redistribution and use in source and binary forms, with or without
-      modification, are permitted provided that the following conditions are
-      met:
-
-          * Redistributions of source code must retain the above copyright
-            notice, this list of conditions and the following disclaimer.
-
-          * 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.
-
-          * Neither the name of the listed copyright holders 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
-      OWNER 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.
-   --
-
-   ===
-   Component(s):
-   - ParaNamer Core (http://paranamer.codehaus.org/paranamer) 
-     repo/paranamer-2.3.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-   are available under a BSD-style license:
-
-   --
-      [ ParaNamer used to be 'Pubic Domain', but since it includes a small piece of ASM it is now the same license as that: BSD ]
-
-       Copyright (c) 2006 Paul Hammant & ThoughtWorks 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 the copyright holders 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 OWNER 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
-   --
-
-   ===
-   Component(s):
-   - JDOM
-     repo/jdom-1.0.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-   are available under a Modified ASL license:
-   --
-      /*-- 
-
-       $Id: LICENSE.txt,v 1.11 2004/02/06 09:32:57 jhunter Exp $
-
-       Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin.
-       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 disclaimer that follows 
-          these conditions in the documentation and/or other materials 
-          provided with the distribution.
-
-       3. The name "JDOM" must not be used to endorse or promote products
-          derived from this software without prior written permission.  For
-          written permission, please contact <request_AT_jdom_DOT_org>.
-       
-       4. Products derived from this software may not be called "JDOM", nor
-          may "JDOM" appear in their name, without prior written permission
-          from the JDOM Project Management <request_AT_jdom_DOT_org>.
-       
-       In addition, we request (but do not require) that you include in the 
-       end-user documentation provided with the redistribution and/or in the 
-       software itself an acknowledgement equivalent to the following:
-           "This product includes software developed by the
-            JDOM Project (http://www.jdom.org/)."
-       Alternatively, the acknowledgment may be graphical using the logos 
-       available at http://www.jdom.org/images/logos.
-
-       THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 JDOM AUTHORS OR THE PROJECT
-       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.
-
-       This software consists of voluntary contributions made by many 
-       individuals on behalf of the JDOM Project and was originally 
-       created by Jason Hunter <jhunter_AT_jdom_DOT_org> and
-       Brett McLaughlin <brett_AT_jdom_DOT_org>.  For more information
-       on the JDOM Project, please see <http://www.jdom.org/>. 
-
-    */
-   --
-
-   ===
-   Component(s):
-   - Hamcrest Core (https://github.com/hamcrest/JavaHamcrest/hamcrest-core) 
-     repo/hamcrest-core-1.3.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-   are available under a BSD-style license
-   --
-      BSD License
-
-      Copyright (c) 2000-2006, www.hamcrest.org
-      All rights reserved.
-
-      Redistribution and use in source and binary forms, with or without
-      modification, are permitted provided that the following conditions are met:
-
-      Redistributions of source code must retain the above copyright notice, this list of
-      conditions and the following disclaimer. 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.
-
-      Neither the name of Hamcrest 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 OWNER 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.
-   --
-
-   ===
-   Component(s):
-   - Protocol Buffer Java API (http://code.google.com/p/protobuf) 
-     repo/prtobuf-java-2.5.0.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-   are available under a BSD-style license:
-
-   --
-      This license applies to all parts of Protocol Buffers except the following:
-
-        - Atomicops support for generic gcc, located in
-          src/google/protobuf/stubs/atomicops_internals_generic_gcc.h.
-          This file is copyrighted by Red Hat Inc.
-
-        - Atomicops support for AIX/POWER, located in
-          src/google/protobuf/stubs/atomicops_internals_power.h.
-          This file is copyrighted by Bloomberg Finance LP.
-
-      Copyright 2014, Google 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:
-
-          * Redistributions of source code must retain the above copyright
-      notice, this list of conditions and the following disclaimer.
-          * 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.
-          * Neither the name of Google Inc. 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
-      OWNER 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.
-
-      Code generated by the Protocol Buffer compiler is owned by the owner
-      of the input file used when generating it.  This code is not
-      standalone and requires a support library to be linked with it.  This
-      support library is itself covered by the above license.
-   --
-
-   ===
-   Component(s):
-   - JSON (JavaScript Object Notation) (http://www.json.org/java/index.html) 
-     repo/json-20090211.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-   are available under the JSON license:
-
-   --
-      Copyright (c) 2002 JSON.org
-
-      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 shall be used for Good, not Evil.
-
-      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.
-   --
-
-   ===
-   Component(s):
-   - XZ for Java (http://tukaani.org/xz/java.html) 
-     repo/xz-1.0.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-   - XML Pull Parsing API (http://aopalliance.sourceforge.net/aopalliance) 
-     repo/aopalliance-1.0.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-   are in the public domain.
-
-   ===
-
-   Component(s):
-   - JLine (http://jline.sourceforge.net) 
-     repo/jline-0.9.94.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-   are available under a BSD-style license:
-   --
-
-      Copyright (c) 2002-2006, Marc Prud'hommeaux <mwp1@cornell.edu>
-      All rights reserved.
-
-      Redistribution and use in source and binary forms, with or
-      without modification, are permitted provided that the following
-      conditions are met:
-
-      Redistributions of source code must retain the above copyright
-      notice, this list of conditions and the following disclaimer.
-
-      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.
-
-      Neither the name of JLine 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 OWNER 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.
-   --
-
-   ===
-   Component(s):
-
-   - xmlenc Library (http://xmlenc.sourceforge.net) 
-     repo/xmlenc-0.52.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-   are available under a BSD-style license:
-
-   --
-      Copyright 2003-2005, Ernst de Haan <wfe.dehaan@gmail.com>
-      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 the copyright holder 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 HOLDER 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 OWNER 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.
-   --
-
-   ===
-   Component(s):
-   - Appassembler :: Generic Bootstrapper (http://mojo.codehaus.org/appassembler/appassembler-booter) 
-     repo/appassembler-booter-1.3.1.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-   - Appassembler :: Model (http://mojo.codehaus.org/appassembler/appassembler-model) 
-     repo/appassembler-model-1.3.1.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-   are available under the MIT license:
-
-   --
-      The MIT License
-
-      Copyright 2006-2012 The Codehaus.
-
-      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.
-   --
-
-   ===
-   Component(s):
-
-   - args4j (http://args4j.dev.java.net/args4j/) 
-     repo/args4j-2.0.12.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-     and
-     lib/args4j-2.0.12.jar
-
-   are available under the MIT License:
-
-   --
-      Copyright (c) 2003, Kohsuke Kawaguchi
-
-      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.
-   --
-
-   ===
-   Component(s)
-   - ASM Core (http://asm.objectweb.org/asm/) 
-     repo/asm-3.1.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-   are available under a BSD-style license:
-
-   --
-      Copyright (c) 2000-2011 INRIA, France Telecom
-      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 the copyright holders 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 OWNER 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.
-   --
-
-
-   ===
-   Component(s)
-   - Plexus Utils (http://asm.objectweb.org/asm/) 
-     repo/plexus-utils-3.0.7.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-    contain components under a BSD-style license:
-
-   --
-    /********************************************************************************
-     * CruiseControl, a Continuous Integration Toolkit
-     * Copyright (c) 2001-2003, ThoughtWorks, Inc.
-     * 651 W Washington Ave. Suite 500
-     * Chicago, IL 60661 USA
-     * All rights reserved.
-     *
-     * Redistribution and use in source and binary forms, with or without
-     * modification, are permitted provided that the following conditions
-     * are met:
-     *
-     *     + Redistributions of source code must retain the above copyright
-     *       notice, this list of conditions and the following disclaimer.
-     *
-     *     + 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.
-     *
-     *     + Neither the name of ThoughtWorks, Inc., CruiseControl, 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 REGENTS 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.
-     ********************************************************************************/
-   --
-
-   ===
-   Component(s)
-   - Plexus Utils (http://asm.objectweb.org/asm/) 
-     repo/plexus-utils-3.0.7.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-    contain components under a BSD-style license:
-
-   --
-    Javolution - Java(TM) Solution for Real-Time and Embedded Systems
-    Copyright (c) 2006, Javolution (http://javolution.org)
-    All rights reserved.
-
-    Redistribution and use in source and binary forms, with or without modification,
-    are permitted provided that the following conditions are met:
-
-        * Redistributions of source code must retain the above copyright notice,
-          this list of conditions and the following disclaimer.
-        * 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.
-
-    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 OWNER 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.
-   --
-
-   ===
-   Component(s)
-   - Plexus Utils (http://asm.objectweb.org/asm/) 
-     repo/plexus-utils-3.0.7.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-    contain components under the Indiana University Extreme! Lab Software License:
-
-   --
-    Indiana University Extreme! Lab Software License
-
-    Version 1.1.1
-
-    Copyright (c) 2002 Extreme! Lab, Indiana University. 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. The end-user documentation included with the redistribution, if any, 
-       must include the following acknowledgment:
-
-      "This product includes software developed by the Indiana University 
-      Extreme! Lab (http://www.extreme.indiana.edu/)."
-
-    Alternately, this acknowledgment may appear in the software itself, 
-    if and wherever such third-party acknowledgments normally appear.
-
-    4. The names "Indiana Univeristy" and "Indiana Univeristy Extreme! Lab" 
-    must not be used to endorse or promote products derived from this 
-    software without prior written permission. For written permission, 
-    please contact http://www.extreme.indiana.edu/.
-
-    5. Products derived from this software may not use "Indiana Univeristy" 
-    name nor may "Indiana Univeristy" appear in their name, without prior 
-    written permission of the Indiana University.
-
-    THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED 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 AUTHORS, COPYRIGHT HOLDERS OR ITS 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.
-   --
-===
-
-
-For portions of the AsterixDB WebUI in:
-repo/asterix-app-0.8.8.jar, within
-asterix/asterix-server-0.8.8-binary-assembly.zip, within this assembly
-located at:
-
- webui/static/js/jquery.min.js
-and
- webui/static/js/jquery.autosize-min.js
-
-are available under a MIT-style 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.
-
-as well as portions of the WebUI at:
-webui/static/js/bootstrap.min.js
-
-   The MIT License (MIT)
-
-   Copyright (c) 2011-2015 Twitter, Inc
-
-   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.
-
-
-and portions of the WebUI at:
-webui/static/js/smoothie.js
-
-   MIT License
-   -----------
-
-   Copyright (c) 2010-2013, Joe Walnes
-                 2013-2014, Drew Noakes
-
-                 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.
diff --git a/asterixdb/asterix-installer/src/main/licenses/NOTICE b/asterixdb/asterix-installer/src/main/licenses/NOTICE
deleted file mode 100644
index a047a44..0000000
--- a/asterixdb/asterix-installer/src/main/licenses/NOTICE
+++ /dev/null
@@ -1,722 +0,0 @@
-Apache AsterixDB Managix Installer
-Copyright 2016 The Apache Software Foundation
-
-This product includes software developed at
-The Apache Software Foundation (http://www.apache.org/).
-
-AsterixDB utilizes many libraries, which come with the following applicable NOTICE(s):
-
- - repo/avro-1.7.4.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-    Apache Avro
-    Copyright 2009-2013 The Apache Software Foundation
-
- - repo/commons-logging-1.1.1.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-    Commons Logging
-    Copyright 2001-2007 The Apache Software Foundation
-
- - repo/derby-10.10.1.1.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-    Apache Derby
-    Copyright 2004-2013 The Apache Software Foundation
-
-    =========================================================================
-
-    Portions of Derby were originally developed by
-    International Business Machines Corporation and are
-    licensed to the Apache Software Foundation under the
-    "Software Grant and Corporate Contribution License Agreement",
-    informally known as the "Derby CLA".
-    The following copyright notice(s) were affixed to portions of the code
-    with which this file is now or was at one time distributed
-    and are placed here unaltered.
-
-    (C) Copyright 1997,2004 International Business Machines Corporation.  All rights reserved.
-
-    (C) Copyright IBM Corp. 2003. 
-
-
-    =========================================================================
-
-
-    The JDBC apis for small devices and JDBC3 (under java/stubs/jsr169 and
-    java/stubs/jdbc3) were produced by trimming sources supplied by the
-    Apache Harmony project. In addition, the Harmony SerialBlob and
-    SerialClob implementations are used. The following notice covers the Harmony sources:
-
-    Portions of Harmony were originally developed by
-    Intel Corporation and are licensed to the Apache Software
-    Foundation under the "Software Grant and Corporate Contribution
-    License Agreement", informally known as the "Intel Harmony CLA".
-
-
- - repo/guice-3.0.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-    Google Guice - Core Library
-    Copyright 2006-2011 Google, Inc.
-
- - repo/guice-servlet-3.0.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-    Google Guice - Extensions - Servlet
-    Copyright 2006-2011 Google, Inc.
-
- - repo/hive-ant-0.13.0.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-    Hive Ant Utilities
-    Copyright 2014 The Apache Software Foundation
-
- - repo/hive-common-0.13.0.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-    Hive Common
-    Copyright 2014 The Apache Software Foundation
-
- - repo/hive-exec-0.13.0.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-    Hive Query Language
-    Copyright 2014 The Apache Software Foundation
-
- - repo/hive-metastore-0.13.0.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-    Hive Metastore
-    Copyright 2014 The Apache Software Foundation
-
- - repo/hive-serde-0.13.0.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-    Hive Serde
-    Copyright 2014 The Apache Software Foundation
-
- - repo/hive-shims-0.13.0.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-    Hive Shims
-    Copyright 2014 The Apache Software Foundation
-
- - repo/hive-shims-0.20-0.13.0.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-    Hive Shims 0.20
-    Copyright 2014 The Apache Software Foundation
-
- - repo/hive-shims-0.20S-0.13.0.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-    Hive Shims 0.20S
-    Copyright 2014 The Apache Software Foundation
-
- - repo/hive-shims-0.23-0.13.0.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-    Hive Shims 0.23
-    Copyright 2014 The Apache Software Foundation
-
- - repo/hive-shims-common-0.13.0.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-    Hive Shims Common
-    Copyright 2014 The Apache Software Foundation
-
- - repo/hive-shims-common-secure-0.13.0.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-    Hive Shims Secure Common
-    Copyright 2014 The Apache Software Foundation
-
- - repo/plexus-utils-3.0.7.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-    This product includes software developed by the Indiana University 
-      Extreme! Lab (http://www.extreme.indiana.edu/)
-
-    This product includes software developed by
-    ThoughtWorks (http://www.thoughtworks.com).
-
-    This product includes software developed by
-    javolution (http://javolution.org/).
-
-    This product includes software developed by
-    Rome (https://rome.dev.java.net/).
-
-- repo/velocity-1.5.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-    Apache Velocity
-
-    Copyright (C) 2000-2007 The Apache Software Foundation
-
- - repo/wicket-core-1.5.2.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-   Apache Wicket
-   Copyright 2006-2011 Apache Software Foundation
-
-   This product includes software from QOS.ch (http://slf4j.org) licensed under the X11 license
-   Copyright (c) 2004-2008 QOS.ch
-
-   Contains Diff library from Mavens JRCS, released under
-   The Apache Software License, Version 1.1.
-   (c) 1999-2003
-
-   org.apache.wicket.markup.html.form.upload.MultiFileUploadField.js is taken from [1]
-   and has the following notice:
-      "Licence:
-       Use this however/wherever you like, just don't blame me if it breaks
-       anything.
-
-       Credit:
-       If you're nice, you'll leave this bit:
-
-       Class by Stickman -- http://www.the-stickman.com
-       with thanks to:
-       [for Safari fixes]
-          Luis Torrefranca -- http://www.law.pitt.edu
-          and
-          Shawn Parker & John Pennypacker -- http://www.fuzzycoconut.com
-       [for duplicate name bug]
-          'neal'"
-   [1]: http://the-stickman.com/web-development/javascript/upload-multiple-files-with-a-single-file-element/
- - repo/wicket-request-1.5.2.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-    Wicket Request
-    Copyright 2006-2011 Apache Software Foundation
-
- - repo/wicket-util-1.5.2.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-    Wicket Util
-    Copyright 2006-2011 Apache Software Foundation
-
- - repo/xercesImpl-2.9.1.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-   Apache Xerces Java
-   Copyright 1999-2007 The Apache Software Foundation
-
-   Portions of this software were originally based on the following:
-     - software copyright (c) 1999, IBM Corporation., http://www.ibm.com.
-     - software copyright (c) 1999, Sun Microsystems., http://www.sun.com.
-     - voluntary contributions made by Paul Eng on behalf of the 
-       Apache Software Foundation that were originally developed at iClick, Inc.,
-       software copyright (c) 1999.
-
- - repo/xml-apis-1.3.04.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-   Apache XML Commons XML APIs
-   Copyright 2006 The Apache Software Foundation.
-
-
-   Portions of this software were originally based on the following:
-     - software copyright (c) 1999, IBM Corporation., http://www.ibm.com.
-     - software copyright (c) 1999, Sun Microsystems., http://www.sun.com.
-     - software copyright (c) 2000 World Wide Web Consortium, http://www.w3.org
-
- - repo/httpclient-4.2.2.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-    Apache HttpComponents HttpClient
-    Copyright 1999-2012 The Apache Software Foundation
-
-    This product includes software developed by
-    The Apache Software Foundation (http://www.apache.org/).
-
- - repo/httpcore-4.2.2.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-    Apache HttpComponents HttpCore
-    Copyright 2005-2012 The Apache Software Foundation
-
-    This product includes software developed by
-    The Apache Software Foundation (http://www.apache.org/).
-
-    This project contains annotations derived from JCIP-ANNOTATIONS
-    Copyright (c) 2005 Brian Goetz and Tim Peierls. See http://www.jcip.net
-
-- repo/ant-1.9.1.jar in asterix/asterix-server-0.8.8-incubating-binary-assembly.zip
-
-   Apache Ant
-   Copyright 1999-2013 The Apache Software Foundation
-
-   The <sync> task is based on code Copyright (c) 2002, Landmark
-   Graphics Corp that has been kindly donated to the Apache Software
-   Foundation.
- - repo/ant-launcher-1.9.1.jar in asterix/asterix-server-0.8.8-incubating-binary-assembly.zip
-
-   Apache Ant
-   Copyright 1999-2013 The Apache Software Foundation
-
-   The <sync> task is based on code Copyright (c) 2002, Landmark
-   Graphics Corp that has been kindly donated to the Apache Software
-   Foundation.
- - repo/commons-beanutils-1.7.0.jar in asterix/asterix-server-0.8.8-incubating-binary-assembly.zip
-
-    This product includes software developed by
-    The Apache Software Foundation (http://www.apache.org/).
-
- - repo/commons-beanutils-core-1.8.0.jar in asterix/asterix-server-0.8.8-incubating-binary-assembly.zip
-    Apache Commons BeanUtils
-
-    Copyright 2000-2008 The Apache Software Foundation
-
-
-    This product includes software developed by
-
-    The Apache Software Foundation (http://www.apache.org/).
-
- - repo/commons-cli-1.2.jar in asterix/asterix-server-0.8.8-incubating-binary-assembly.zip
-   and .installer/hadoop-0.20.2/lib/commons-cli-1.2.jar
-
-    Apache Commons CLI
-    Copyright 2001-2009 The Apache Software Foundation
-
-    This product includes software developed by
-    The Apache Software Foundation (http://www.apache.org/).
-
- - repo/commons-codec-1.4.jar in asterix/asterix-server-0.8.8-incubating-binary-assembly.zip
-
-    Apache Commons Codec
-
-    Copyright 2002-2009 The Apache Software Foundation
-
-
-
-    This product includes software developed by
-
-    The Apache Software Foundation (http://www.apache.org/).
-
-
- - repo/commons-collections-3.2.1.jar in asterix/asterix-server-0.8.8-incubating-binary-assembly.zip
-
-    Apache Commons Collections
-
-    Copyright 2001-2008 The Apache Software Foundation
-
-
-
-    This product includes software developed by
-
-    The Apache Software Foundation (http://www.apache.org/).
-
- - repo/commons-compress-1.4.1.jar in asterix/asterix-server-0.8.8-incubating-binary-assembly.zip
-
-    Apache Commons Compress
-    Copyright 2002-2012 The Apache Software Foundation
-
-    This product includes software developed by
-    The Apache Software Foundation (http://www.apache.org/).
-     - repo/commons-configuration-1.6.jar in asterix/asterix-server-0.8.8-incubating-binary-assembly.zip
-    Apache Commons Configuration
-
-    Copyright 2001-2008 The Apache Software Foundation
-
-
-
-    This product includes software developed by
-
-    The Apache Software Foundation (http://www.apache.org/).
-
- - repo/commons-daemon-1.0.13.jar in asterix/asterix-server-0.8.8-incubating-binary-assembly.zip
-
-    Apache Commons Daemon
-    Copyright 1999-2013 The Apache Software Foundation
-
-    This product includes software developed by
-    The Apache Software Foundation (http://www.apache.org/).
-     - repo/commons-digester-1.8.jar in asterix/asterix-server-0.8.8-incubating-binary-assembly.zip
-    Apache Jakarta Commons Digester
-
-    Copyright 2001-2006 The Apache Software Foundation
-
-
-
-    This product includes software developed by
-
-    The Apache Software Foundation (http://www.apache.org/).
-
- - repo/commons-io-2.4.jar in asterix/asterix-server-0.8.8-incubating-binary-assembly.zip
-   and lib/commons-io-2.4.jar
-
-    Apache Commons IO
-
-    Copyright 2002-2012 The Apache Software Foundation
-
-
-
-    This product includes software developed by
-
-    The Apache Software Foundation (http://www.apache.org/).
-
-
-
- - repo/commons-lang-2.5.jar in asterix/asterix-server-0.8.8-incubating-binary-assembly.zip
-
-    Apache Commons Lang
-
-    Copyright 2001-2010 The Apache Software Foundation
-
-
-
-    This product includes software developed by
-
-    The Apache Software Foundation (http://www.apache.org/).
-
- - repo/commons-lang3-3.1.jar in asterix/asterix-server-0.8.8-incubating-binary-assembly.zip
-
-    Apache Commons Lang
-    Copyright 2001-2011 The Apache Software Foundation
-
-    This product includes software developed by
-    The Apache Software Foundation (http://www.apache.org/).
-
-    This product includes software from the Spring Framework,
-    under the Apache License 2.0 (see: StringUtils.containsWhitespace())
-
- - repo/commons-logging-api-1.0.4.jar in asterix/asterix-server-0.8.8-incubating-binary-assembly.zip
-
-    This product includes software developed by
-    The Apache Software Foundation (http://www.apache.org/).
-
- - .installer/hadoop-0.20.2/lib/commons-logging--1.0.4.jar
-
-    This product includes software developed by
-    The Apache Software Foundation (http://www.apache.org/).
-
- - repo/commons-math-2.1.jar in asterix/asterix-server-0.8.8-incubating-binary-assembly.zip
-
-    Apache Commons Math
-    Copyright 2001-2010 The Apache Software Foundation
-
-    This product includes software developed by
-    The Apache Software Foundation (http://www.apache.org/).
-
-    ===============================================================================
-    The LinearConstraint, LinearObjectiveFunction, LinearOptimizer,
-    RelationShip, SimplexSolver and SimplexTableau classes in package
-    org.apache.commons.math.optimization.linear include software developed by
-    Benjamin McCann (http://www.benmccann.com) and distributed with
-    the following copyright: Copyright 2009 Google Inc.
-    ===============================================================================
-
-    This product includes software developed by the
-    University of Chicago, as Operator of Argonne National
-    Laboratory.
-    The LevenbergMarquardtOptimizer class in package
-    org.apache.commons.math.optimization.general includes software
-    translated from the lmder, lmpar and qrsolv Fortran routines
-    from the Minpack package
-    Minpack Copyright Notice (1999) University of Chicago.  All rights reserved
-    ===============================================================================
-
-    The GraggBulirschStoerIntegrator class in package
-    org.apache.commons.math.ode.nonstiff includes software translated
-    from the odex Fortran routine developed by E. Hairer and G. Wanner.
-    Original source copyright:
-    Copyright (c) 2004, Ernst Hairer
-    ===============================================================================
-
-    The EigenDecompositionImpl class in package
-    org.apache.commons.math.linear includes software translated
-    from some LAPACK Fortran routines.  Original source copyright:
-    Copyright (c) 1992-2008 The University of Tennessee.  All rights reserved.
-    ===============================================================================
-
-    The MersenneTwister class in package org.apache.commons.math.random
-    includes software translated from the 2002-01-26 version of
-    the Mersenne-Twister generator written in C by Makoto Matsumoto and Takuji
-    Nishimura. Original source copyright:
-    Copyright (C) 1997 - 2002, Makoto Matsumoto and Takuji Nishimura,
-    All rights reserved
-    ===============================================================================
-
-    The complete text of licenses and disclaimers associated with the the original
-    sources enumerated above at the time of code translation are in the LICENSE.txt
-    file.
-
- - repo/commons-net-3.1.jar in asterix/asterix-server-0.8.8-incubating-binary-assembly.zip
-
-    Apache Commons Net
-
-    Copyright 2001-2012 The Apache Software Foundation
-
-
-
-    This product includes software developed by
-
-    The Apache Software Foundation (http://www.apache.org/).
-
-
-
- - repo/datanucleus-api-jdo-3.2.6.jar in asterix/asterix-server-0.8.8-incubating-binary-assembly.zip
-
-    =========================================================================
-    ==  NOTICE file corresponding to section 4(d) of the Apache License,   ==
-    ==  Version 2.0, in this case for the DataNucleus distribution.        ==
-    =========================================================================
-
-    ===================================================================
-    This product includes software developed by many individuals,
-    including the following:
-    ===================================================================
-    Erik Bengtson
-    Andy Jefferson
-
-
-    ===================================================================
-    This product has included contributions from some individuals,
-    including the following:
-    ===================================================================
-
- - repo/datanucleus-core-3.2.10.jar in asterix/asterix-server-0.8.8-incubating-binary-assembly.zip
-
-    =========================================================================
-    ==  NOTICE file corresponding to section 4(d) of the Apache License,   ==
-    ==  Version 2.0, in this case for the DataNucleus distribution.        ==
-    =========================================================================
-
-    ===================================================================
-    This product includes software developed by many individuals,
-    including the following:
-    ===================================================================
-    Erik Bengtson
-    Andy Jefferson
-
-
-    ===================================================================
-    This product has included contributions from some individuals,
-    including the following:
-    ===================================================================
-    Joerg von Frantzius
-    Thomas Marti
-    Barry Haddow
-    Marco Schulze
-    Ralph Ullrich
-    David Ezzio
-    Brendan de Beer
-    David Eaves
-    Martin Taal
-    Tony Lai
-    Roland Szabo
-    Marcus Mennemeier
-    Xuan Baldauf
-    Eric Sultan
-
-
-    ===================================================================
-    This product also includes software developed by the TJDO project
-    (http://tjdo.sourceforge.net/).
-    ===================================================================
-
- - repo/datanucleus-rdbms-3.2.9.jar in asterix/asterix-server-0.8.8-incubating-binary-assembly.zip
-    =========================================================================
-    ==  NOTICE file corresponding to section 4(d) of the Apache License,   ==
-    ==  Version 2.0, in this case for the DataNucleus distribution.        ==
-    =========================================================================
-
-    ===================================================================
-    This product includes software developed by many individuals,
-    including the following:
-    ===================================================================
-    Andy Jefferson
-    Erik Bengtson
-    Joerg von Frantzius
-    Marco Schulze
-
-
-    ===================================================================
-    This product has included contributions from some individuals,
-    including the following:
-    ===================================================================
-    Barry Haddow
-    Ralph Ullrich
-    David Ezzio
-    Brendan de Beer
-    David Eaves
-    Martin Taal
-    Tony Lai
-    Roland Szabo
-    Anton Troshin (Timesten)
-
-
-    ===================================================================
-    This product also includes software developed by the TJDO project
-    (http://tjdo.sourceforge.net/).
-    ===================================================================
-
-    ===================================================================
-    This product also includes software developed by the Apache Commons project
-    (http://commons.apache.org/).
-    ===================================================================
-
- - repo/groovy-all-2.1.6.jar in asterix/asterix-server-0.8.8-incubating-binary-assembly.zip
-
-    Apache Commons CLI
-    Copyright 2001-2009 The Apache Software Foundation
-
-    This product includes software developed by
-    The Apache Software Foundation (http://www.apache.org/).
-
- - repo/hive-exec-0.13.0.jar in asterix/asterix-server-0.8.8-incubating-binary-assembly.zip
-
-    Apache Thrift
-    Copyright 2006-2010 The Apache Software Foundation.
-
-    This product includes software developed at
-    The Apache Software Foundation (http://www.apache.org/). 
-
- - repo/httpclient-4.2.2.jar in asterix/asterix-server-0.8.8-incubating-binary-assembly.zip
-
-    Apache HttpComponents HttpClient
-
-    Copyright 1999-2012 The Apache Software Foundation
-
-
-
-    This product includes software developed by
-
-    The Apache Software Foundation (http://www.apache.org/).
-
-
- - repo/httpcore-4.2.2.jar in asterix/asterix-server-0.8.8-incubating-binary-assembly.zip
-
-    Apache HttpComponents HttpCore
-
-    Copyright 2005-2012 The Apache Software Foundation
-
-
-
-    This product includes software developed by
-
-    The Apache Software Foundation (http://www.apache.org/).
-
-
-
-    This project contains annotations derived from JCIP-ANNOTATIONS
-
-    Copyright (c) 2005 Brian Goetz and Tim Peierls. See http://www.jcip.net
-
- - repo/jdo2-api-2.3-20090302111651.jar in asterix/asterix-server-0.8.8-incubating-binary-assembly.zip
-
-    Apache Java Data Objects (JDO)
-    Copyright 2005-2006 The Apache Software Foundation
-
-    This product includes software developed at
-    The Apache Software Foundation (http://www.apache.org/).
-
- - repo/jdo-api-3.0.1.jar in asterix/asterix-server-0.8.8-incubating-binary-assembly.zip
-
-    Apache Java Data Objects (JDO)
-
-    Copyright 2005-2006 The Apache Software Foundation
-
-
-
-    This product includes software developed at
-
-    The Apache Software Foundation (http://www.apache.org/).
-
- - repo/libthrift-0.9.0.jar in asterix/asterix-server-0.8.8-incubating-binary-assembly.zip
-
-    Apache Thrift
-    Copyright 2006-2010 The Apache Software Foundation.
-
-    This product includes software developed at
-    The Apache Software Foundation (http://www.apache.org/).
-
- - repo/netty-3.2.2.Final.jar in asterix/asterix-server-0.8.8-incubating-binary-assembly.zip
-
-                                The Netty Project
-                                =================
-
-    Please visit the Netty web site for more information:
-
-      * http://www.jboss.org/netty/
-
-    Copyright 2009 Red Hat, Inc.
-
-    Red Hat licenses this product to you under the Apache License, version 2.0 (the
-    "License"); you may not use this product 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.
-
-    Also, please refer to each LICENSE.<component>.txt file, which is located in
-    the 'license' directory of the distribution file, for the license terms of the
-    components that this product depends on.
-
-    -------------------------------------------------------------------------------
-    This product contains the extensions to Java Collections Framework which has
-    been derived from the works by JSR-166 EG, Doug Lea, and Jason T. Greene:
-
-      * LICENSE:
-        * license/LICENSE.jsr177y.txt (Public Domain)
-      * HOMEPAGE:
-        * http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/
-        * http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbosscache/experimental/jsr166/
-
-    This product contains a modified version of Robert Harder's Public Domain
-    Base64 Encoder and Decoder, which can be obtained at:
-
-      * LICENSE:
-        * license/LICENSE.base64.txt (Public Domain)
-      * HOMEPAGE:
-        * http://iharder.sourceforge.net/current/java/base64/
-
-    This product contains a modified version of 'JZlib', a re-implementation of
-    zlib in pure Java, which can be obtained at:
-
-      * LICENSE:
-        * license/LICENSE.jzlib.txt (BSD Style License)
-      * HOMEPAGE:
-        * http://www.jcraft.com/jzlib/
-
- - repo/netty-3.6.2.Final.jar in asterix/asterix-server-0.8.8-incubating-binary-assembly.zip
-
-                                The Netty Project
-                                =================
-
-    Please visit the Netty web site for more information:
-
-      * http://netty.io/
-
-    Copyright 2011 The Netty Project
-
-    The Netty Project 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.
-
-    Also, please refer to each LICENSE.<component>.txt file, which is located in
-    the 'license' directory of the distribution file, for the license terms of the
-    components that this product depends on.
-
-    -------------------------------------------------------------------------------
-    This product contains the extensions to Java Collections Framework which has
-    been derived from the works by JSR-166 EG, Doug Lea, and Jason T. Greene:
-
-      * LICENSE:
-        * license/LICENSE.jsr166y.txt (Public Domain)
-      * HOMEPAGE:
-        * http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/
-        * http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbosscache/experimental/jsr166/
-
-    This product contains a modified version of Robert Harder's Public Domain
-    Base64 Encoder and Decoder, which can be obtained at:
-
-      * LICENSE:
-        * license/LICENSE.base64.txt (Public Domain)
-      * HOMEPAGE:
-        * http://iharder.sourceforge.net/current/java/base64/
-
-    This product contains a modified version of 'JZlib', a re-implementation of
-    zlib in pure Java, which can be obtained at:
-
-      * LICENSE:
-        * license/LICENSE.jzlib.txt (BSD Style License)
-      * HOMEPAGE:
-        * http://www.jcraft.com/jzlib/
-
-- lib/log4j-1.2.15.jar
-
-    Apache log4j
-    Copyright 2007 The Apache Software Foundation
-
-    This product includes software developed at
-    The Apache Software Foundation (http://www.apache.org/).
-
diff --git a/asterixdb/asterix-maven-plugins/license-automation-plugin/pom.xml b/asterixdb/asterix-maven-plugins/license-automation-plugin/pom.xml
new file mode 100644
index 0000000..df701d9
--- /dev/null
+++ b/asterixdb/asterix-maven-plugins/license-automation-plugin/pom.xml
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ! 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.
+ !-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+  <parent>
+    <groupId>org.apache.asterix</groupId>
+    <artifactId>asterix-maven-plugins</artifactId>
+    <version>0.8.9-SNAPSHOT</version>
+  </parent>
+  <modelVersion>4.0.0</modelVersion>
+  <packaging>maven-plugin</packaging>
+
+  <artifactId>license-automation-plugin</artifactId>
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.maven.plugin-tools</groupId>
+      <artifactId>maven-plugin-annotations</artifactId>
+      <version>3.5</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.maven</groupId>
+      <artifactId>maven-core</artifactId>
+      <version>3.3.9</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.maven.plugins</groupId>
+      <artifactId>maven-remote-resources-plugin</artifactId>
+      <version>1.5</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.maven</groupId>
+      <artifactId>maven-compat</artifactId>
+      <version>3.3.9</version>
+    </dependency>
+    <dependency>
+      <groupId>com.fasterxml.jackson.core</groupId>
+      <artifactId>jackson-databind</artifactId>
+      <version>2.8.4</version>
+    </dependency>
+    <dependency>
+      <groupId>org.freemarker</groupId>
+      <artifactId>freemarker</artifactId>
+      <version>2.3.23</version>
+    </dependency>
+    <dependency>
+      <groupId>commons-io</groupId>
+      <artifactId>commons-io</artifactId>
+      <version>2.5</version>
+    </dependency>
+  </dependencies>
+
+</project>
\ No newline at end of file
diff --git a/asterixdb/asterix-maven-plugins/license-automation-plugin/src/main/java/org/apache/asterix/license/DependencySet.java b/asterixdb/asterix-maven-plugins/license-automation-plugin/src/main/java/org/apache/asterix/license/DependencySet.java
new file mode 100644
index 0000000..64e5f7d
--- /dev/null
+++ b/asterixdb/asterix-maven-plugins/license-automation-plugin/src/main/java/org/apache/asterix/license/DependencySet.java
@@ -0,0 +1,45 @@
+/*
+ * 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.
+ */
+package org.apache.asterix.license;
+
+import java.util.List;
+import java.util.regex.Pattern;
+import java.util.stream.Collectors;
+
+public class DependencySet {
+
+    @SuppressWarnings("unused") // set by Maven configuration
+    private String location;
+
+    @SuppressWarnings({"unused", "MismatchedQueryAndUpdateOfCollection"}) // set by Maven configuration
+    private List<String> includes;
+
+    private List<Pattern> patterns;
+
+    public String getLocation() {
+        return location;
+    }
+
+    public List<Pattern> getPatterns() {
+        if (patterns == null) {
+            patterns = includes.stream().map(LicenseMojo::compileGAWildcardPattern).collect(Collectors.toList());
+        }
+        return patterns;
+    }
+}
diff --git a/asterixdb/asterix-maven-plugins/license-automation-plugin/src/main/java/org/apache/asterix/license/DownloadLicensesMojo.java b/asterixdb/asterix-maven-plugins/license-automation-plugin/src/main/java/org/apache/asterix/license/DownloadLicensesMojo.java
new file mode 100644
index 0000000..cb9f172
--- /dev/null
+++ b/asterixdb/asterix-maven-plugins/license-automation-plugin/src/main/java/org/apache/asterix/license/DownloadLicensesMojo.java
@@ -0,0 +1,89 @@
+/*
+ * 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.
+ */
+package org.apache.asterix.license;
+
+import java.io.File;
+import java.io.FileWriter;
+import java.io.IOException;
+import java.io.InputStream;
+import java.net.HttpURLConnection;
+import java.net.URL;
+import java.util.concurrent.TimeUnit;
+import java.util.concurrent.atomic.AtomicInteger;
+
+import org.apache.commons.io.IOUtils;
+import org.apache.maven.plugin.MojoExecutionException;
+import org.apache.maven.plugin.MojoFailureException;
+import org.apache.maven.plugins.annotations.LifecyclePhase;
+import org.apache.maven.plugins.annotations.Mojo;
+import org.apache.maven.plugins.annotations.Parameter;
+import org.apache.maven.plugins.annotations.ResolutionScope;
+import org.apache.maven.project.ProjectBuildingException;
+
+@Mojo(name = "licensedownload",
+        requiresProject = true,
+        requiresDependencyResolution = ResolutionScope.TEST,
+        defaultPhase = LifecyclePhase.GENERATE_RESOURCES)
+public class DownloadLicensesMojo extends LicenseMojo {
+
+    @Parameter(required = true)
+    private File downloadDir;
+
+    @Parameter(defaultValue = "30")
+    private int timeoutSecs;
+
+    @java.lang.Override
+    public void execute() throws MojoExecutionException, MojoFailureException {
+        try {
+            init();
+            addDependenciesToLicenseMap();
+            final int timeoutMillis = (int) TimeUnit.SECONDS.toMillis(timeoutSecs);
+            //noinspection ResultOfMethodCallIgnored
+            downloadDir.mkdirs();
+            AtomicInteger counter = new AtomicInteger();
+            getLicenseMap().values().parallelStream().forEach(entry -> {
+                final int i = counter.incrementAndGet();
+                final String url = entry.getLicense().getUrl();
+                String fileName = entry.getLicense().getContentFile(false);
+                doDownload(timeoutMillis, i, url, fileName);
+            });
+        } catch (IOException | ProjectBuildingException e) {
+            throw new MojoExecutionException("Unexpected exception: " + e, e);
+        }
+    }
+
+    private void doDownload(int timeoutMillis, int id, String url, String fileName) {
+        try {
+            HttpURLConnection conn = (HttpURLConnection)new URL(url).openConnection();
+            conn.setConnectTimeout(timeoutMillis);
+            conn.setReadTimeout(timeoutMillis);
+            conn.setRequestMethod("GET");
+            final File outFile = new File(downloadDir, fileName);
+            getLog().info("[" + id + "] " + url + " -> " + outFile);
+            final InputStream is = conn.getInputStream();
+            FileWriter writer = new FileWriter(outFile);
+            IOUtils.copy(is, writer, conn.getContentEncoding());
+            writer.close();
+            getLog().info("[" + id + "] ...done!");
+        } catch (IOException e) {
+            getLog().warn("[" + id + "] ...error downloading " + url + ": " + e);
+        }
+    }
+}
+
diff --git a/asterixdb/asterix-maven-plugins/license-automation-plugin/src/main/java/org/apache/asterix/license/ExtraLicenseFile.java b/asterixdb/asterix-maven-plugins/license-automation-plugin/src/main/java/org/apache/asterix/license/ExtraLicenseFile.java
new file mode 100644
index 0000000..3b3e190
--- /dev/null
+++ b/asterixdb/asterix-maven-plugins/license-automation-plugin/src/main/java/org/apache/asterix/license/ExtraLicenseFile.java
@@ -0,0 +1,42 @@
+/*
+ * 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.
+ */
+package org.apache.asterix.license;
+
+import java.io.File;
+
+public class ExtraLicenseFile {
+    private File file;
+    private String location;
+
+    public String getLocation() {
+        return location;
+    }
+
+    public void setLocation(String location) {
+        this.location = location;
+    }
+
+    public File getFile() {
+        return file;
+    }
+
+    public void setFile(File file) {
+        this.file = file;
+    }
+}
diff --git a/asterixdb/asterix-maven-plugins/license-automation-plugin/src/main/java/org/apache/asterix/license/GenerateFileMojo.java b/asterixdb/asterix-maven-plugins/license-automation-plugin/src/main/java/org/apache/asterix/license/GenerateFileMojo.java
new file mode 100644
index 0000000..894b73d
--- /dev/null
+++ b/asterixdb/asterix-maven-plugins/license-automation-plugin/src/main/java/org/apache/asterix/license/GenerateFileMojo.java
@@ -0,0 +1,335 @@
+/*
+ * 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.
+ */
+package org.apache.asterix.license;
+
+import java.io.File;
+import java.io.FileWriter;
+import java.io.IOException;
+import java.io.StringWriter;
+import java.nio.charset.StandardCharsets;
+import java.util.ArrayList;
+import java.util.Comparator;
+import java.util.Enumeration;
+import java.util.HashMap;
+import java.util.HashSet;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Map;
+import java.util.Set;
+import java.util.SortedMap;
+import java.util.SortedSet;
+import java.util.TreeMap;
+import java.util.TreeSet;
+import java.util.function.BiConsumer;
+import java.util.function.Predicate;
+import java.util.function.UnaryOperator;
+import java.util.jar.JarEntry;
+import java.util.jar.JarFile;
+import java.util.regex.Pattern;
+
+import com.fasterxml.jackson.databind.ObjectMapper;
+import com.fasterxml.jackson.databind.SequenceWriter;
+import freemarker.cache.FileTemplateLoader;
+import freemarker.template.Configuration;
+import freemarker.template.Template;
+import freemarker.template.TemplateException;
+import org.apache.asterix.license.freemarker.IndentDirective;
+import org.apache.asterix.license.freemarker.LoadFileDirective;
+import org.apache.asterix.license.project.LicensedProjects;
+import org.apache.asterix.license.project.Project;
+import org.apache.commons.io.IOUtils;
+import org.apache.maven.plugin.MojoExecutionException;
+import org.apache.maven.plugin.MojoFailureException;
+import org.apache.maven.plugins.annotations.LifecyclePhase;
+import org.apache.maven.plugins.annotations.Mojo;
+import org.apache.maven.plugins.annotations.Parameter;
+import org.apache.maven.plugins.annotations.ResolutionScope;
+import org.apache.maven.project.ProjectBuildingException;
+
+@Mojo(name = "generate",
+        requiresProject = true,
+        requiresDependencyResolution = ResolutionScope.TEST,
+        defaultPhase = LifecyclePhase.GENERATE_RESOURCES)
+public class GenerateFileMojo extends LicenseMojo {
+
+    public static final Pattern FOUNDATION_PATTERN = Pattern.compile("^\\s*This product includes software developed " +
+                    "(at|by) The Apache Software Foundation \\(http://www.apache.org/\\).\\s*$".replace(" ", "\\s+"),
+            Pattern.DOTALL | Pattern.MULTILINE);
+
+    public static final Comparator<String> WHITESPACE_NORMALIZED_COMPARATOR =
+            (o1, o2) -> o1.replaceAll("\\s+", " ").compareTo(o2.replaceAll("\\s+", " "));
+
+    @Parameter(required = true)
+    private File templateRootDir;
+
+    @Parameter(defaultValue = "${project.build.directory}/generated-sources")
+    private File outputDir;
+
+    @Parameter
+    private List<GeneratedFile> generatedFiles = new ArrayList<>();
+
+    @Parameter(defaultValue = "${project.build.sourceEncoding}")
+    private String encoding;
+
+    @Parameter
+    private File licenseMapOutputFile;
+
+    @Parameter
+    private List<ExtraLicenseFile> extraLicenseMaps = new ArrayList<>();
+
+    @Parameter
+    protected Map<String, String> templateProperties = new HashMap<>();
+
+    private SortedMap<String, SortedSet<Project>> noticeMap;
+
+    @java.lang.Override
+    public void execute() throws MojoExecutionException, MojoFailureException {
+        try {
+            init();
+            readExtraMaps();
+            addDependenciesToLicenseMap();
+            resolveLicenseContent();
+            resolveNoticeFiles();
+            resolveLicenseFiles();
+            rebuildLicenseContentProjectMap();
+            buildNoticeProjectMap();
+            persistLicenseMap();
+            combineCommonGavs();
+            generateFiles();
+        } catch (IOException | TemplateException | ProjectBuildingException e) {
+            throw new MojoExecutionException("Unexpected exception: " + e, e);
+        }
+    }
+
+    private void resolveLicenseContent() throws IOException {
+        for (LicensedProjects licensedProjects : licenseMap.values()) {
+            final LicenseSpec license = licensedProjects.getLicense();
+            if (license.getContent() == null) {
+                getLog().debug("Resolving content for " + license.getUrl() + " (" + license.getContentFile() + ")");
+                File cFile = new File(license.getContentFile());
+                if (!cFile.isAbsolute()) {
+                    cFile = new File(licenseDirectory, license.getContentFile());
+                }
+                if (!cFile.exists()) {
+                    getLog().warn("MISSING: license content file (" + cFile + ") for url: " + license.getUrl());
+                    license.setContent("MISSING: " + license.getContentFile() + " (" + license.getUrl() + ")");
+                } else {
+                    StringWriter sw = new StringWriter();
+                    LicenseUtil.readAndTrim(sw, cFile);
+                    license.setContent(sw.toString());
+                }
+            }
+        }
+    }
+
+    private void combineCommonGavs() {
+        for (LicensedProjects licensedProjects : licenseMap.values()) {
+            Map<String, Project> projectMap = new HashMap<>();
+            for (Iterator<Project> iter = licensedProjects.getProjects().iterator(); iter.hasNext(); ) {
+                Project project = iter.next();
+                if (projectMap.containsKey(project.gav())) {
+                    Project first = projectMap.get(project.gav());
+                    first.setLocation(first.getLocation() + "," + project.getLocation());
+                    iter.remove();
+                } else {
+                    projectMap.put(project.gav(), project);
+                }
+            }
+        }
+    }
+
+    private void generateFiles() throws TemplateException, IOException {
+        Map<String, Object> props = getProperties();
+
+        Configuration config = new Configuration();
+        config.setTemplateLoader(new FileTemplateLoader(templateRootDir));
+        for (GeneratedFile generation : generatedFiles) {
+            Template template = config.getTemplate(generation.getTemplate());
+
+            if (template == null) {
+                throw new IOException("Could not load template " + generation.getTemplate());
+            }
+
+            outputDir.mkdirs();
+            final File file = new File(outputDir, generation.getOutputFile());
+            getLog().info("Writing " + file + "...");
+            try (final FileWriter writer = new FileWriter(file)) {
+                template.process(props, writer);
+            }
+        }
+    }
+
+    protected Map<String, Object> getProperties() {
+        Map<String, Object> props = new HashMap<>();
+        props.put("indent", new IndentDirective());
+        props.put("loadfile", new LoadFileDirective());
+        props.put("project", project);
+        props.put("noticeMap", noticeMap.entrySet());
+        props.put("licenseMap", licenseMap.entrySet());
+        props.putAll(templateProperties);
+        return props;
+    }
+
+    private void readExtraMaps() throws IOException {
+        final ObjectMapper objectMapper = new ObjectMapper();
+        for (ExtraLicenseFile extraLicenseFile : extraLicenseMaps) {
+            for (LicensedProjects projects :
+                    objectMapper.readValue(extraLicenseFile.getFile(), LicensedProjects[].class)) {
+                LicenseSpec spec = urlToLicenseMap.get(projects.getLicense().getUrl());
+                if (spec != null) {
+                    // TODO(mblow): probably we should always favor the extra map...
+                    // propagate any license content we may have with what already has been loaded
+                    if (projects.getLicense().getContent() != null &&
+                            spec.getContent() == null) {
+                        spec.setContent(projects.getLicense().getContent());
+                    }
+                    // propagate any license displayName we may have with what already has been loaded
+                    if (projects.getLicense().getDisplayName() != null &&
+                            spec.getDisplayName() == null) {
+                        spec.setDisplayName(projects.getLicense().getDisplayName());
+                    }
+                }
+                for (Project project : projects.getProjects()) {
+                    project.setLocation(extraLicenseFile.getLocation());
+                    addProject(project, projects.getLicense());
+                }
+            }
+        }
+    }
+
+    private void persistLicenseMap() throws IOException {
+        if (licenseMapOutputFile != null) {
+            licenseMapOutputFile.getParentFile().mkdirs();
+            SequenceWriter sw = new ObjectMapper().writerWithDefaultPrettyPrinter()
+                    .writeValues(licenseMapOutputFile).init(true);
+            for (LicensedProjects entry : licenseMap.values()) {
+                sw.write(entry);
+            }
+            sw.close();
+        }
+    }
+
+    private void rebuildLicenseContentProjectMap() {
+        int counter = 0;
+        Map<String, LicensedProjects> licenseMap2 = new TreeMap<>(WHITESPACE_NORMALIZED_COMPARATOR);
+        for (LicensedProjects lps : licenseMap.values()) {
+            for (Project project : lps.getProjects()) {
+                String licenseText = project.getLicenseText();
+                if (licenseText == null) {
+                    getLog().warn("Using license other than from within artifact: " + project.gav());
+                    licenseText = lps.getLicense().getContent();
+                }
+                if (!licenseMap2.containsKey(licenseText)) {
+                    LicenseSpec spec = lps.getLicense();
+                    if (!licenseText.equals(lps.getLicense().getContent())) {
+                        spec = new LicenseSpec(new ArrayList<>(), licenseText, null, spec.getDisplayName(),
+                                spec.getMetric(), spec.getUrl() + (counter++));
+                    }
+                    licenseMap2.put(licenseText, new LicensedProjects(spec));
+                }
+                licenseMap2.get(licenseText).addProject(project);
+            }
+        }
+        licenseMap = licenseMap2;
+    }
+
+    private Set<Project> getProjects() {
+        Set<Project> projects = new HashSet<>();
+        licenseMap.values().forEach(p -> projects.addAll(p.getProjects()));
+        return projects;
+    }
+
+    private void buildNoticeProjectMap() {
+        noticeMap = new TreeMap<>(WHITESPACE_NORMALIZED_COMPARATOR);
+        for (Project project : getProjects()) {
+            final String noticeText = project.getNoticeText();
+            if (noticeText == null) {
+                continue;
+            }
+            if (!noticeMap.containsKey(noticeText)) {
+                noticeMap.put(noticeText, new TreeSet<>(Project.PROJECT_COMPARATOR));
+            }
+            noticeMap.get(noticeText).add(project);
+        }
+    }
+
+    private void resolveNoticeFiles() throws MojoExecutionException, IOException {
+        resolveArtifactFiles("NOTICE", entry -> entry.getName().matches("(.*/|^)" + "NOTICE" + "(.txt)?"),
+                Project::setNoticeText, text -> FOUNDATION_PATTERN.matcher(text).replaceAll(""));
+    }
+
+    private void resolveLicenseFiles() throws MojoExecutionException, IOException {
+        resolveArtifactFiles("LICENSE", entry -> entry.getName().matches("(.*/|^)" + "LICENSE" + "(.txt)?"),
+                Project::setLicenseText, UnaryOperator.identity());
+    }
+
+    private void resolveArtifactFiles(final String name, Predicate<JarEntry> filter,
+                                      BiConsumer<Project, String> consumer, UnaryOperator<String> contentTransformer)
+            throws MojoExecutionException, IOException {
+        for (Project project : getProjects()) {
+            File artifactFile = new File(project.getArtifactPath());
+            if (!artifactFile.exists()) {
+                throw new MojoExecutionException("Artifact file " + artifactFile + " does not exist!");
+            } else if (!artifactFile.getName().endsWith(".jar")) {
+                throw new MojoExecutionException("Unknown artifact file type: " + artifactFile);
+            }
+            try (JarFile jarFile = new JarFile(artifactFile)) {
+                SortedMap<String, JarEntry> matches = gatherMatchingEntries(jarFile,
+                        filter);
+                if (matches.isEmpty()) {
+                    getLog().warn("No " + name + " file found for " + project.gav());
+                    continue;
+                } else if (matches.size() > 1) {
+                    getLog().warn("Multiple " + name + " files found for " + project.gav() + ": " + matches.keySet()
+                            + "; taking first");
+                } else {
+                    getLog().info(project.gav() + " has " + name + " file: " + matches.keySet());
+                }
+                resolveContent(project, jarFile, matches.values().iterator().next(),
+                        contentTransformer, consumer, name);
+            }
+        }
+    }
+
+    private void resolveContent(Project project, JarFile jarFile, JarEntry entry, UnaryOperator<String> transformer,
+                                BiConsumer<Project, String> contentConsumer, final String name) throws IOException {
+        String text = IOUtils.toString(jarFile.getInputStream(entry), StandardCharsets.UTF_8);
+        text = transformer.apply(text);
+        text = LicenseUtil.trim(text);
+        if (text.length() == 0) {
+            getLog().warn("Ignoring empty " + name + " file ( " + entry + ") for " + project.gav());
+        } else {
+            contentConsumer.accept(project, text);
+            getLog().debug("Resolved " + name + " text for " + project.gav() + ": \n" + text);
+        }
+    }
+
+    private SortedMap<String, JarEntry> gatherMatchingEntries(JarFile jarFile, Predicate<JarEntry> filter) {
+        SortedMap<String, JarEntry> matches = new TreeMap<>();
+        Enumeration<JarEntry> entries = jarFile.entries();
+        while (entries.hasMoreElements()) {
+            JarEntry entry = entries.nextElement();
+            if (filter.test(entry)) {
+                matches.put(entry.getName(), entry);
+            }
+        }
+        return matches;
+    }
+}
+
diff --git a/asterixdb/asterix-maven-plugins/license-automation-plugin/src/main/java/org/apache/asterix/license/GeneratedFile.java b/asterixdb/asterix-maven-plugins/license-automation-plugin/src/main/java/org/apache/asterix/license/GeneratedFile.java
new file mode 100644
index 0000000..b89dc88
--- /dev/null
+++ b/asterixdb/asterix-maven-plugins/license-automation-plugin/src/main/java/org/apache/asterix/license/GeneratedFile.java
@@ -0,0 +1,36 @@
+/*
+ * 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.
+ */
+package org.apache.asterix.license;
+
+public class GeneratedFile {
+
+    @SuppressWarnings("unused") // set by Maven plugin configuration
+    private String template;
+
+    @SuppressWarnings("unused") // set by Maven plugin configuration
+    private String outputFile;
+
+    public String getOutputFile() {
+        return outputFile;
+    }
+
+    public String getTemplate() {
+        return template;
+    }
+}
diff --git a/asterixdb/asterix-maven-plugins/license-automation-plugin/src/main/java/org/apache/asterix/license/LicenseMojo.java b/asterixdb/asterix-maven-plugins/license-automation-plugin/src/main/java/org/apache/asterix/license/LicenseMojo.java
new file mode 100644
index 0000000..846c9b6
--- /dev/null
+++ b/asterixdb/asterix-maven-plugins/license-automation-plugin/src/main/java/org/apache/asterix/license/LicenseMojo.java
@@ -0,0 +1,315 @@
+/*
+ * 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.
+ */
+package org.apache.asterix.license;
+
+import java.io.File;
+import java.net.MalformedURLException;
+import java.net.URL;
+import java.util.ArrayList;
+import java.util.Collections;
+import java.util.HashMap;
+import java.util.HashSet;
+import java.util.List;
+import java.util.Map;
+import java.util.Set;
+import java.util.TreeMap;
+import java.util.regex.Pattern;
+import java.util.stream.Collectors;
+
+import org.apache.asterix.license.project.LicensedProjects;
+import org.apache.asterix.license.project.Project;
+import org.apache.commons.lang3.tuple.ImmutablePair;
+import org.apache.commons.lang3.tuple.Pair;
+import org.apache.maven.artifact.Artifact;
+import org.apache.maven.artifact.repository.ArtifactRepository;
+import org.apache.maven.model.License;
+import org.apache.maven.model.Model;
+import org.apache.maven.plugin.AbstractMojo;
+import org.apache.maven.plugin.MojoExecutionException;
+import org.apache.maven.plugins.annotations.Component;
+import org.apache.maven.plugins.annotations.Parameter;
+import org.apache.maven.project.MavenProject;
+import org.apache.maven.project.MavenProjectBuilder;
+import org.apache.maven.project.ProjectBuildingException;
+import org.apache.maven.project.inheritance.ModelInheritanceAssembler;
+
+public abstract class LicenseMojo extends AbstractMojo {
+
+    @Parameter
+    protected List<Override> overrides = new ArrayList<>();
+
+    @Parameter
+    protected String [] models = new String [0];
+
+    @Parameter
+    protected List<LicenseSpec> licenses = new ArrayList<>();
+
+    @Parameter
+    protected Set<String> excludedScopes = new HashSet<>();
+
+    @Parameter
+    protected List<String> excludes = new ArrayList<>();
+
+    @Parameter
+    protected List<DependencySet> dependencySets = new ArrayList<>();
+
+    @Parameter( defaultValue = "${project}", readonly = true )
+    protected MavenProject project;
+
+    @Parameter( property = "localRepository", required = true, readonly = true )
+    private ArtifactRepository localRepository;
+
+    @Parameter( property = "project.remoteArtifactRepositories", required = true, readonly = true )
+    private List<ArtifactRepository> remoteRepositories;
+
+    @Component( role = MavenProjectBuilder.class )
+    protected MavenProjectBuilder projectBuilder;
+
+    @Component
+    private ModelInheritanceAssembler assembler;
+
+    @Parameter ( required = true )
+    private String location;
+
+    @Parameter ( required = true )
+    protected File licenseDirectory;
+
+    private Map<String, MavenProject> projectCache = new HashMap<>();
+
+    private Map<String, Model> supplementModels;
+
+    private List<Pattern> excludePatterns;
+
+    Map<String, LicenseSpec> urlToLicenseMap = new HashMap<>();
+    Map<String, LicensedProjects> licenseMap = new TreeMap<>();
+
+    protected Map<String, LicensedProjects> getLicenseMap() {
+        return licenseMap;
+    }
+
+    protected void init() throws MojoExecutionException, MalformedURLException,
+            ProjectBuildingException {
+        excludedScopes.add("system");
+        excludePatterns = compileExcludePatterns();
+        supplementModels = SupplementalModelHelper.loadSupplements(getLog(), models);
+        buildUrlLicenseMap();
+    }
+
+    protected void addDependenciesToLicenseMap() throws ProjectBuildingException {
+        Map<MavenProject, List<Pair<String, String>>> dependencyLicenseMap = gatherDependencies();
+        for (Map.Entry<MavenProject, List<Pair<String, String>>> dep : dependencyLicenseMap.entrySet()) {
+            final MavenProject depProject = dep.getKey();
+            String depLocation = dependencySets.isEmpty() ? location : getIncludedLocation(depProject.getArtifact());
+            if (isExcluded(depProject.getArtifact())) {
+                getLog().debug("skipping " + depProject + " [excluded]");
+            } else if (depLocation == null) {
+                getLog().debug("skipping " + depProject + " [not included in dependency sets]");
+            } else {
+                addDependencyToLicenseMap(depProject, dep.getValue(), depLocation);
+            }
+        }
+    }
+
+    private void addDependencyToLicenseMap(MavenProject depProject, List<Pair<String, String>> depLicenses,
+                                           String depLocation) {
+        final String depGav = toGav(depProject);
+        getLog().debug("adding " + depGav + ", location: " + depLocation);
+        if (depLicenses.size() > 1) {
+            Collections.sort(depLicenses, (o1, o2) -> {
+                final LicenseSpec l1 = urlToLicenseMap.get(o1.getLeft());
+                final LicenseSpec l2 = urlToLicenseMap.get(o2.getLeft());
+                return Integer.compare(l1 != null ? l1.getMetric() : LicenseSpec.UNDEFINED_LICENSE_METRIC,
+                        l2 != null ? l2.getMetric() : LicenseSpec.UNDEFINED_LICENSE_METRIC);
+            });
+            getLog().warn("Multiple licenses for " + depGav + ": " + depLicenses
+                    + "; taking first or lowest metric.");
+        } else if (depLicenses.isEmpty()) {
+            getLog().error("No license defined for " + depGav);
+            depLicenses.add(new ImmutablePair<>("MISSING_LICENSE", "MISSING LICENSE"));
+        }
+        Pair<String, String> key = depLicenses.get(0);
+        String licenseUrl = key.getLeft();
+        final String displayName = key.getRight();
+        if (!urlToLicenseMap.containsKey(licenseUrl)) {
+            // assuming we've not already mapped it, annotate the URL with artifact info, if not an actual URL
+            try {
+                getLog().debug("- URL: " + new URL(licenseUrl));
+                // life is good
+            } catch (MalformedURLException e) {
+                // we encounter this a lot.  Log a warning, and use an annotated key
+                final String fakeLicenseUrl = depGav.replaceAll(":", "--") + "_" + licenseUrl;
+                getLog().warn("- URL for " + depGav + " is malformed: " + licenseUrl + "; using: "
+                        + fakeLicenseUrl);
+                licenseUrl = fakeLicenseUrl;
+            }
+        }
+        File path = new File(localRepository.getBasedir(), localRepository.pathOf(depProject.getArtifact()));
+        addProject(new Project(depProject, depLocation, path), new LicenseSpec(licenseUrl, displayName));
+    }
+
+    protected void addProject(Project project, LicenseSpec licenseSpecNew) {
+        String licenseUrl = licenseSpecNew.getUrl();
+        LicenseSpec license = urlToLicenseMap.get(licenseUrl);
+        if (license == null) {
+            license = licenseSpecNew;
+            urlToLicenseMap.put(licenseUrl, license);
+        }
+        licenseUrl = license.getUrl();
+        LicensedProjects entry = licenseMap.get(licenseUrl);
+        if (entry == null) {
+            entry = new LicensedProjects(license);
+            licenseMap.put(licenseUrl, entry);
+        }
+        entry.addProject(project);
+    }
+
+    private void buildUrlLicenseMap() throws MojoExecutionException {
+        for (LicenseSpec license : licenses) {
+            if (urlToLicenseMap.put(license.getUrl() ,license) != null) {
+                throw new MojoExecutionException("Duplicate URL mapping: " + license.getUrl());
+            }
+            for (String alias : license.getAliasUrls()) {
+                if (urlToLicenseMap.put(alias ,license) != null) {
+                    throw new MojoExecutionException("Duplicate URL mapping: " + alias);
+                }
+
+            }
+        }
+    }
+
+    protected Map<MavenProject, List<Pair<String, String>>> gatherDependencies() throws ProjectBuildingException {
+        Map<MavenProject, List<Pair<String, String>>> dependencyLicenseMap = new HashMap<>();
+        Map<String, MavenProject> dependencyGavMap = new HashMap<>();
+
+        gatherProjectDependencies(project, dependencyLicenseMap, dependencyGavMap);
+        for (Override override : overrides) {
+            String gav = override.getGav();
+            MavenProject dep = dependencyGavMap.get(gav);
+            if (dep == null) {
+                getLog().warn("Unused override dependency " + gav + "; ignoring...");
+            } else {
+                final List<Pair<String, String>> newUrl = Collections.singletonList(
+                        new ImmutablePair<>(override.getUrl(), override.getName()));
+                List<Pair<String, String>> prev = dependencyLicenseMap.put(dep, newUrl);
+                if (!prev.isEmpty()) {
+                    getLog().warn("NOTICE: replacing license(s) " + prev + " for dependency " + gav + " with "
+                            + newUrl);
+                }
+            }
+        }
+        return dependencyLicenseMap;
+    }
+
+    private void gatherProjectDependencies(MavenProject project, Map<MavenProject,
+            List<Pair<String, String>>> dependencyLicenseMap, Map<String, MavenProject> dependencyGavMap)
+            throws ProjectBuildingException {
+        final Set dependencyArtifacts = project.getArtifacts();
+        if (dependencyArtifacts != null) {
+            for (Object depArtifactObj : dependencyArtifacts) {
+                final Artifact depArtifact = (Artifact) depArtifactObj;
+                if (!excludedScopes.contains(depArtifact.getScope())) {
+                    MavenProject dep = resolveDependency(depArtifact);
+                    dep.setArtifact(depArtifact);
+                    dependencyGavMap.put(toGav(dep), dep);
+                    List<Pair<String, String>> licenseUrls = new ArrayList<>();
+                    for (Object license : dep.getLicenses()) {
+                        final License license1 = (License) license;
+                        String url = license1.getUrl() != null ? license1.getUrl()
+                                : (license1.getName() != null ? license1.getName()
+                                : "LICENSE_EMPTY_NAME_URL");
+                        licenseUrls.add(new ImmutablePair<>(url, license1.getName()));
+                    }
+                    dependencyLicenseMap.put(dep, licenseUrls);
+                }
+            }
+        }
+    }
+
+    protected MavenProject resolveDependency(Artifact depObj) throws ProjectBuildingException {
+        String key = depObj.getGroupId() + ":" + depObj.getArtifactId() + ":" + depObj.getVersion();
+
+        MavenProject depProj = projectCache.get(key);
+
+        if (depProj == null) {
+            try {
+                depProj = projectBuilder.buildFromRepository(depObj, remoteRepositories, localRepository, false);
+            } catch (ProjectBuildingException e) {
+                throw new ProjectBuildingException(key, "Error creating dependent artifacts", e);
+            }
+
+            Model supplement = supplementModels.get(
+                    SupplementalModelHelper.generateSupplementMapKey(depObj.getGroupId(), depObj.getArtifactId()));
+            if (supplement != null) {
+                Model merged = SupplementalModelHelper.mergeModels(assembler, depProj.getModel(), supplement);
+                Set<String> origLicenses = depProj.getModel().getLicenses().stream().map(License::getUrl)
+                        .collect(Collectors.toSet());
+                Set<String> newLicenses = merged.getLicenses().stream().map(License::getUrl)
+                        .collect(Collectors.toSet());
+                if (!origLicenses.equals(newLicenses)) {
+                    getLog().warn("license list for " + toGav(depProj)
+                            + " changed with supplemental model; was: " + origLicenses
+                            + ", now: " + newLicenses);
+                }
+                depProj = new MavenProject(merged);
+                depProj.setArtifact( depObj );
+                depProj.setVersion( depObj.getVersion() );
+            }
+            depProj.getArtifact().setScope(depObj.getScope());
+            projectCache.put(key, depProj);
+        }
+        return depProj;
+    }
+
+    private String toGav(MavenProject dep) {
+        return dep.getGroupId() + ":" + dep.getArtifactId() + ":" + dep.getVersion();
+    }
+
+    protected List<Pattern> compileExcludePatterns() {
+        List<Pattern> patterns = new ArrayList<>();
+        for (String exclude : excludes) {
+            patterns.add(compileGAWildcardPattern(exclude));
+        }
+        return patterns;
+    }
+
+    public static Pattern compileGAWildcardPattern(String spec) {
+        return Pattern.compile(spec.replace(".", "\\.").replace("*", "[^:]*"));
+    }
+
+    protected boolean isExcluded(Artifact artifact) {
+        for (Pattern exclude : excludePatterns) {
+            if (exclude.matcher(artifact.getGroupId() + ":" + artifact.getArtifactId()).matches()) {
+                return true;
+            }
+        }
+        return false;
+    }
+
+    protected String getIncludedLocation(Artifact artifact) {
+        for (DependencySet set : dependencySets) {
+            for (Pattern include : set.getPatterns()) {
+                if (include.matcher(artifact.getGroupId() + ":" + artifact.getArtifactId()).matches()) {
+                    return set.getLocation();
+                }
+            }
+        }
+        return null;
+    }
+}
+
diff --git a/asterixdb/asterix-maven-plugins/license-automation-plugin/src/main/java/org/apache/asterix/license/LicenseSpec.java b/asterixdb/asterix-maven-plugins/license-automation-plugin/src/main/java/org/apache/asterix/license/LicenseSpec.java
new file mode 100644
index 0000000..885a5bc
--- /dev/null
+++ b/asterixdb/asterix-maven-plugins/license-automation-plugin/src/main/java/org/apache/asterix/license/LicenseSpec.java
@@ -0,0 +1,115 @@
+/*
+ * 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.
+ */
+package org.apache.asterix.license;
+
+import java.net.URI;
+import java.net.URISyntaxException;
+import java.util.ArrayList;
+import java.util.List;
+
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+public class LicenseSpec {
+
+    public static final int DEFAULT_METRIC = 100;
+    public static final int UNDEFINED_LICENSE_METRIC = 999;
+
+    public static final String BAD_CHARS = "[ \"#$%&'()*+,/:;<=>\\[\\]^`\\{\\|\\}~]";
+    private String url;
+    private String contentFile;
+    private List<String> aliasUrls = new ArrayList<>();
+    private String displayName;
+    private int metric = DEFAULT_METRIC;
+    private String content;
+
+    @SuppressWarnings("unused")
+    public LicenseSpec() {
+        // called by Maven configuration
+    }
+
+    @JsonCreator
+    public LicenseSpec(@JsonProperty("aliasUrls") List<String> aliasUrls, @JsonProperty("content") String content,
+                       @JsonProperty("contentFile") String contentFile, @JsonProperty("displayName") String displayName,
+                       @JsonProperty("metric") int metric, @JsonProperty("url") String url) {
+        this.aliasUrls = aliasUrls;
+        this.content = content;
+        this.contentFile = contentFile;
+        this.displayName = displayName;
+        this.metric = metric;
+        this.url = url;
+    }
+
+    public LicenseSpec(String url, String displayName) {
+        this.url = url;
+        if (displayName != null) {
+            this.displayName = displayName;
+        }
+    }
+
+    public String getUrl() {
+        return url;
+    }
+
+    public String getContentFile() {
+        return getContentFile(true);
+    }
+
+    @SuppressWarnings("squid:S1166")
+    public String getContentFile(boolean fixupExtension) {
+        if (contentFile == null) {
+            String file;
+            try {
+                URI uri = new URI(url);
+                file = ((uri.getHost() != null ? uri.getHost() : "")
+                        + uri.getPath()).replaceAll(BAD_CHARS, "_");
+            } catch (URISyntaxException e) {
+                file = url.replaceAll(BAD_CHARS, "_");
+            }
+            return (!fixupExtension || file.endsWith(".txt")) ? file : file + ".txt";
+        } else {
+            return contentFile;
+        }
+    }
+
+    public String getContent() {
+        return content;
+    }
+
+    public void setContent(String content) {
+        this.content = content;
+    }
+
+    public List<String> getAliasUrls() {
+        return aliasUrls;
+    }
+
+    public String getDisplayName() {
+        return displayName;
+    }
+
+    public int getMetric() {
+        return metric;
+    }
+
+    public void setDisplayName(String displayName) {
+        this.displayName = displayName;
+    }
+
+}
diff --git a/asterixdb/asterix-maven-plugins/license-automation-plugin/src/main/java/org/apache/asterix/license/LicenseUtil.java b/asterixdb/asterix-maven-plugins/license-automation-plugin/src/main/java/org/apache/asterix/license/LicenseUtil.java
new file mode 100644
index 0000000..8d09a81
--- /dev/null
+++ b/asterixdb/asterix-maven-plugins/license-automation-plugin/src/main/java/org/apache/asterix/license/LicenseUtil.java
@@ -0,0 +1,123 @@
+/*
+ * 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.
+ */
+package org.apache.asterix.license;
+
+import java.io.BufferedReader;
+import java.io.File;
+import java.io.FileReader;
+import java.io.IOException;
+import java.io.StringReader;
+import java.io.StringWriter;
+import java.io.Writer;
+
+import org.apache.commons.lang3.tuple.ImmutablePair;
+import org.apache.commons.lang3.tuple.Pair;
+
+public class LicenseUtil {
+
+    private static int wrapLength = 80;
+    private static int wrapThreshold = 100;
+
+    private LicenseUtil() {
+    }
+
+    public static void setWrapLength(int wrapLength) {
+        LicenseUtil.wrapLength = wrapLength;
+    }
+
+    public static void setWrapThreshold(int wrapThreshold) {
+        LicenseUtil.wrapThreshold = wrapThreshold;
+    }
+
+    public static String trim(String input) throws IOException {
+        try (BufferedReader reader = new BufferedReader(new StringReader(input))) {
+            reader.mark(input.length() + 1);
+            StringWriter sw = new StringWriter();
+            trim(sw, reader);
+            return sw.toString();
+        }
+    }
+
+    public static void readAndTrim(Writer out, File file) throws IOException {
+        try (BufferedReader reader = new BufferedReader(new FileReader(file))) {
+            reader.mark((int) file.length() * 2);
+            trim(out, reader);
+        }
+    }
+
+    private static void trim(Writer out, BufferedReader reader) throws IOException {
+        Pair<Integer, Integer> result = analyze(reader);
+        reader.reset();
+        doTrim(out, reader, result.getLeft(), result.getRight() > wrapThreshold ? wrapLength : Integer.MAX_VALUE);
+    }
+
+    private static void doTrim(Writer out, BufferedReader reader, int extraPadding, int wrapLength) throws IOException {
+        boolean head = true;
+        int empty = 0;
+        for (String line = reader.readLine(); line != null; line = reader.readLine() ) {
+            if ("".equals(line.trim())) {
+                if (!head) {
+                    empty++;
+                }
+            } else {
+                head = false;
+                for (; empty > 0; empty--) {
+                    out.append('\n');
+                }
+                String trimmed = line.substring(extraPadding);
+                int leadingWS = trimmed.length() - trimmed.trim().length();
+                while (trimmed.length() > wrapLength) {
+                    int cut = trimmed.lastIndexOf(' ', wrapLength);
+                    cut = Math.max(cut, trimmed.lastIndexOf('\t', wrapLength));
+                    if (cut != -1) {
+                        out.append(trimmed.substring(0, cut));
+                        out.append('\n');
+                        trimmed = trimmed.substring(cut + 1);
+                    } else {
+                        out.append(trimmed.substring(0, wrapLength));
+                        out.append('\n');
+                        trimmed = trimmed.substring(wrapLength);
+                    }
+                    for (int i = 0; i < leadingWS; i++) {
+                        trimmed = ' ' + trimmed;
+                    }
+                }
+                out.append(trimmed);
+                empty++;
+            }
+        }
+    }
+
+    private static Pair<Integer, Integer> analyze(BufferedReader reader) throws IOException {
+        int freeSpaces = Integer.MAX_VALUE;
+        int maxLineLength = 0;
+        for (String line = reader.readLine(); line != null; line = reader.readLine()) {
+            // trim trailing WS
+            String rightTrimmed = line.replaceFirst("\\s*$", "");
+            if ("".equals(rightTrimmed)) {
+                // ignore empty lines
+                continue;
+            }
+            String fullyTrimmed = line.trim();
+            freeSpaces = Math.min(freeSpaces,  rightTrimmed.length() - fullyTrimmed.length());
+            maxLineLength = Math.max(maxLineLength, fullyTrimmed.length());
+        }
+        return new ImmutablePair<>(freeSpaces, maxLineLength);
+    }
+}
diff --git a/asterixdb/asterix-maven-plugins/license-automation-plugin/src/main/java/org/apache/asterix/license/Override.java b/asterixdb/asterix-maven-plugins/license-automation-plugin/src/main/java/org/apache/asterix/license/Override.java
new file mode 100644
index 0000000..4d1bbbe
--- /dev/null
+++ b/asterixdb/asterix-maven-plugins/license-automation-plugin/src/main/java/org/apache/asterix/license/Override.java
@@ -0,0 +1,43 @@
+/*
+ * 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.
+ */
+package org.apache.asterix.license;
+
+public class Override  {
+
+    @SuppressWarnings("unused") // set by Maven plugin configuration
+    private String url;
+
+    @SuppressWarnings("unused") // set by Maven plugin configuration
+    private String gav;
+
+    @SuppressWarnings("unused") // set by Maven plugin configuration
+    private String name;
+
+    public String getGav() {
+        return gav;
+    }
+
+    public String getUrl() {
+        return url;
+    }
+
+    public String getName() {
+        return name;
+    }
+}
diff --git a/asterixdb/asterix-maven-plugins/license-automation-plugin/src/main/java/org/apache/asterix/license/SupplementalModelHelper.java b/asterixdb/asterix-maven-plugins/license-automation-plugin/src/main/java/org/apache/asterix/license/SupplementalModelHelper.java
new file mode 100644
index 0000000..9059d07
--- /dev/null
+++ b/asterixdb/asterix-maven-plugins/license-automation-plugin/src/main/java/org/apache/asterix/license/SupplementalModelHelper.java
@@ -0,0 +1,134 @@
+/*
+ * 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.
+ */
+package org.apache.asterix.license;
+
+import java.io.File;
+import java.io.FileReader;
+import java.io.IOException;
+import java.io.StringReader;
+import java.util.ArrayList;
+import java.util.Collections;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+import org.apache.maven.model.Model;
+import org.apache.maven.model.io.xpp3.MavenXpp3Reader;
+import org.apache.maven.plugin.MojoExecutionException;
+import org.apache.maven.plugin.logging.Log;
+import org.apache.maven.plugin.resources.remote.Supplement;
+import org.apache.maven.plugin.resources.remote.SupplementalDataModel;
+import org.apache.maven.plugin.resources.remote.io.xpp3.SupplementalDataModelXpp3Reader;
+import org.apache.maven.project.inheritance.ModelInheritanceAssembler;
+import org.codehaus.plexus.util.xml.Xpp3Dom;
+import org.codehaus.plexus.util.xml.pull.XmlPullParserException;
+
+public class SupplementalModelHelper {
+
+    private SupplementalModelHelper() {
+    }
+
+    // following code taken from ProcessRemoteResourcesMojo (org.apache.maven.plugins:maven-remote-resources-plugin:1.5)
+
+    static String generateSupplementMapKey(String groupId, String artifactId) {
+        return groupId.trim() + ":" + artifactId.trim();
+    }
+
+    static Map<String, Model> loadSupplements(Log log, String[] models) throws MojoExecutionException {
+        if (models == null) {
+            log.debug("Supplemental data models won't be loaded.  " + "No models specified.");
+            return Collections.emptyMap();
+        }
+
+        List<Supplement> supplements = new ArrayList<>();
+        for (String set : models) {
+            log.debug("Preparing ruleset: " + set);
+            try {
+                File f = new File(set);
+
+                if (!f.exists()) {
+                    throw new MojoExecutionException("Cold not resolve " + set);
+                }
+                if (!f.canRead()) {
+                    throw new MojoExecutionException("Supplemental data models won't be loaded. " + "File "
+                            + f.getAbsolutePath() + " cannot be read, check permissions on the file.");
+                }
+
+                log.debug("Loading supplemental models from " + f.getAbsolutePath());
+
+                SupplementalDataModelXpp3Reader reader = new SupplementalDataModelXpp3Reader();
+                SupplementalDataModel supplementalModel = reader.read(new FileReader(f));
+                supplements.addAll(supplementalModel.getSupplement());
+            } catch (Exception e) {
+                String msg = "Error loading supplemental data models: " + e.getMessage();
+                log.error(msg, e);
+                throw new MojoExecutionException(msg, e);
+            }
+        }
+
+        log.debug("Loading supplements complete.");
+
+        Map<String, Model> supplementMap = new HashMap<>();
+        for (Supplement sd : supplements) {
+            Xpp3Dom dom = (Xpp3Dom) sd.getProject();
+
+            Model m = getSupplement(log, dom);
+            supplementMap.put(generateSupplementMapKey(m.getGroupId(), m.getArtifactId()), m);
+        }
+
+        return supplementMap;
+    }
+
+    protected static Model getSupplement(Log log, Xpp3Dom supplementModelXml) throws MojoExecutionException {
+        MavenXpp3Reader modelReader = new MavenXpp3Reader();
+        Model model = null;
+
+        try {
+            model = modelReader.read(new StringReader(supplementModelXml.toString()));
+            String groupId = model.getGroupId();
+            String artifactId = model.getArtifactId();
+
+            if (groupId == null || "".equals(groupId.trim())) {
+                throw new MojoExecutionException(
+                        "Supplemental project XML requires that a <groupId> element be present.");
+            }
+
+            if (artifactId == null || "".equals(artifactId.trim())) {
+                throw new MojoExecutionException(
+                        "Supplemental project XML requires that a <artifactId> element be present.");
+            }
+        } catch (IOException e) {
+            log.warn("Unable to read supplemental XML: " + e.getMessage(), e);
+        } catch (XmlPullParserException e) {
+            log.warn("Unable to parse supplemental XML: " + e.getMessage(), e);
+        }
+
+        return model;
+    }
+
+    protected static Model mergeModels(ModelInheritanceAssembler assembler, Model parent, Model child) {
+        assembler.assembleModelInheritance(child, parent);
+        // ModelInheritanceAssembler doesn't push the name, do it here
+        if (child.getName() == null) {
+            child.setName(parent.getName());
+        }
+        return child;
+    }
+
+}
diff --git a/asterixdb/asterix-maven-plugins/license-automation-plugin/src/main/java/org/apache/asterix/license/freemarker/IndentDirective.java b/asterixdb/asterix-maven-plugins/license-automation-plugin/src/main/java/org/apache/asterix/license/freemarker/IndentDirective.java
new file mode 100644
index 0000000..fed2a12
--- /dev/null
+++ b/asterixdb/asterix-maven-plugins/license-automation-plugin/src/main/java/org/apache/asterix/license/freemarker/IndentDirective.java
@@ -0,0 +1,115 @@
+/*
+ * 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.
+ */
+package org.apache.asterix.license.freemarker;
+
+import java.io.IOException;
+import java.io.Writer;
+import java.util.Arrays;
+import java.util.Map;
+
+import freemarker.core.Environment;
+import freemarker.template.TemplateDirectiveBody;
+import freemarker.template.TemplateDirectiveModel;
+import freemarker.template.TemplateException;
+import freemarker.template.TemplateModel;
+import freemarker.template.TemplateModelException;
+import freemarker.template.TemplateNumberModel;
+
+public class IndentDirective implements TemplateDirectiveModel {
+
+    private static final String PARAM_NAME_SPACES = "spaces";
+
+    @Override
+    public void execute(Environment env, Map params, TemplateModel [] loopVars, TemplateDirectiveBody body)
+            throws TemplateException, IOException {
+
+        int spacesParam = -1;
+
+        for (Object o : params.entrySet()) {
+            Map.Entry ent = (Map.Entry) o;
+
+            String paramName = (String) ent.getKey();
+            TemplateModel paramValue = (TemplateModel) ent.getValue();
+
+            if (paramName.equals(PARAM_NAME_SPACES)) {
+                if (!(paramValue instanceof TemplateNumberModel)) {
+                    throw new TemplateModelException(
+                            "The \"" + PARAM_NAME_SPACES + "\" parameter must be a number.");
+                }
+                spacesParam = ((TemplateNumberModel) paramValue).getAsNumber().intValue();
+                if (spacesParam < 0) {
+                    throw new TemplateModelException(
+                            "The \"" + PARAM_NAME_SPACES + "\" parameter can't be negative.");
+                }
+            } else {
+                throw new TemplateModelException("Unsupported parameter: " + paramName);
+            }
+        }
+        if (spacesParam < 0) {
+            throw new TemplateModelException("The required \"" + PARAM_NAME_SPACES + "\" parameter is missing.");
+        }
+
+        if (body == null) {
+            throw new TemplateModelException("Indent requires a body");
+        } else {
+            // Executes the nested body (same as <#nested> in FTL). In this
+            // case we don't provide a special writer as the parameter:
+            body.render(new IndentingWriter(env.getOut(), spacesParam));
+        }
+    }
+
+    private static class IndentingWriter extends Writer {
+        private final Writer out;
+        private final char[] padChars;
+        boolean needsToPad;
+
+        public IndentingWriter(Writer out, int numSpaces) {
+            this.out = out;
+            padChars = new char[numSpaces];
+            Arrays.fill(padChars, ' ');
+            needsToPad = true;
+        }
+
+        @Override
+        public void write(char[] cbuf, int off, int len) throws IOException {
+            for (int i = off; i < len; i++) {
+                if (cbuf[i] == '\n') {
+                    out.write(cbuf[i]);
+                    needsToPad = true;
+                } else {
+                    if (needsToPad) {
+                        out.write(padChars);
+                        needsToPad = false;
+                    }
+                    out.write(cbuf[i]);
+                }
+            }
+        }
+
+        @Override
+        public void flush() throws IOException {
+            out.flush();
+        }
+
+        @Override
+        public void close() throws IOException {
+            out.flush();
+        }
+    }
+}
diff --git a/asterixdb/asterix-maven-plugins/license-automation-plugin/src/main/java/org/apache/asterix/license/freemarker/LoadFileDirective.java b/asterixdb/asterix-maven-plugins/license-automation-plugin/src/main/java/org/apache/asterix/license/freemarker/LoadFileDirective.java
new file mode 100644
index 0000000..603c6bc
--- /dev/null
+++ b/asterixdb/asterix-maven-plugins/license-automation-plugin/src/main/java/org/apache/asterix/license/freemarker/LoadFileDirective.java
@@ -0,0 +1,115 @@
+/*
+ * 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.
+ */
+package org.apache.asterix.license.freemarker;
+
+import java.io.File;
+import java.io.FileReader;
+import java.io.IOException;
+import java.io.Writer;
+import java.util.Map;
+
+import freemarker.cache.FileTemplateLoader;
+import freemarker.core.Environment;
+import freemarker.template.Configuration;
+import freemarker.template.TemplateBooleanModel;
+import freemarker.template.TemplateDirectiveBody;
+import freemarker.template.TemplateDirectiveModel;
+import freemarker.template.TemplateException;
+import freemarker.template.TemplateModel;
+import freemarker.template.TemplateModelException;
+import freemarker.template.TemplateScalarModel;
+import org.apache.asterix.license.LicenseUtil;
+import org.apache.commons.io.IOUtils;
+
+public class LoadFileDirective implements TemplateDirectiveModel {
+
+    private static final String PARAM_FILE = "file";
+    private static final String PARAM_TRIM = "trim";
+    private static final String PARAM_DEFAULT_TEXT = "defaultOnMissing";
+
+    @Override
+    public void execute(Environment env,
+                        Map params, TemplateModel[] loopVars,
+                        TemplateDirectiveBody body)
+            throws TemplateException, IOException {
+
+        String fileParam = null;
+        String defaultParam = null;
+        boolean trimParam = false;
+
+        for (Object paramObj : params.entrySet()) {
+            Map.Entry param = (Map.Entry) paramObj;
+
+            String paramName = (String) param.getKey();
+            TemplateModel paramValue = (TemplateModel) param.getValue();
+
+            switch (paramName) {
+                case PARAM_FILE:
+                    if (paramValue instanceof TemplateScalarModel) {
+                        fileParam = ((TemplateScalarModel) paramValue).getAsString();
+                    } else {
+                        throw new TemplateModelException(PARAM_FILE + " must be a string");
+                    }
+                    break;
+
+                case PARAM_DEFAULT_TEXT:
+                    if (paramValue instanceof TemplateScalarModel) {
+                        defaultParam = ((TemplateScalarModel) paramValue).getAsString();
+                    } else {
+                        throw new TemplateModelException(PARAM_DEFAULT_TEXT + " must be a string");
+                    }
+                    break;
+
+                case PARAM_TRIM:
+                    if (paramValue instanceof TemplateBooleanModel) {
+                        trimParam = ((TemplateBooleanModel) paramValue).getAsBoolean();
+                    } else {
+                        throw new TemplateModelException(PARAM_TRIM + " must be a boolean");
+                    }
+                    break;
+
+                default:
+                    throw new TemplateModelException("Unknown param: " + paramName);
+            }
+        }
+        if (fileParam == null) {
+            throw new TemplateModelException(
+                    "The required \"" + PARAM_FILE + "\" parameter"
+                            + "is missing.");
+        }
+        if (body != null) {
+            throw new TemplateModelException("Body is not supported by this directive");
+        }
+        Writer out = env.getOut();
+        File baseDir = ((FileTemplateLoader)((Configuration)env.getTemplate().getParent()).getTemplateLoader()).baseDir;
+        File file = new File(baseDir, fileParam);
+        if (file.exists()) {
+            if (trimParam) {
+                LicenseUtil.readAndTrim(out, file);
+                out.write('\n');
+            } else {
+                IOUtils.copy(new FileReader(file), out);
+            }
+        } else if (defaultParam != null ) {
+            out.append(defaultParam).append("\n");
+        } else {
+            throw new IOException("File not found: " + file);
+        }
+    }
+}
diff --git a/asterixdb/asterix-maven-plugins/license-automation-plugin/src/main/java/org/apache/asterix/license/project/LicensedProjects.java b/asterixdb/asterix-maven-plugins/license-automation-plugin/src/main/java/org/apache/asterix/license/project/LicensedProjects.java
new file mode 100644
index 0000000..5b1aa22
--- /dev/null
+++ b/asterixdb/asterix-maven-plugins/license-automation-plugin/src/main/java/org/apache/asterix/license/project/LicensedProjects.java
@@ -0,0 +1,57 @@
+/*
+ * 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.
+ */
+package org.apache.asterix.license.project;
+
+import java.util.Set;
+import java.util.SortedSet;
+import java.util.TreeSet;
+
+import org.apache.asterix.license.LicenseSpec;
+
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+public class LicensedProjects {
+    private LicenseSpec license;
+
+    private SortedSet<Project> projects = new TreeSet<>(Project.PROJECT_COMPARATOR);
+
+    public LicensedProjects(LicenseSpec license) {
+        this.license = license;
+    }
+
+    @JsonCreator
+    public LicensedProjects(@JsonProperty("license") LicenseSpec license,
+                            @JsonProperty("projects") Set<Project> projects) {
+        this.license = license;
+        this.projects.addAll(projects);
+    }
+
+    public LicenseSpec getLicense() {
+        return license;
+    }
+
+    public SortedSet<Project> getProjects() {
+        return projects;
+    }
+
+    public void addProject(Project project) {
+        projects.add(project);
+    }
+}
diff --git a/asterixdb/asterix-maven-plugins/license-automation-plugin/src/main/java/org/apache/asterix/license/project/Project.java b/asterixdb/asterix-maven-plugins/license-automation-plugin/src/main/java/org/apache/asterix/license/project/Project.java
new file mode 100644
index 0000000..ce5417e
--- /dev/null
+++ b/asterixdb/asterix-maven-plugins/license-automation-plugin/src/main/java/org/apache/asterix/license/project/Project.java
@@ -0,0 +1,159 @@
+/*
+ * 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.
+ */
+package org.apache.asterix.license.project;
+
+import java.io.File;
+import java.util.Comparator;
+
+import org.apache.maven.project.MavenProject;
+
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+public class Project {
+    private String name;
+    private String groupId;
+    private String artifactId;
+    private String url;
+    private String version;
+    private String location;
+    private String artifactPath;
+    private String noticeText;
+    private String licenseText;
+
+    @JsonIgnore
+    private MavenProject mavenProject;
+
+    public static final Comparator<Project> PROJECT_COMPARATOR = (o1, o2) ->
+            o1.compareToken().compareTo(o2.compareToken());
+
+    public Project(MavenProject project, String location, File artifactPath) {
+        mavenProject = project;
+        name = project.getName();
+        groupId = project.getGroupId();
+        artifactId = project.getArtifactId();
+        version = project.getVersion();
+        url = project.getUrl();
+        this.artifactPath = artifactPath.getPath();
+        setLocation(location);
+    }
+
+    @JsonCreator
+    public Project(@JsonProperty("name") String name, @JsonProperty("groupId") String groupId,
+                   @JsonProperty("artifactId") String artifactId, @JsonProperty("url") String url,
+                   @JsonProperty("version") String version, @JsonProperty("location") String location,
+                   @JsonProperty("artifactPath") String artifactPath, @JsonProperty("noticeText") String noticeText,
+                   @JsonProperty("licenseText") String licenseText) {
+        this.name = name;
+        this.groupId = groupId;
+        this.artifactId = artifactId;
+        this.url = url;
+        this.version = version;
+        this.location = location;
+        this.artifactPath = artifactPath;
+        this.noticeText = noticeText;
+        this.licenseText = licenseText;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public String getGroupId() {
+        return groupId;
+    }
+
+    public String getArtifactId() {
+        return artifactId;
+    }
+
+    public String getUrl() {
+        return url;
+    }
+
+    public String getVersion() {
+        return version;
+    }
+
+    public String getLocation() {
+        return location;
+    }
+
+    public void setLocation(String location) {
+        if (location != null && !location.endsWith("/")) {
+            this.location = location + "/";
+        } else {
+            this.location = location;
+        }
+    }
+
+    @JsonIgnore
+    public String [] getLocations() {
+        return getLocation().split(",");
+    }
+
+    public void setArtifactId(String artifactId) {
+        this.artifactId = artifactId;
+    }
+
+    public void setGroupId(String groupId) {
+        this.groupId = groupId;
+    }
+
+    public void setName(String name) {
+        this.name = name;
+    }
+
+    public void setUrl(String url) {
+        this.url = url;
+    }
+
+    public void setVersion(String version) {
+        this.version = version;
+    }
+
+    public String getArtifactPath() {
+        return artifactPath;
+    }
+
+    public void setNoticeText(String noticeText) {
+        this.noticeText = noticeText;
+    }
+
+    public String getNoticeText() {
+        return noticeText;
+    }
+
+    public String gav() {
+        return getGroupId() + ":" + getArtifactId() + ":" + getVersion();
+    }
+
+    private String compareToken() {
+        return getName() + getArtifactId() + getVersion() + ":" + getLocation();
+    }
+
+    public String getLicenseText() {
+        return licenseText;
+    }
+
+    public void setLicenseText(String licenseText) {
+        this.licenseText = licenseText;
+    }
+}
diff --git a/asterixdb/asterix-maven-plugins/pom.xml b/asterixdb/asterix-maven-plugins/pom.xml
index 9207abe..9da5759 100644
--- a/asterixdb/asterix-maven-plugins/pom.xml
+++ b/asterixdb/asterix-maven-plugins/pom.xml
@@ -57,5 +57,6 @@
     <module>asterix-evaluator-generator-maven-plugin</module>
     <module>asterix-test-datagenerator-maven-plugin</module>
     <module>asterix-grammar-extension-maven-plugin</module>
+    <module>license-automation-plugin</module>
   </modules>
 </project>
\ No newline at end of file
diff --git a/asterixdb/asterix-server/pom.xml b/asterixdb/asterix-server/pom.xml
index 50db2fd..1f8c79c 100644
--- a/asterixdb/asterix-server/pom.xml
+++ b/asterixdb/asterix-server/pom.xml
@@ -42,6 +42,196 @@
   <build>
     <plugins>
       <plugin>
+        <groupId>org.apache.asterix</groupId>
+        <artifactId>license-automation-plugin</artifactId>
+        <version>${project.version}</version>
+        <executions>
+          <execution>
+            <goals>
+              <goal>generate</goal>
+            </goals>
+          </execution>
+        </executions>
+        <configuration>
+          <templateRootDir>${basedir}/../../</templateRootDir>
+          <generatedFiles>
+            <generatedFile>
+              <template>asterixdb/src/main/licenses/templates/asterix-license.ftl</template>
+              <outputFile>LICENSE</outputFile>
+            </generatedFile>
+            <generatedFile>
+              <template>asterixdb/src/main/licenses/templates/asterix-notice.ftl</template>
+              <outputFile>NOTICE</outputFile>
+            </generatedFile>
+          </generatedFiles>
+          <location>repo/</location>
+          <licenseMapOutputFile>${project.build.directory}/generated-resources/license_map.json</licenseMapOutputFile>
+          <timeoutSecs>10</timeoutSecs>
+          <downloadDir>${project.build.directory}/generated-resources/license</downloadDir>
+          <excludedScopes>
+            <excludedScope>test</excludedScope>
+          </excludedScopes>
+          <excludes>
+            <exclude>org.apache.asterix:*</exclude>
+            <exclude>org.apache.algebricks:*</exclude>
+            <exclude>org.apache.hyracks:*</exclude>
+          </excludes>
+          <licenseDirectory>${basedir}/../src/main/licenses/content</licenseDirectory>
+          <models>
+             <model>${basedir}/../src/main/appended-resources/supplemental-models.xml</model>
+          </models>
+          <overrides>
+            <override>
+              <gav>stax:stax:1.1.1-dev</gav>
+              <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+            </override>
+            <override>
+              <gav>stax:stax:1.2.0</gav>
+              <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+            </override>
+            <override>
+              <gav>org.tukaani:xz:1.0</gav>
+              <url>PUBLIC_DOMAIN</url>
+            </override>
+            <override>
+              <gav>aopalliance:aopalliance:1.0</gav>
+              <url>PUBLIC_DOMAIN</url>
+            </override>
+            <override>
+              <gav>asm:asm:3.1</gav>
+              <url>http://asm.objectweb.org/license.html</url>
+            </override>
+            <override>
+              <gav>commons-el:commons-el:1.0</gav>
+              <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+            </override>
+            <override>
+              <gav>com.thoughtworks.paranamer:paranamer:2.3</gav>
+              <url>https://raw.githubusercontent.com/codehaus/paranamer-git/master/LICENSE.txt</url>
+            </override>
+            <override>
+              <gav>org.codehaus.jettison:jettison:1.1</gav>
+              <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+            </override>
+            <override>
+              <gav>commons-configuration:commons-configuration:1.6</gav>
+              <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+            </override>
+            <override>
+              <gav>commons-digester:commons-digester:1.8</gav>
+              <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+            </override>
+            <override>
+              <gav>org.apache.zookeeper:zookeeper:3.4.5</gav>
+              <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+            </override>
+            <override>
+              <gav>javax.servlet.jsp:jsp-api:2.1</gav>
+              <url>https://jsp.java.net/license.html</url>
+            </override>
+            <override>
+              <gav>com.google.protobuf:protobuf-java:2.5.0</gav>
+              <url>https://raw.githubusercontent.com/google/protobuf/master/LICENSE</url>
+            </override>
+            <override>
+              <gav>org.hamcrest:hamcrest-core:1.3</gav>
+              <url>https://raw.githubusercontent.com/hamcrest/JavaHamcrest/1260407ae3d2786cb54b8be52ebe041e54ccd6ac/LICENSE.txt</url>
+            </override>
+            <override>
+              <gav>xmlenc:xmlenc:0.52</gav>
+              <url>xmlenc_0.52_LICENSE</url>
+            </override>
+            <override>
+              <gav>org.slf4j:slf4j-log4j12:1.7.5</gav>
+              <url>http://www.slf4j.org/license.html</url>
+            </override>
+          </overrides>
+          <licenses>
+            <license>
+              <url>https://raw.githubusercontent.com/google/protobuf/master/LICENSE</url>
+              <contentFile>protobuf_2.5.0_LICENSE.txt</contentFile>
+            </license>
+            <license>
+              <url>xmlenc_0.52_LICENSE</url>
+              <contentFile>xmlenc_0.52_LICENSE.txt</contentFile>
+            </license>
+            <license>
+              <url>https://raw.githubusercontent.com/hamcrest/JavaHamcrest/1260407ae3d2786cb54b8be52ebe041e54ccd6ac/LICENSE.txt</url>
+              <contentFile>hamcrest_1.3_LICENSE.txt</contentFile>
+            </license>
+            <license>
+              <displayName>The Apache Software License, Version 2.0</displayName>
+              <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+              <aliasUrls>
+                <aliasUrl>http://www.apache.org/licenses/LICENSE-2.0</aliasUrl>
+                <aliasUrl>https://www.apache.org/licenses/LICENSE-2.0.txt</aliasUrl>
+                <aliasUrl>http://www.apache.org/licenses/LICENSE-2.0.html</aliasUrl>
+              </aliasUrls>
+              <metric>1</metric>
+            </license>
+            <license>
+              <url>https://java.net/projects/stax-utils/sources/svn/content/trunk/LICENSE</url>
+              <contentFile>stax-utils_LICENSE.txt</contentFile>
+              <displayName>a BSD-style License</displayName>
+              <aliasUrls>
+                <aliasUrl>https://stax-utils.dev.java.net/source/browse/*checkout*/stax-utils/LICENSE</aliasUrl>
+              </aliasUrls>
+            </license>
+            <license>
+              <url>http://www.json.org/license.html</url>
+              <displayName>The JSON License</displayName>
+            </license>
+            <license>
+              <url>https://raw.githubusercontent.com/mojohaus/appassembler/master/LICENSE.txt</url>
+              <aliasUrls>http://svn.codehaus.org/mojo/trunk/mojo/appassembler/LICENSE.txt</aliasUrls>
+            </license>
+            <license>
+              <url>https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html</url>
+              <!--<displayName>CDDL 1.1</displayName>-->
+              <metric>10</metric>
+              <aliasUrls>
+                <aliasUrl>https://glassfish.java.net/public/CDDL+GPL_1_1.html</aliasUrl>
+                <aliasUrl>http://glassfish.java.net/public/CDDL+GPL_1_1.html</aliasUrl>
+                <aliasUrl>https://jsp.java.net/license.html</aliasUrl>
+              </aliasUrls>
+            </license>
+            <license>
+              <url>http://www.sun.com/cddl/cddl.html</url>
+              <metric>10</metric>
+              <aliasUrls>
+                <aliasUrl>https://glassfish.dev.java.net/public/CDDL+GPL.html</aliasUrl>
+                <aliasUrl>https://glassfish.dev.java.net/nonav/public/CDDL+GPL.html</aliasUrl>
+                <aliasUrl>http://glassfish.dev.java.net/nonav/public/CDDL+GPL.html</aliasUrl>
+                <aliasUrl>http://glassfish.java.net/public/CDDL+GPL.html</aliasUrl>
+                <aliasUrl>https://glassfish.java.net/public/CDDL+GPL.html</aliasUrl>
+                <aliasUrl>http://glassfish.dev.java.net/public/CDDL+GPL.html</aliasUrl>
+                <aliasUrl>https://glassfish.dev.java.net/public/CDDLv1.0.html</aliasUrl>
+              </aliasUrls>
+            </license>
+            <license>
+              <url>http://www.antlr.org/license.html</url>
+              <aliasUrls>http://antlr.org/license.html</aliasUrls>
+            </license>
+            <license>
+              <url>https://opensource.org/licenses/mit-license.php</url>
+              <aliasUrls>http://www.opensource.org/licenses/mit-license.php</aliasUrls>
+            </license>
+            <license>
+              <url>https://opensource.org/licenses/bsd-license.php</url>
+              <aliasUrls>http://www.opensource.org/licenses/bsd-license.php</aliasUrls>
+            </license>
+            <license>
+              <!-- this is special case- handled in ftl template -->
+              <url>PUBLIC_DOMAIN</url>
+            </license>
+          </licenses>
+          <templateProperties>
+            <assembly>this assembly</assembly>
+            <packageName>Server Install</packageName>
+          </templateProperties>
+        </configuration>
+      </plugin>
+      <plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>appassembler-maven-plugin</artifactId>
         <version>1.10</version>
diff --git a/asterixdb/asterix-server/src/main/assembly/binary-assembly.xml b/asterixdb/asterix-server/src/main/assembly/binary-assembly.xml
index bdb96de..b968ae1 100644
--- a/asterixdb/asterix-server/src/main/assembly/binary-assembly.xml
+++ b/asterixdb/asterix-server/src/main/assembly/binary-assembly.xml
@@ -27,7 +27,7 @@
   <includeBaseDirectory>false</includeBaseDirectory>
   <fileSets>
     <fileSet>
-      <directory>src/main/licenses</directory>
+      <directory>target/generated-sources</directory>
       <outputDirectory>.</outputDirectory>
       <includes>
         <include>LICENSE*</include>
diff --git a/asterixdb/asterix-server/src/main/licenses/LICENSE b/asterixdb/asterix-server/src/main/licenses/LICENSE
deleted file mode 100644
index df04572..0000000
--- a/asterixdb/asterix-server/src/main/licenses/LICENSE
+++ /dev/null
@@ -1,1507 +0,0 @@
-
-                                 Apache License
-                           Version 2.0, January 2004
-                        http://www.apache.org/licenses/
-
-   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
-   1. Definitions.
-
-      "License" shall mean the terms and conditions for use, reproduction,
-      and distribution as defined by Sections 1 through 9 of this document.
-
-      "Licensor" shall mean the copyright owner or entity authorized by
-      the copyright owner that is granting the License.
-
-      "Legal Entity" shall mean the union of the acting entity and all
-      other entities that control, are controlled by, or are under common
-      control with that entity. For the purposes of this definition,
-      "control" means (i) the power, direct or indirect, to cause the
-      direction or management of such entity, whether by contract or
-      otherwise, or (ii) ownership of fifty percent (50%) or more of the
-      outstanding shares, or (iii) beneficial ownership of such entity.
-
-      "You" (or "Your") shall mean an individual or Legal Entity
-      exercising permissions granted by this License.
-
-      "Source" form shall mean the preferred form for making modifications,
-      including but not limited to software source code, documentation
-      source, and configuration files.
-
-      "Object" form shall mean any form resulting from mechanical
-      transformation or translation of a Source form, including but
-      not limited to compiled object code, generated documentation,
-      and conversions to other media types.
-
-      "Work" shall mean the work of authorship, whether in Source or
-      Object form, made available under the License, as indicated by a
-      copyright notice that is included in or attached to the work
-      (an example is provided in the Appendix below).
-
-      "Derivative Works" shall mean any work, whether in Source or Object
-      form, that is based on (or derived from) the Work and for which the
-      editorial revisions, annotations, elaborations, or other modifications
-      represent, as a whole, an original work of authorship. For the purposes
-      of this License, Derivative Works shall not include works that remain
-      separable from, or merely link (or bind by name) to the interfaces of,
-      the Work and Derivative Works thereof.
-
-      "Contribution" shall mean any work of authorship, including
-      the original version of the Work and any modifications or additions
-      to that Work or Derivative Works thereof, that is intentionally
-      submitted to Licensor for inclusion in the Work by the copyright owner
-      or by an individual or Legal Entity authorized to submit on behalf of
-      the copyright owner. For the purposes of this definition, "submitted"
-      means any form of electronic, verbal, or written communication sent
-      to the Licensor or its representatives, including but not limited to
-      communication on electronic mailing lists, source code control systems,
-      and issue tracking systems that are managed by, or on behalf of, the
-      Licensor for the purpose of discussing and improving the Work, but
-      excluding communication that is conspicuously marked or otherwise
-      designated in writing by the copyright owner as "Not a Contribution."
-
-      "Contributor" shall mean Licensor and any individual or Legal Entity
-      on behalf of whom a Contribution has been received by Licensor and
-      subsequently incorporated within the Work.
-
-   2. Grant of Copyright License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      copyright license to reproduce, prepare Derivative Works of,
-      publicly display, publicly perform, sublicense, and distribute the
-      Work and such Derivative Works in Source or Object form.
-
-   3. Grant of Patent License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      (except as stated in this section) patent license to make, have made,
-      use, offer to sell, sell, import, and otherwise transfer the Work,
-      where such license applies only to those patent claims licensable
-      by such Contributor that are necessarily infringed by their
-      Contribution(s) alone or by combination of their Contribution(s)
-      with the Work to which such Contribution(s) was submitted. If You
-      institute patent litigation against any entity (including a
-      cross-claim or counterclaim in a lawsuit) alleging that the Work
-      or a Contribution incorporated within the Work constitutes direct
-      or contributory patent infringement, then any patent licenses
-      granted to You under this License for that Work shall terminate
-      as of the date such litigation is filed.
-
-   4. Redistribution. You may reproduce and distribute copies of the
-      Work or Derivative Works thereof in any medium, with or without
-      modifications, and in Source or Object form, provided that You
-      meet the following conditions:
-
-      (a) You must give any other recipients of the Work or
-          Derivative Works a copy of this License; and
-
-      (b) You must cause any modified files to carry prominent notices
-          stating that You changed the files; and
-
-      (c) You must retain, in the Source form of any Derivative Works
-          that You distribute, all copyright, patent, trademark, and
-          attribution notices from the Source form of the Work,
-          excluding those notices that do not pertain to any part of
-          the Derivative Works; and
-
-      (d) If the Work includes a "NOTICE" text file as part of its
-          distribution, then any Derivative Works that You distribute must
-          include a readable copy of the attribution notices contained
-          within such NOTICE file, excluding those notices that do not
-          pertain to any part of the Derivative Works, in at least one
-          of the following places: within a NOTICE text file distributed
-          as part of the Derivative Works; within the Source form or
-          documentation, if provided along with the Derivative Works; or,
-          within a display generated by the Derivative Works, if and
-          wherever such third-party notices normally appear. The contents
-          of the NOTICE file are for informational purposes only and
-          do not modify the License. You may add Your own attribution
-          notices within Derivative Works that You distribute, alongside
-          or as an addendum to the NOTICE text from the Work, provided
-          that such additional attribution notices cannot be construed
-          as modifying the License.
-
-      You may add Your own copyright statement to Your modifications and
-      may provide additional or different license terms and conditions
-      for use, reproduction, or distribution of Your modifications, or
-      for any such Derivative Works as a whole, provided Your use,
-      reproduction, and distribution of the Work otherwise complies with
-      the conditions stated in this License.
-
-   5. Submission of Contributions. Unless You explicitly state otherwise,
-      any Contribution intentionally submitted for inclusion in the Work
-      by You to the Licensor shall be under the terms and conditions of
-      this License, without any additional terms or conditions.
-      Notwithstanding the above, nothing herein shall supersede or modify
-      the terms of any separate license agreement you may have executed
-      with Licensor regarding such Contributions.
-
-   6. Trademarks. This License does not grant permission to use the trade
-      names, trademarks, service marks, or product names of the Licensor,
-      except as required for reasonable and customary use in describing the
-      origin of the Work and reproducing the content of the NOTICE file.
-
-   7. Disclaimer of Warranty. Unless required by applicable law or
-      agreed to in writing, Licensor provides the Work (and each
-      Contributor provides its Contributions) on an "AS IS" BASIS,
-      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-      implied, including, without limitation, any warranties or conditions
-      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
-      PARTICULAR PURPOSE. You are solely responsible for determining the
-      appropriateness of using or redistributing the Work and assume any
-      risks associated with Your exercise of permissions under this License.
-
-   8. Limitation of Liability. In no event and under no legal theory,
-      whether in tort (including negligence), contract, or otherwise,
-      unless required by applicable law (such as deliberate and grossly
-      negligent acts) or agreed to in writing, shall any Contributor be
-      liable to You for damages, including any direct, indirect, special,
-      incidental, or consequential damages of any character arising as a
-      result of this License or out of the use or inability to use the
-      Work (including but not limited to damages for loss of goodwill,
-      work stoppage, computer failure or malfunction, or any and all
-      other commercial damages or losses), even if such Contributor
-      has been advised of the possibility of such damages.
-
-   9. Accepting Warranty or Additional Liability. While redistributing
-      the Work or Derivative Works thereof, You may choose to offer,
-      and charge a fee for, acceptance of support, warranty, indemnity,
-      or other liability obligations and/or rights consistent with this
-      License. However, in accepting such obligations, You may act only
-      on Your own behalf and on Your sole responsibility, not on behalf
-      of any other Contributor, and only if You agree to indemnify,
-      defend, and hold each Contributor harmless for any liability
-      incurred by, or claims asserted against, such Contributor by reason
-      of your accepting any such warranty or additional liability.
-
-   END OF TERMS AND CONDITIONS
-
-   APPENDIX: How to apply the Apache License to your work.
-
-      To apply the Apache License to your work, attach the following
-      boilerplate notice, with the fields enclosed by brackets "[]"
-      replaced with your own identifying information. (Don't include
-      the brackets!)  The text should be enclosed in the appropriate
-      comment syntax for the file format. We also recommend that a
-      file or class name and description of purpose be included on the
-      same "printed page" as the copyright notice for easier
-      identification within third-party archives.
-
-   Copyright [yyyy] [name of copyright owner]
-
-   Licensed 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.
-
-
-   ASTERIXDB COMPONENTS:
-
-   AsterixDB includes a number of subcomponents with separate copyright
-   notices and license terms. Your use of the source code for these
-   subcomponents is subject to the terms and condition of the following
-   licenses.
-
-
-   Component(s):
-   - Java Servlet API (http://servlet-spec.java.n)
-     repo/javax.servlet-3.1.jar 
-   - javax.servlet API v.3.0 (http://jcp.org/en/jsr/detail?id=315)
-     repo/servlet-api-2.5.jar 
-   - grizzly-framework (http://grizzly.java.net/grizzly-framework)
-     repo/grizzly-framework-2.1.2.jar 
-   - grizzly-http (http://grizzly.java.net/grizzly-http)
-     repo/grizzly-http-2.1.2.jar 
-   - grizzly-http-server (http://grizzly.java.net/grizzly-http-server)
-     repo/grizzly-http-server-2.1.2.jar 
-   - grizzly-http-servlet (http://grizzly.java.net/grizzly-http-servlet)
-     repo/grizzly-http-servlet-2.1.2.jar 
-   - grizzly-rcm (http://grizzly.java.net/grizzly-rcm)
-     repo/grizzly-rcm-2.1.2.jar 
-   - management-api (http://kenai.com/hg/gmbal~gf_common)
-     repo/management-api-3.0.0-b012.jar 
-   - gmbal-api-only (http://kenai.com/hg/gmbal~master)
-     repo/gmbal-api-only-3.0.0-b023.jar 
-   - JavaBeans Activation Framework (JAF) (http://java.sun.com/products/javabeans/jaf/index.jsp)
-     repo/activation-1.1.jar 
-   - JavaMail API (https://glassfish.dev.java.net/javaee5/mail/)
-     repo/mail-1.4.5.jar 
-   - Java Servlet API
-     repo/servlet-api-2.5.jar 
-   - Java Transaction API (http://java.sun.com/products/jta/jta)
-     repo/jta-1.1.jar 
-   - Sun JAXB Reference Implementation Runtime (http://jaxb.java.net/jaxb-impl)
-     repo/jaxb-impl-2.2.3-1.jar 
-   - Java Architecture for XML Binding (JAXB API) (https://jaxb.dev.java.net/jaxb-api) 
-     repo/jaxb-api-2.2.2.jar 
-   - Streaming API for XML
-     repo/stax-api-1.0.1.jar 
-   - jsp-api
-     repo/jsp-api-2.1.jar 
-
-
-   are available under the CDDL 1.0
-   --
-      COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0
-
-      1. Definitions.
-
-      1.1. “Contributor” means each individual or entity that creates or contributes to the creation of Modifications.
-
-      1.2. “Contributor Version” means the combination of the Original Software, prior Modifications used by a Contributor (if any), and the Modifications made by that particular Contributor.
-
-      1.3. “Covered Software” means (a) the Original Software, or (b) Modifications, or (c) the combination of files containing Original Software with files containing Modifications, in each case including portions thereof.
-
-      1.4. “Executable” means the Covered Software in any form other than Source Code.
-
-      1.5. “Initial Developer” means the individual or entity that first makes Original Software available under this License.
-
-      1.6. “Larger Work” means a work which combines Covered Software or portions thereof with code not governed by the terms of this License.
-
-      1.7. “License” means this document.
-
-      1.8. “Licensable” means having the right to grant, to the maximum extent possible, whether at the time of the initial grant or subsequently acquired, any and all of the rights conveyed herein.
-
-      1.9. “Modifications” means the Source Code and Executable form of any of the following:
-
-      A. Any file that results from an addition to, deletion from or modification of the contents of a file containing Original Software or previous Modifications;
-
-      B. Any new file that contains any part of the Original Software or previous Modification; or
-
-      C. Any new file that is contributed or otherwise made available under the terms of this License.
-
-      1.10. “Original Software” means the Source Code and Executable form of computer software code that is originally released under this License.
-
-      1.11. “Patent Claims” means any patent claim(s), now owned or hereafter acquired, including without limitation, method, process, and apparatus claims, in any patent Licensable by grantor.
-
-      1.12. “Source Code” means (a) the common form of computer software code in which modifications are made and (b) associated documentation included in or with such code.
-
-      1.13. “You” (or “Your”) means an individual or a legal entity exercising rights under, and complying with all of the terms of, this License. For legal entities, “You” includes any entity which controls, is controlled by, or is under common control with You. For purposes of this definition, “control” means (a) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (b) ownership of more than fifty percent (50%) of the outstanding shares or beneficial ownership of such entity.
-
-      2. License Grants.
-
-      2.1. The Initial Developer Grant.
-
-      Conditioned upon Your compliance with Section 3.1 below and subject to third party intellectual property claims, the Initial Developer hereby grants You a world-wide, royalty-free, non-exclusive license:
-
-      (a) under intellectual property rights (other than patent or trademark) Licensable by Initial Developer, to use, reproduce, modify, display, perform, sublicense and distribute the Original Software (or portions thereof), with or without Modifications, and/or as part of a Larger Work; and
-
-      (b) under Patent Claims infringed by the making, using or selling of Original Software, to make, have made, use, practice, sell, and offer for sale, and/or otherwise dispose of the Original Software (or portions thereof).
-
-      (c) The licenses granted in Sections 2.1(a) and (b) are effective on the date Initial Developer first distributes or otherwise makes the Original Software available to a third party under the terms of this License.
-
-      (d) Notwithstanding Section 2.1(b) above, no patent license is granted: (1) for code that You delete from the Original Software, or (2) for infringements caused by: (i) the modification of the Original Software, or (ii) the combination of the Original Software with other software or devices.
-
-      2.2. Contributor Grant.
-
-      Conditioned upon Your compliance with Section 3.1 below and subject to third party intellectual property claims, each Contributor hereby grants You a world-wide, royalty-free, non-exclusive license:
-
-      (a) under intellectual property rights (other than patent or trademark) Licensable by Contributor to use, reproduce, modify, display, perform, sublicense and distribute the Modifications created by such Contributor (or portions thereof), either on an unmodified basis, with other Modifications, as Covered Software and/or as part of a Larger Work; and
-
-      (b) under Patent Claims infringed by the making, using, or selling of Modifications made by that Contributor either alone and/or in combination with its Contributor Version (or portions of such combination), to make, use, sell, offer for sale, have made, and/or otherwise dispose of: (1) Modifications made by that Contributor (or portions thereof); and (2) the combination of Modifications made by that Contributor with its Contributor Version (or portions of such combination).
-
-      (c) The licenses granted in Sections 2.2(a) and 2.2(b) are effective on the date Contributor first distributes or otherwise makes the Modifications available to a third party.
-
-      (d) Notwithstanding Section 2.2(b) above, no patent license is granted: (1) for any code that Contributor has deleted from the Contributor Version; (2) for infringements caused by: (i) third party modifications of Contributor Version, or (ii) the combination of Modifications made by that Contributor with other software (except as part of the Contributor Version) or other devices; or (3) under Patent Claims infringed by Covered Software in the absence of Modifications made by that Contributor.
-
-      3. Distribution Obligations.
-
-      3.1. Availability of Source Code.
-
-      Any Covered Software that You distribute or otherwise make available in Executable form must also be made available in Source Code form and that Source Code form must be distributed only under the terms of this License. You must include a copy of this License with every copy of the Source Code form of the Covered Software You distribute or otherwise make available. You must inform recipients of any such Covered Software in Executable form as to how they can obtain such Covered Software in Source Code form in a reasonable manner on or through a medium customarily used for software exchange.
-
-      3.2. Modifications.
-
-      The Modifications that You create or to which You contribute are governed by the terms of this License. You represent that You believe Your Modifications are Your original creation(s) and/or You have sufficient rights to grant the rights conveyed by this License.
-
-      3.3. Required Notices.
-
-      You must include a notice in each of Your Modifications that identifies You as the Contributor of the Modification. You may not remove or alter any copyright, patent or trademark notices contained within the Covered Software, or any notices of licensing or any descriptive text giving attribution to any Contributor or the Initial Developer.
-
-      3.4. Application of Additional Terms.
-
-      You may not offer or impose any terms on any Covered Software in Source Code form that alters or restricts the applicable version of this License or the recipients’ rights hereunder. You may choose to offer, and to charge a fee for, warranty, support, indemnity or liability obligations to one or more recipients of Covered Software. However, you may do so only on Your own behalf, and not on behalf of the Initial Developer or any Contributor. You must make it absolutely clear that any such warranty, support, indemnity or liability obligation is offered by You alone, and You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of warranty, support, indemnity or liability terms You offer.
-
-      3.5. Distribution of Executable Versions.
-
-      You may distribute the Executable form of the Covered Software under the terms of this License or under the terms of a license of Your choice, which may contain terms different from this License, provided that You are in compliance with the terms of this License and that the license for the Executable form does not attempt to limit or alter the recipient’s rights in the Source Code form from the rights set forth in this License. If You distribute the Covered Software in Executable form under a different license, You must make it absolutely clear that any terms which differ from this License are offered by You alone, not by the Initial Developer or Contributor. You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of any such terms You offer.
-
-      3.6. Larger Works.
-
-      You may create a Larger Work by combining Covered Software with other code not governed by the terms of this License and distribute the Larger Work as a single product. In such a case, You must make sure the requirements of this License are fulfilled for the Covered Software.
-
-      4. Versions of the License.
-
-      4.1. New Versions.
-
-      Sun Microsystems, Inc. is the initial license steward and may publish revised and/or new versions of this License from time to time. Each version will be given a distinguishing version number. Except as provided in Section 4.3, no one other than the license steward has the right to modify this License.
-
-      4.2. Effect of New Versions.
-
-      You may always continue to use, distribute or otherwise make the Covered Software available under the terms of the version of the License under which You originally received the Covered Software. If the Initial Developer includes a notice in the Original Software prohibiting it from being distributed or otherwise made available under any subsequent version of the License, You must distribute and make the Covered Software available under the terms of the version of the License under which You originally received the Covered Software. Otherwise, You may also choose to use, distribute or otherwise make the Covered Software available under the terms of any subsequent version of the License published by the license steward.
-
-      4.3. Modified Versions.
-
-      When You are an Initial Developer and You want to create a new license for Your Original Software, You may create and use a modified version of this License if You: (a) rename the license and remove any references to the name of the license steward (except to note that the license differs from this License); and (b) otherwise make it clear that the license contains terms which differ from this License.
-
-      5. DISCLAIMER OF WARRANTY.
-
-      COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN “AS IS” BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED SOFTWARE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED SOFTWARE IS WITH YOU. SHOULD ANY COVERED SOFTWARE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY COVERED SOFTWARE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
-
-      6. TERMINATION.
-
-      6.1. This License and the rights granted hereunder will terminate automatically if You fail to comply with terms herein and fail to cure such breach within 30 days of becoming aware of the breach. Provisions which, by their nature, must remain in effect beyond the termination of this License shall survive.
-
-      6.2. If You assert a patent infringement claim (excluding declaratory judgment actions) against Initial Developer or a Contributor (the Initial Developer or Contributor against whom You assert such claim is referred to as “Participant”) alleging that the Participant Software (meaning the Contributor Version where the Participant is a Contributor or the Original Software where the Participant is the Initial Developer) directly or indirectly infringes any patent, then any and all rights granted directly or indirectly to You by such Participant, the Initial Developer (if the Initial Developer is not the Participant) and all Contributors under Sections 2.1 and/or 2.2 of this License shall, upon 60 days notice from Participant terminate prospectively and automatically at the expiration of such 60 day notice period, unless if within such 60 day period You withdraw Your claim with respect to the Participant Software against such Participant either unilaterally or pursuant to a written agreement with Participant.
-
-      6.3. In the event of termination under Sections 6.1 or 6.2 above, all end user licenses that have been validly granted by You or any distributor hereunder prior to termination (excluding licenses granted to You by any distributor) shall survive termination.
-
-      7. LIMITATION OF LIABILITY.
-
-      UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED SOFTWARE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOST PROFITS, LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY RESULTING FROM SUCH PARTY’S NEGLIGENCE TO THE EXTENT APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
-
-      8. U.S. GOVERNMENT END USERS.
-
-      The Covered Software is a “commercial item,” as that term is defined in 48 C.F.R. 2.101 (Oct. 1995), consisting of “commercial computer software” (as that term is defined at 48 C.F.R. § 252.227-7014(a)(1)) and “commercial computer software documentation” as such terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all U.S. Government End Users acquire Covered Software with only those rights set forth herein. This U.S. Government Rights clause is in lieu of, and supersedes, any other FAR, DFAR, or other clause or provision that addresses Government rights in computer software under this License.
-
-      9. MISCELLANEOUS.
-
-      This License represents the complete agreement concerning subject matter hereof. If any provision of this License is held to be unenforceable, such provision shall be reformed only to the extent necessary to make it enforceable. This License shall be governed by the law of the jurisdiction specified in a notice contained within the Original Software (except to the extent applicable law, if any, provides otherwise), excluding such jurisdiction’s conflict-of-law provisions. Any litigation relating to this License shall be subject to the jurisdiction of the courts located in the jurisdiction and venue specified in a notice contained within the Original Software, with the losing party responsible for costs, including, without limitation, court costs and reasonable attorneys’ fees and expenses. The application of the United Nations Convention on Contracts for the International Sale of Goods is expressly excluded. Any law or regulation which provides that the language of a contract shall be construed against the drafter shall not apply to this License. You agree that You alone are responsible for compliance with the United States export administration regulations (and the export control laws and regulation of any other countries) when You use, distribute or otherwise make available any Covered Software.
-
-      10. RESPONSIBILITY FOR CLAIMS.
-
-      As between Initial Developer and the Contributors, each party is responsible for claims and damages arising, directly or indirectly, out of its utilization of rights under this License and You agree to work with Initial Developer and Contributors to distribute such responsibility on an equitable basis. Nothing herein is intended or shall be deemed to constitute any admission of liability.
-
-      NOTICE PURSUANT TO SECTION 9 OF THE COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL)
-
-      The code released under the CDDL shall be governed by the laws of the State of California (excluding conflict-of-law provisions). Any litigation relating to this License shall be subject to the jurisdiction of the Federal Courts of the Northern District of California and the state courts of the State of California, with venue lying in Santa Clara County, California.
-
-
-
-   ==
-
-   Component(s):
-  - jersey-client (https://jersey.java.net/jersey-client/)
-    repo/jersey-client-1.13.jar 
-  - jersey-core (https://jersey.java.net/jersey-core/)
-    repo/jersey-core-1.13.jar 
-  - jersey-grizzly2 (https://jersey.java.net/jersey-grizzly2/)
-    repo/jersey-grizzly2-1.9.jar 
-  - jersey-json (https://jersey.java.net/jersey-json/)
-    repo/jersey-json-1.13.jar 
-  - jersey-server (https://jersey.java.net/jersey-server/)
-    repo/jersey-server-1.9.jar 
-  - jersey-guice (https://jersey.java.net/jersey-contribs/jersey-guice/)
-    repo/jersey-guice-1.9.jar 
-  - Jersey Test FrameworkCore (https://jersey.java.net/jersey-test-framework/jersey-test-framework-core/)
-    repo/jersey-test-framework-1.9.jar 
-  - Jersey Test FrameworkGrizzly 2 Module (https://jersey.java.net/jersey-test-framework/jersey-test-framework-grizzly2/)
-    repo/jersey-test-framework-grizzly2-1.9.jar 
-
-   Are available under the CDDL 1.1:
-   --
-
-      COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL)Version 1.1
-
-      1. Definitions.
-
-      1.1. “Contributor” means each individual or entity that creates or contributes to the creation of Modifications.
-      1.2. “Contributor Version” means the combination of the Original Software, prior Modifications used by a Contributor (if any), and the Modifications made by that particular Contributor.
-      1.3. “Covered Software” means (a) the Original Software, or (b) Modifications, or (c) the combination of files containing Original Software with files containing Modifications, in each case including portions thereof.
-      1.4. “Executable” means the Covered Software in any form other than Source Code.
-      1.5. “Initial Developer” means the individual or entity that first makes Original Software available under this License.
-      1.6. “Larger Work” means a work which combines Covered Software or portions thereof with code not governed by the terms of this License.
-      1.7. “License” means this document.
-      1.8. “Licensable” means having the right to grant, to the maximum extent possible, whether at the time of the initial grant or subsequently acquired, any and all of the rights conveyed herein.
-      1.9. “Modifications” means the Source Code and Executable form of any of the following:
-      A. Any file that results from an addition to, deletion from or modification of the contents of a file containing Original Software or previous Modifications;
-      B. Any new file that contains any part of the Original Software or previous Modification; or
-      C. Any new file that is contributed or otherwise made available under the terms of this License.
-      1.10. “Original Software” means the Source Code and Executable form of computer software code that is originally released under this License.
-      1.11. “Patent Claims” means any patent claim(s), now owned or hereafter acquired, including without limitation, method, process, and apparatus claims, in any patent Licensable by grantor.
-      1.12. “Source Code” means (a) the common form of computer software code in which modifications are made and (b) associated documentation included in or with such code.
-      1.13. “You” (or “Your”) means an individual or a legal entity exercising rights under, and complying with all of the terms of, this License. For legal entities, “You” includes any entity which controls, is controlled by, or is under common control with You. For purposes of this definition, “control” means (a) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (b) ownership of more than fifty percent (50%) of the outstanding shares or beneficial ownership of such entity.
-      2. License Grants.
-
-      2.1. The Initial Developer Grant.
-      Conditioned upon Your compliance with Section 3.1 below and subject to third party intellectual property claims, the Initial Developer hereby grants You a world-wide, royalty-free, non-exclusive license:
-      (a) under intellectual property rights (other than patent or trademark) Licensable by Initial Developer, to use, reproduce, modify, display, perform, sublicense and distribute the Original Software (or portions thereof), with or without Modifications, and/or as part of a Larger Work; and
-      (b) under Patent Claims infringed by the making, using or selling of Original Software, to make, have made, use, practice, sell, and offer for sale, and/or otherwise dispose of the Original Software (or portions thereof).
-      (c) The licenses granted in Sections 2.1(a) and (b) are effective on the date Initial Developer first distributes or otherwise makes the Original Software available to a third party under the terms of this License.
-      (d) Notwithstanding Section 2.1(b) above, no patent license is granted: (1) for code that You delete from the Original Software, or (2) for infringements caused by: (i) the modification of the Original Software, or (ii) the combination of the Original Software with other software or devices.
-      2.2. Contributor Grant.
-      Conditioned upon Your compliance with Section 3.1 below and subject to third party intellectual property claims, each Contributor hereby grants You a world-wide, royalty-free, non-exclusive license:
-      (a) under intellectual property rights (other than patent or trademark) Licensable by Contributor to use, reproduce, modify, display, perform, sublicense and distribute the Modifications created by such Contributor (or portions thereof), either on an unmodified basis, with other Modifications, as Covered Software and/or as part of a Larger Work; and
-      (b) under Patent Claims infringed by the making, using, or selling of Modifications made by that Contributor either alone and/or in combination with its Contributor Version (or portions of such combination), to make, use, sell, offer for sale, have made, and/or otherwise dispose of: (1) Modifications made by that Contributor (or portions thereof); and (2) the combination of Modifications made by that Contributor with its Contributor Version (or portions of such combination).
-      (c) The licenses granted in Sections 2.2(a) and 2.2(b) are effective on the date Contributor first distributes or otherwise makes the Modifications available to a third party.
-      (d) Notwithstanding Section 2.2(b) above, no patent license is granted: (1) for any code that Contributor has deleted from the Contributor Version; (2) for infringements caused by: (i) third party modifications of Contributor Version, or (ii) the combination of Modifications made by that Contributor with other software (except as part of the Contributor Version) or other devices; or (3) under Patent Claims infringed by Covered Software in the absence of Modifications made by that Contributor.
-      3. Distribution Obligations.
-
-      3.1. Availability of Source Code.
-      Any Covered Software that You distribute or otherwise make available in Executable form must also be made available in Source Code form and that Source Code form must be distributed only under the terms of this License. You must include a copy of this License with every copy of the Source Code form of the Covered Software You distribute or otherwise make available. You must inform recipients of any such Covered Software in Executable form as to how they can obtain such Covered Software in Source Code form in a reasonable manner on or through a medium customarily used for software exchange.
-      3.2. Modifications.
-      The Modifications that You create or to which You contribute are governed by the terms of this License. You represent that You believe Your Modifications are Your original creation(s) and/or You have sufficient rights to grant the rights conveyed by this License.
-      3.3. Required Notices.
-      You must include a notice in each of Your Modifications that identifies You as the Contributor of the Modification. You may not remove or alter any copyright, patent or trademark notices contained within the Covered Software, or any notices of licensing or any descriptive text giving attribution to any Contributor or the Initial Developer.
-      3.4. Application of Additional Terms.
-      You may not offer or impose any terms on any Covered Software in Source Code form that alters or restricts the applicable version of this License or the recipients' rights hereunder. You may choose to offer, and to charge a fee for, warranty, support, indemnity or liability obligations to one or more recipients of Covered Software. However, you may do so only on Your own behalf, and not on behalf of the Initial Developer or any Contributor. You must make it absolutely clear that any such warranty, support, indemnity or liability obligation is offered by You alone, and You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of warranty, support, indemnity or liability terms You offer.
-      3.5. Distribution of Executable Versions.
-      You may distribute the Executable form of the Covered Software under the terms of this License or under the terms of a license of Your choice, which may contain terms different from this License, provided that You are in compliance with the terms of this License and that the license for the Executable form does not attempt to limit or alter the recipient's rights in the Source Code form from the rights set forth in this License. If You distribute the Covered Software in Executable form under a different license, You must make it absolutely clear that any terms which differ from this License are offered by You alone, not by the Initial Developer or Contributor. You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of any such terms You offer.
-      3.6. Larger Works.
-      You may create a Larger Work by combining Covered Software with other code not governed by the terms of this License and distribute the Larger Work as a single product. In such a case, You must make sure the requirements of this License are fulfilled for the Covered Software.
-      4. Versions of the License.
-
-      4.1. New Versions.
-      Oracle is the initial license steward and may publish revised and/or new versions of this License from time to time. Each version will be given a distinguishing version number. Except as provided in Section 4.3, no one other than the license steward has the right to modify this License.
-      4.2. Effect of New Versions.
-      You may always continue to use, distribute or otherwise make the Covered Software available under the terms of the version of the License under which You originally received the Covered Software. If the Initial Developer includes a notice in the Original Software prohibiting it from being distributed or otherwise made available under any subsequent version of the License, You must distribute and make the Covered Software available under the terms of the version of the License under which You originally received the Covered Software. Otherwise, You may also choose to use, distribute or otherwise make the Covered Software available under the terms of any subsequent version of the License published by the license steward.
-      4.3. Modified Versions.
-      When You are an Initial Developer and You want to create a new license for Your Original Software, You may create and use a modified version of this License if You: (a) rename the license and remove any references to the name of the license steward (except to note that the license differs from this License); and (b) otherwise make it clear that the license contains terms which differ from this License.
-      5. DISCLAIMER OF WARRANTY.
-
-      COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN “AS IS” BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED SOFTWARE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED SOFTWARE IS WITH YOU. SHOULD ANY COVERED SOFTWARE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY COVERED SOFTWARE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
-
-      6. TERMINATION.
-
-      6.1. This License and the rights granted hereunder will terminate automatically if You fail to comply with terms herein and fail to cure such breach within 30 days of becoming aware of the breach. Provisions which, by their nature, must remain in effect beyond the termination of this License shall survive.
-      6.2. If You assert a patent infringement claim (excluding declaratory judgment actions) against Initial Developer or a Contributor (the Initial Developer or Contributor against whom You assert such claim is referred to as “Participant”) alleging that the Participant Software (meaning the Contributor Version where the Participant is a Contributor or the Original Software where the Participant is the Initial Developer) directly or indirectly infringes any patent, then any and all rights granted directly or indirectly to You by such Participant, the Initial Developer (if the Initial Developer is not the Participant) and all Contributors under Sections 2.1 and/or 2.2 of this License shall, upon 60 days notice from Participant terminate prospectively and automatically at the expiration of such 60 day notice period, unless if within such 60 day period You withdraw Your claim with respect to the Participant Software against such Participant either unilaterally or pursuant to a written agreement with Participant.
-      6.3. If You assert a patent infringement claim against Participant alleging that the Participant Software directly or indirectly infringes any patent where such claim is resolved (such as by license or settlement) prior to the initiation of patent infringement litigation, then the reasonable value of the licenses granted by such Participant under Sections 2.1 or 2.2 shall be taken into account in determining the amount or value of any payment or license.
-      6.4. In the event of termination under Sections 6.1 or 6.2 above, all end user licenses that have been validly granted by You or any distributor hereunder prior to termination (excluding licenses granted to You by any distributor) shall survive termination.
-      7. LIMITATION OF LIABILITY.
-
-      UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED SOFTWARE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
-
-      8. U.S. GOVERNMENT END USERS.
-
-      The Covered Software is a “commercial item,” as that term is defined in 48 C.F.R. 2.101 (Oct. 1995), consisting of “commercial computer software” (as that term is defined at 48 C.F.R. § 252.227-7014(a)(1)) and “commercial computer software documentation” as such terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all U.S. Government End Users acquire Covered Software with only those rights set forth herein. This U.S. Government Rights clause is in lieu of, and supersedes, any other FAR, DFAR, or other clause or provision that addresses Government rights in computer software under this License.
-
-      9. MISCELLANEOUS.
-
-      This License represents the complete agreement concerning subject matter hereof. If any provision of this License is held to be unenforceable, such provision shall be reformed only to the extent necessary to make it enforceable. This License shall be governed by the law of the jurisdiction specified in a notice contained within the Original Software (except to the extent applicable law, if any, provides otherwise), excluding such jurisdiction's conflict-of-law provisions. Any litigation relating to this License shall be subject to the jurisdiction of the courts located in the jurisdiction and venue specified in a notice contained within the Original Software, with the losing party responsible for costs, including, without limitation, court costs and reasonable attorneys' fees and expenses. The application of the United Nations Convention on Contracts for the International Sale of Goods is expressly excluded. Any law or regulation which provides that the language of a contract shall be construed against the drafter shall not apply to this License. You agree that You alone are responsible for compliance with the United States export administration regulations (and the export control laws and regulation of any other countries) when You use, distribute or otherwise make available any Covered Software.
-
-      10. RESPONSIBILITY FOR CLAIMS.
-
-      As between Initial Developer and the Contributors, each party is responsible for claims and damages arising, directly or indirectly, out of its utilization of rights under this License and You agree to work with Initial Developer and Contributors to distribute such responsibility on an equitable basis. Nothing herein is intended or shall be deemed to constitute any admission of liability.
-
-      NOTICE PURSUANT TO SECTION 9 OF THE COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL)
-
-      The code released under the CDDL shall be governed by the laws of the State of California (excluding conflict-of-law provisions). Any litigation relating to this License shall be subject to the jurisdiction of the Federal Courts of the Northern District of California and the state courts of the State of California, with venue lying in Santa Clara County, California.
-   --
-
-
-   ===
-
-   Component(s):
-
-   - JUnit (http://junit.org)
-     repo/junit-4.11.jar 
-
-   Are available under the CPL 1.0:
-
-   --
-
-      Common Public License Version 1.0
-      THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC
-      LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM
-      CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
-
-      1. DEFINITIONS
-
-      "Contribution" means:
-
-      a) in the case of the initial Contributor, the initial code and
-      documentation distributed under this Agreement, and
-
-      b) in the case of each subsequent Contributor:
-
-      i) changes to the Program, and
-
-      ii) additions to the Program;
-
-      where such changes and/or additions to the Program originate from and are
-      distributed by that particular Contributor. A Contribution 'originates' from a
-      Contributor if it was added to the Program by such Contributor itself or anyone
-      acting on such Contributor's behalf. Contributions do not include additions to
-      the Program which: (i) are separate modules of software distributed in
-      conjunction with the Program under their own license agreement, and (ii) are not
-      derivative works of the Program.
-
-      "Contributor" means any person or entity that distributes the Program.
-
-      "Licensed Patents " mean patent claims licensable by a Contributor which are
-      necessarily infringed by the use or sale of its Contribution alone or when
-      combined with the Program.
-
-      "Program" means the Contributions distributed in accordance with this Agreement.
-
-      "Recipient" means anyone who receives the Program under this Agreement,
-      including all Contributors.
-
-      2. GRANT OF RIGHTS
-
-      a) Subject to the terms of this Agreement, each Contributor hereby grants
-      Recipient a non-exclusive, worldwide, royalty-free copyright license to
-      reproduce, prepare derivative works of, publicly display, publicly perform,
-      distribute and sublicense the Contribution of such Contributor, if any, and such
-      derivative works, in source code and object code form.
-
-      b) Subject to the terms of this Agreement, each Contributor hereby grants
-      Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed
-      Patents to make, use, sell, offer to sell, import and otherwise transfer the
-      Contribution of such Contributor, if any, in source code and object code form.
-      This patent license shall apply to the combination of the Contribution and the
-      Program if, at the time the Contribution is added by the Contributor, such
-      addition of the Contribution causes such combination to be covered by the
-      Licensed Patents. The patent license shall not apply to any other combinations
-      which include the Contribution. No hardware per se is licensed hereunder.
-
-      c) Recipient understands that although each Contributor grants the licenses
-      to its Contributions set forth herein, no assurances are provided by any
-      Contributor that the Program does not infringe the patent or other intellectual
-      property rights of any other entity. Each Contributor disclaims any liability to
-      Recipient for claims brought by any other entity based on infringement of
-      intellectual property rights or otherwise. As a condition to exercising the
-      rights and licenses granted hereunder, each Recipient hereby assumes sole
-      responsibility to secure any other intellectual property rights needed, if any.
-      For example, if a third party patent license is required to allow Recipient to
-      distribute the Program, it is Recipient's responsibility to acquire that license
-      before distributing the Program.
-
-      d) Each Contributor represents that to its knowledge it has sufficient
-      copyright rights in its Contribution, if any, to grant the copyright license set
-      forth in this Agreement.
-
-      3. REQUIREMENTS
-
-      A Contributor may choose to distribute the Program in object code form under its
-      own license agreement, provided that:
-
-      a) it complies with the terms and conditions of this Agreement; and
-
-      b) its license agreement:
-
-      i) effectively disclaims on behalf of all Contributors all warranties and
-      conditions, express and implied, including warranties or conditions of title and
-      non-infringement, and implied warranties or conditions of merchantability and
-      fitness for a particular purpose;
-
-      ii) effectively excludes on behalf of all Contributors all liability for
-      damages, including direct, indirect, special, incidental and consequential
-      damages, such as lost profits;
-
-      iii) states that any provisions which differ from this Agreement are offered
-      by that Contributor alone and not by any other party; and
-
-      iv) states that source code for the Program is available from such
-      Contributor, and informs licensees how to obtain it in a reasonable manner on or
-      through a medium customarily used for software exchange.
-
-      When the Program is made available in source code form:
-
-      a) it must be made available under this Agreement; and
-
-      b) a copy of this Agreement must be included with each copy of the Program.
-
-      Contributors may not remove or alter any copyright notices contained within the
-      Program.
-
-      Each Contributor must identify itself as the originator of its Contribution, if
-      any, in a manner that reasonably allows subsequent Recipients to identify the
-      originator of the Contribution.
-
-      4. COMMERCIAL DISTRIBUTION
-
-      Commercial distributors of software may accept certain responsibilities with
-      respect to end users, business partners and the like. While this license is
-      intended to facilitate the commercial use of the Program, the Contributor who
-      includes the Program in a commercial product offering should do so in a manner
-      which does not create potential liability for other Contributors. Therefore, if
-      a Contributor includes the Program in a commercial product offering, such
-      Contributor ("Commercial Contributor") hereby agrees to defend and indemnify
-      every other Contributor ("Indemnified Contributor") against any losses, damages
-      and costs (collectively "Losses") arising from claims, lawsuits and other legal
-      actions brought by a third party against the Indemnified Contributor to the
-      extent caused by the acts or omissions of such Commercial Contributor in
-      connection with its distribution of the Program in a commercial product
-      offering. The obligations in this section do not apply to any claims or Losses
-      relating to any actual or alleged intellectual property infringement. In order
-      to qualify, an Indemnified Contributor must: a) promptly notify the Commercial
-      Contributor in writing of such claim, and b) allow the Commercial Contributor to
-      control, and cooperate with the Commercial Contributor in, the defense and any
-      related settlement negotiations. The Indemnified Contributor may participate in
-      any such claim at its own expense.
-
-      For example, a Contributor might include the Program in a commercial product
-      offering, Product X. That Contributor is then a Commercial Contributor. If that
-      Commercial Contributor then makes performance claims, or offers warranties
-      related to Product X, those performance claims and warranties are such
-      Commercial Contributor's responsibility alone. Under this section, the
-      Commercial Contributor would have to defend claims against the other
-      Contributors related to those performance claims and warranties, and if a court
-      requires any other Contributor to pay any damages as a result, the Commercial
-      Contributor must pay those damages.
-
-      5. NO WARRANTY
-
-      EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN
-      "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR
-      IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE,
-      NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each
-      Recipient is solely responsible for determining the appropriateness of using and
-      distributing the Program and assumes all risks associated with its exercise of
-      rights under this Agreement, including but not limited to the risks and costs of
-      program errors, compliance with applicable laws, damage to or loss of data,
-      programs or equipment, and unavailability or interruption of operations.
-
-      6. DISCLAIMER OF LIABILITY
-
-      EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY
-      CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-      SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST
-      PROFITS), 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 OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS
-      GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
-
-      7. GENERAL
-
-      If any provision of this Agreement is invalid or unenforceable under applicable
-      law, it shall not affect the validity or enforceability of the remainder of the
-      terms of this Agreement, and without further action by the parties hereto, such
-      provision shall be reformed to the minimum extent necessary to make such
-      provision valid and enforceable.
-
-      If Recipient institutes patent litigation against a Contributor with respect to
-      a patent applicable to software (including a cross-claim or counterclaim in a
-      lawsuit), then any patent licenses granted by that Contributor to such Recipient
-      under this Agreement shall terminate as of the date such litigation is filed. In
-      addition, if Recipient institutes patent litigation against any entity
-      (including a cross-claim or counterclaim in a lawsuit) alleging that the Program
-      itself (excluding combinations of the Program with other software or hardware)
-      infringes such Recipient's patent(s), then such Recipient's rights granted under
-      Section 2(b) shall terminate as of the date such litigation is filed.
-
-      All Recipient's rights under this Agreement shall terminate if it fails to
-      comply with any of the material terms or conditions of this Agreement and does
-      not cure such failure in a reasonable period of time after becoming aware of
-      such noncompliance. If all Recipient's rights under this Agreement terminate,
-      Recipient agrees to cease use and distribution of the Program as soon as
-      reasonably practicable. However, Recipient's obligations under this Agreement
-      and any licenses granted by Recipient relating to the Program shall continue and
-      survive.
-
-      Everyone is permitted to copy and distribute copies of this Agreement, but in
-      order to avoid inconsistency the Agreement is copyrighted and may only be
-      modified in the following manner. The Agreement Steward reserves the right to
-      publish new versions (including revisions) of this Agreement from time to time.
-      No one other than the Agreement Steward has the right to modify this Agreement.
-      IBM is the initial Agreement Steward. IBM may assign the responsibility to serve
-      as the Agreement Steward to a suitable separate entity. Each new version of the
-      Agreement will be given a distinguishing version number. The Program (including
-      Contributions) may always be distributed subject to the version of the Agreement
-      under which it was received. In addition, after a new version of the Agreement
-      is published, Contributor may elect to distribute the Program (including its
-      Contributions) under the new version. Except as expressly stated in Sections
-      2(a) and 2(b) above, Recipient receives no rights or licenses to the
-      intellectual property of any Contributor under this Agreement, whether
-      expressly, by implication, estoppel or otherwise. All rights in the Program not
-      expressly granted under this Agreement are reserved.
-
-      This Agreement is governed by the laws of the State of New York and the
-      intellectual property laws of the United States of America. No party to this
-      Agreement will bring a legal action under this Agreement more than one year
-      after the cause of action arose. Each party waives its rights to a jury trial in
-      any resulting litigation.
-      --
-
-      ===
-      Component(s)
-
-      - SLF4J JCL Binding (http://www.slf4j.org) 
-        repo/slf4j-jcl-1.6.3.jar 
-      - SLF4J LOG4J-12 Binding (http://www.slf4j.org)
-        repo/slf4j-log4j12-1.7.5.jar 
-      - SLF4J API Module (http://www.slf4j.org/slf4j-api)
-        repo/slf4j-api-1.6.1.jar 
-
-      are provided under the MIT license:
-
-      --
-      Copyright (c) 2004-2013 QOS.ch
-       All rights reserved.
-
-       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.
-   --
-
-   ===
-   Component(s):
-   - antlr-runtime (http://www.antlr.org/antlr-runtime)
-     repo/antlr-runtime-3.4.jar 
-   - ANTLR ST4 4.0.4 (http://www.stringtemplate.org)
-     repo/ST4-4.0.4.jar 
-   - ANTLR StringTemplate (http://www.stringtemplate.org)
-     repo/stringtemplate-3.2.1.jar 
-   - AntLR Parser Generator (http://www.antlr.org/)
-     repo/antlr-2.7.7.jar 
-
-   Are available under a  BSD-style License:
-
-   --
-      Copyright (c) 2012 Terence Parr and Sam Harwell
-      All rights reserved.
-      Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
-      Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
-      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.
-      Neither the name of the author 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 OWNER 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.
-   --
-
-   ===
-   Component(s):
-   - JSch (http://www.jcraft.com/jsch/) 
-     repo/jsch-0.1.42.jar 
-
-   are available under a BSD-style license:
-
-   --
-      JSch 0.0.* was released under the GNU LGPL license.  Later, we have switched 
-      over to a BSD-style license. 
-
-      ------------------------------------------------------------------------------
-      Copyright (c) 2002-2015 Atsuhiko Yamanaka, JCraft,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. The names of the authors may not be used to endorse or promote products
-           derived from this software without specific prior written permission.
-
-      THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 JCRAFT,
-      INC. OR ANY CONTRIBUTORS TO THIS SOFTWARE 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.
-   --
-
-   ===
-   Component(s):
-   - StAX Utilities (http://stax-utils.dev.java.net/stax-utils)
-     net.java.dev.stax-utils:stax-utils:jar:20060502:compile
-
-   are available under a BSD-style license::
-
-   --
-      Copyright (c) 2004, Christian Niles, unit12.net
-      Copyright (c) 2004, Sun Microsystems, Inc.
-      Copyright (c) 2006, John Kristian 
-      All rights reserved.
-
-      Redistribution and use in source and binary forms, with or without
-      modification, are permitted provided that the following conditions are
-      met:
-
-          * Redistributions of source code must retain the above copyright
-            notice, this list of conditions and the following disclaimer.
-
-          * 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.
-
-          * Neither the name of the listed copyright holders 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
-      OWNER 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.
-   --
-
-   ===
-   Component(s):
-   - ParaNamer Core (http://paranamer.codehaus.org/paranamer) 
-     repo/paranamer-2.3.jar 
-
-   are available under a BSD-style license:
-
-   --
-      [ ParaNamer used to be 'Pubic Domain', but since it includes a small piece of ASM it is now the same license as that: BSD ]
-
-       Copyright (c) 2006 Paul Hammant & ThoughtWorks 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 the copyright holders 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 OWNER 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
-   --
-
-   ===
-   Component(s):
-   - JDOM
-     repo/jdom-1.0.jar 
-
-   are available under a Modified ASL license:
-   --
-      /*-- 
-
-       $Id: LICENSE.txt,v 1.11 2004/02/06 09:32:57 jhunter Exp $
-
-       Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin.
-       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 disclaimer that follows 
-          these conditions in the documentation and/or other materials 
-          provided with the distribution.
-
-       3. The name "JDOM" must not be used to endorse or promote products
-          derived from this software without prior written permission.  For
-          written permission, please contact <request_AT_jdom_DOT_org>.
-       
-       4. Products derived from this software may not be called "JDOM", nor
-          may "JDOM" appear in their name, without prior written permission
-          from the JDOM Project Management <request_AT_jdom_DOT_org>.
-       
-       In addition, we request (but do not require) that you include in the 
-       end-user documentation provided with the redistribution and/or in the 
-       software itself an acknowledgement equivalent to the following:
-           "This product includes software developed by the
-            JDOM Project (http://www.jdom.org/)."
-       Alternatively, the acknowledgment may be graphical using the logos 
-       available at http://www.jdom.org/images/logos.
-
-       THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 JDOM AUTHORS OR THE PROJECT
-       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.
-
-       This software consists of voluntary contributions made by many 
-       individuals on behalf of the JDOM Project and was originally 
-       created by Jason Hunter <jhunter_AT_jdom_DOT_org> and
-       Brett McLaughlin <brett_AT_jdom_DOT_org>.  For more information
-       on the JDOM Project, please see <http://www.jdom.org/>. 
-
-    */
-   --
-
-   ===
-   Component(s):
-   - Hamcrest Core (https://github.com/hamcrest/JavaHamcrest/hamcrest-core) 
-     repo/hamcrest-core-1.3.jar 
-
-   are available under a BSD-style license
-   --
-      BSD License
-
-      Copyright (c) 2000-2006, www.hamcrest.org
-      All rights reserved.
-
-      Redistribution and use in source and binary forms, with or without
-      modification, are permitted provided that the following conditions are met:
-
-      Redistributions of source code must retain the above copyright notice, this list of
-      conditions and the following disclaimer. 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.
-
-      Neither the name of Hamcrest 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 OWNER 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.
-   --
-
-   ===
-   Component(s):
-   - Protocol Buffer Java API (http://code.google.com/p/protobuf) 
-     repo/prtobuf-java-2.5.0.jar 
-
-   are available under a BSD-style license:
-
-   --
-      This license applies to all parts of Protocol Buffers except the following:
-
-        - Atomicops support for generic gcc, located in
-          src/google/protobuf/stubs/atomicops_internals_generic_gcc.h.
-          This file is copyrighted by Red Hat Inc.
-
-        - Atomicops support for AIX/POWER, located in
-          src/google/protobuf/stubs/atomicops_internals_power.h.
-          This file is copyrighted by Bloomberg Finance LP.
-
-      Copyright 2014, Google 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:
-
-          * Redistributions of source code must retain the above copyright
-      notice, this list of conditions and the following disclaimer.
-          * 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.
-          * Neither the name of Google Inc. 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
-      OWNER 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.
-
-      Code generated by the Protocol Buffer compiler is owned by the owner
-      of the input file used when generating it.  This code is not
-      standalone and requires a support library to be linked with it.  This
-      support library is itself covered by the above license.
-   --
-
-   ===
-   Component(s):
-   - JSON (JavaScript Object Notation) (http://www.json.org/java/index.html) 
-     repo/json-20090211.jar 
-
-   are available under the JSON license:
-
-   --
-      Copyright (c) 2002 JSON.org
-
-      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 shall be used for Good, not Evil.
-
-      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.
-   --
-
-   ===
-   Component(s):
-   - XZ for Java (http://tukaani.org/xz/java.html) 
-     repo/xz-1.0.jar 
-   - XML Pull Parsing API (http://aopalliance.sourceforge.net/aopalliance) 
-     repo/aopalliance-1.0.jar 
-
-   are in the public domain.
-
-   ===
-
-   Component(s):
-   - JLine (http://jline.sourceforge.net) 
-     repo/jline-0.9.94.jar 
-
-   are available under a BSD-style license:
-   --
-
-      Copyright (c) 2002-2006, Marc Prud'hommeaux <mwp1@cornell.edu>
-      All rights reserved.
-
-      Redistribution and use in source and binary forms, with or
-      without modification, are permitted provided that the following
-      conditions are met:
-
-      Redistributions of source code must retain the above copyright
-      notice, this list of conditions and the following disclaimer.
-
-      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.
-
-      Neither the name of JLine 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 OWNER 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.
-   --
-
-   ===
-   Component(s):
-
-   - xmlenc Library (http://xmlenc.sourceforge.net) 
-     repo/xmlenc-0.52.jar 
-
-   are available under a BSD-style license:
-
-   --
-      Copyright 2003-2005, Ernst de Haan <wfe.dehaan@gmail.com>
-      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 the copyright holder 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 HOLDER 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 OWNER 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.
-   --
-
-   ===
-   Component(s):
-   - Appassembler :: Generic Bootstrapper (http://mojo.codehaus.org/appassembler/appassembler-booter) 
-     repo/appassembler-booter-1.3.1.jar 
-   - Appassembler :: Model (http://mojo.codehaus.org/appassembler/appassembler-model) 
-     repo/appassembler-model-1.3.1.jar 
-
-   are available under the MIT license:
-
-   --
-      The MIT License
-
-      Copyright 2006-2012 The Codehaus.
-
-      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.
-   --
-
-   ===
-   Component(s):
-
-   - args4j (http://args4j.dev.java.net/args4j/) 
-     repo/args4j-2.0.12.jar 
-
-   are available under the MIT License:
-
-   --
-      Copyright (c) 2003, Kohsuke Kawaguchi
-
-      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.
-   --
-
-   ===
-   Component(s)
-   - ASM Core (http://asm.objectweb.org/asm/) 
-     repo/asm-3.1.jar 
-
-   are available under a BSD-style license:
-
-   --
-      Copyright (c) 2000-2011 INRIA, France Telecom
-      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 the copyright holders 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 OWNER 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.
-   --
-
-
-   ===
-   Component(s)
-   - Plexus Utils (http://asm.objectweb.org/asm/) 
-     repo/plexus-utils-3.0.7.jar 
-
-    contain components under a BSD-style license:
-
-   --
-    /********************************************************************************
-     * CruiseControl, a Continuous Integration Toolkit
-     * Copyright (c) 2001-2003, ThoughtWorks, Inc.
-     * 651 W Washington Ave. Suite 500
-     * Chicago, IL 60661 USA
-     * All rights reserved.
-     *
-     * Redistribution and use in source and binary forms, with or without
-     * modification, are permitted provided that the following conditions
-     * are met:
-     *
-     *     + Redistributions of source code must retain the above copyright
-     *       notice, this list of conditions and the following disclaimer.
-     *
-     *     + 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.
-     *
-     *     + Neither the name of ThoughtWorks, Inc., CruiseControl, 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 REGENTS 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.
-     ********************************************************************************/
-   --
-
-   ===
-   Component(s)
-   - Plexus Utils (http://asm.objectweb.org/asm/) 
-     repo/plexus-utils-3.0.7.jar 
-
-    contain components under a BSD-style license:
-
-   --
-    Javolution - Java(TM) Solution for Real-Time and Embedded Systems
-    Copyright (c) 2006, Javolution (http://javolution.org)
-    All rights reserved.
-
-    Redistribution and use in source and binary forms, with or without modification,
-    are permitted provided that the following conditions are met:
-
-        * Redistributions of source code must retain the above copyright notice,
-          this list of conditions and the following disclaimer.
-        * 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.
-
-    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 OWNER 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.
-   --
-
-   ===
-   Component(s)
-   - Plexus Utils (http://asm.objectweb.org/asm/) 
-     repo/plexus-utils-3.0.7.jar 
-
-    contain components under the Indiana University Extreme! Lab Software License:
-
-   --
-    Indiana University Extreme! Lab Software License
-
-    Version 1.1.1
-
-    Copyright (c) 2002 Extreme! Lab, Indiana University. 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. The end-user documentation included with the redistribution, if any, 
-       must include the following acknowledgment:
-
-      "This product includes software developed by the Indiana University 
-      Extreme! Lab (http://www.extreme.indiana.edu/)."
-
-    Alternately, this acknowledgment may appear in the software itself, 
-    if and wherever such third-party acknowledgments normally appear.
-
-    4. The names "Indiana Univeristy" and "Indiana Univeristy Extreme! Lab" 
-    must not be used to endorse or promote products derived from this 
-    software without prior written permission. For written permission, 
-    please contact http://www.extreme.indiana.edu/.
-
-    5. Products derived from this software may not use "Indiana Univeristy" 
-    name nor may "Indiana Univeristy" appear in their name, without prior 
-    written permission of the Indiana University.
-
-    THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED 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 AUTHORS, COPYRIGHT HOLDERS OR ITS 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.
-   --
-===
-
-
-For portions of the AsterixDB WebUI in:
-repo/asterix-app-0.8.8.jar, within
-asterix/asterix-server-0.8.8-binary-assembly.zip, within this assembly
-located at:
-
- webui/static/js/jquery.min.js
-and
- webui/static/js/jquery.autosize-min.js
-
-are available under a MIT-style 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.
-
-as well as portions of the WebUI at:
-webui/static/js/bootstrap.min.js
-
-   The MIT License (MIT)
-
-   Copyright (c) 2011-2015 Twitter, Inc
-
-   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.
-
-
-and portions of the WebUI at:
-webui/static/js/smoothie.js
-
-   MIT License
-   -----------
-
-   Copyright (c) 2010-2013, Joe Walnes
-                 2013-2014, Drew Noakes
-
-                 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.
diff --git a/asterixdb/asterix-server/src/main/licenses/NOTICE b/asterixdb/asterix-server/src/main/licenses/NOTICE
deleted file mode 100644
index 4686009..0000000
--- a/asterixdb/asterix-server/src/main/licenses/NOTICE
+++ /dev/null
@@ -1,734 +0,0 @@
-Apache AsterixDB Server Distributable
-Copyright 2016 The Apache Software Foundation
-
-This product includes software developed at
-The Apache Software Foundation (http://www.apache.org/).
-
-AsterixDB utilizes many libraries, which come with the following applicable NOTICE(s):
-
- - repo/avro-1.7.4.jar
-
-    Apache Avro
-    Copyright 2009-2013 The Apache Software Foundation
-
- - repo/commons-logging-1.1.1.jar
-
-    Commons Logging
-    Copyright 2001-2007 The Apache Software Foundation
-
- - repo/derby-10.10.1.1.jar
-
-    Apache Derby
-    Copyright 2004-2013 The Apache Software Foundation
-
-    =========================================================================
-
-    Portions of Derby were originally developed by
-    International Business Machines Corporation and are
-    licensed to the Apache Software Foundation under the
-    "Software Grant and Corporate Contribution License Agreement",
-    informally known as the "Derby CLA".
-    The following copyright notice(s) were affixed to portions of the code
-    with which this file is now or was at one time distributed
-    and are placed here unaltered.
-
-    (C) Copyright 1997,2004 International Business Machines Corporation.  All rights reserved.
-
-    (C) Copyright IBM Corp. 2003. 
-
-
-    =========================================================================
-
-
-    The JDBC apis for small devices and JDBC3 (under java/stubs/jsr169 and
-    java/stubs/jdbc3) were produced by trimming sources supplied by the
-    Apache Harmony project. In addition, the Harmony SerialBlob and
-    SerialClob implementations are used. The following notice covers the Harmony sources:
-
-    Portions of Harmony were originally developed by
-    Intel Corporation and are licensed to the Apache Software
-    Foundation under the "Software Grant and Corporate Contribution
-    License Agreement", informally known as the "Intel Harmony CLA".
-
-
- - repo/guice-3.0.jar
-
-    Google Guice - Core Library
-    Copyright 2006-2011 Google, Inc.
-
- - repo/guice-servlet-3.0.jar
-
-    Google Guice - Extensions - Servlet
-    Copyright 2006-2011 Google, Inc.
-
- - repo/hive-ant-0.13.0.jar
-
-    Hive Ant Utilities
-    Copyright 2014 The Apache Software Foundation
-
- - repo/hive-common-0.13.0.jar
-
-    Hive Common
-    Copyright 2014 The Apache Software Foundation
-
- - repo/hive-exec-0.13.0.jar
-
-    Hive Query Language
-    Copyright 2014 The Apache Software Foundation
-
- - repo/hive-metastore-0.13.0.jar
-
-    Hive Metastore
-    Copyright 2014 The Apache Software Foundation
-
- - repo/hive-serde-0.13.0.jar
-
-    Hive Serde
-    Copyright 2014 The Apache Software Foundation
-
- - repo/hive-shims-0.13.0.jar
-
-    Hive Shims
-    Copyright 2014 The Apache Software Foundation
-
- - repo/hive-shims-0.20-0.13.0.jar
-
-    Hive Shims 0.20
-    Copyright 2014 The Apache Software Foundation
-
- - repo/hive-shims-0.20S-0.13.0.jar
-
-    Hive Shims 0.20S
-    Copyright 2014 The Apache Software Foundation
-
- - repo/hive-shims-0.23-0.13.0.jar
-
-    Hive Shims 0.23
-    Copyright 2014 The Apache Software Foundation
-
- - repo/hive-shims-common-0.13.0.jar
-
-Hive Shims Common
-Copyright 2014 The Apache Software Foundation
-
- - repo/hive-shims-common-secure-0.13.0.jar
-
-Hive Shims Secure Common
-Copyright 2014 The Apache Software Foundation
-
- - repo/plexus-utils-3.0.7.jar
-
-This product includes software developed by the Indiana University 
-  Extreme! Lab (http://www.extreme.indiana.edu/)
-
-This product includes software developed by
-ThoughtWorks (http://www.thoughtworks.com).
-
-This product includes software developed by
-javolution (http://javolution.org/).
-
-This product includes software developed by
-Rome (https://rome.dev.java.net/).
-
-- repo/velocity-1.5.jar
-Apache Velocity
-
-Copyright (C) 2000-2007 The Apache Software Foundation
-
- - repo/wicket-core-1.5.2.jar
-   Apache Wicket
-   Copyright 2006-2011 Apache Software Foundation
-
-   This product includes software from QOS.ch (http://slf4j.org) licensed under the X11 license
-   Copyright (c) 2004-2008 QOS.ch
-
-   Contains Diff library from Mavens JRCS, released under
-   The Apache Software License, Version 1.1.
-   (c) 1999-2003
-
-   org.apache.wicket.markup.html.form.upload.MultiFileUploadField.js is taken from [1]
-   and has the following notice:
-      "Licence:
-       Use this however/wherever you like, just don't blame me if it breaks
-       anything.
-
-       Credit:
-       If you're nice, you'll leave this bit:
-
-       Class by Stickman -- http://www.the-stickman.com
-       with thanks to:
-       [for Safari fixes]
-          Luis Torrefranca -- http://www.law.pitt.edu
-          and
-          Shawn Parker & John Pennypacker -- http://www.fuzzycoconut.com
-       [for duplicate name bug]
-          'neal'"
-   [1]: http://the-stickman.com/web-development/javascript/upload-multiple-files-with-a-single-file-element/
- - repo/wicket-request-1.5.2.jar
-
-    Wicket Request
-    Copyright 2006-2011 Apache Software Foundation
-
- - repo/wicket-util-1.5.2.jar
-
-    Wicket Util
-    Copyright 2006-2011 Apache Software Foundation
-
- - repo/xercesImpl-2.9.1.jar
-
-   Apache Xerces Java
-   Copyright 1999-2007 The Apache Software Foundation
-
-   Portions of this software were originally based on the following:
-     - software copyright (c) 1999, IBM Corporation., http://www.ibm.com.
-     - software copyright (c) 1999, Sun Microsystems., http://www.sun.com.
-     - voluntary contributions made by Paul Eng on behalf of the 
-       Apache Software Foundation that were originally developed at iClick, Inc.,
-       software copyright (c) 1999.
-
- - repo/xml-apis-1.3.04.jar
-
-   Apache XML Commons XML APIs
-   Copyright 2006 The Apache Software Foundation.
-
-
-   Portions of this software were originally based on the following:
-     - software copyright (c) 1999, IBM Corporation., http://www.ibm.com.
-     - software copyright (c) 1999, Sun Microsystems., http://www.sun.com.
-     - software copyright (c) 2000 World Wide Web Consortium, http://www.w3.org
-
-- repo/ant-1.9.1.jar
-
-   Apache Ant
-   Copyright 1999-2013 The Apache Software Foundation
-
-   The <sync> task is based on code Copyright (c) 2002, Landmark
-   Graphics Corp that has been kindly donated to the Apache Software
-   Foundation.
- - repo/ant-launcher-1.9.1.jar
-
-   Apache Ant
-   Copyright 1999-2013 The Apache Software Foundation
-
-   The <sync> task is based on code Copyright (c) 2002, Landmark
-   Graphics Corp that has been kindly donated to the Apache Software
-   Foundation.
- - repo/commons-beanutils-1.7.0.jar
-
-    This product includes software developed by
-    The Apache Software Foundation (http://www.apache.org/).
-
- - repo/commons-beanutils-core-1.8.0.jar
-    Apache Commons BeanUtils
-
-    Copyright 2000-2008 The Apache Software Foundation
-
-
-    This product includes software developed by
-
-    The Apache Software Foundation (http://www.apache.org/).
-
- - repo/commons-cli-1.2.jar
-
-    Apache Commons CLI
-    Copyright 2001-2009 The Apache Software Foundation
-
-    This product includes software developed by
-    The Apache Software Foundation (http://www.apache.org/).
-
- - repo/commons-codec-1.4.jar
-
-    Apache Commons Codec
-
-    Copyright 2002-2009 The Apache Software Foundation
-
-
-
-    This product includes software developed by
-
-    The Apache Software Foundation (http://www.apache.org/).
-
-
- - repo/commons-collections-3.2.1.jar
-
-    Apache Commons Collections
-
-    Copyright 2001-2008 The Apache Software Foundation
-
-
-
-    This product includes software developed by
-
-    The Apache Software Foundation (http://www.apache.org/).
-
- - repo/commons-compress-1.4.1.jar
-
-    Apache Commons Compress
-    Copyright 2002-2012 The Apache Software Foundation
-
-    This product includes software developed by
-    The Apache Software Foundation (http://www.apache.org/).
-     - repo/commons-configuration-1.6.jar
-    Apache Commons Configuration
-
-    Copyright 2001-2008 The Apache Software Foundation
-
-
-
-    This product includes software developed by
-
-    The Apache Software Foundation (http://www.apache.org/).
-
- - repo/commons-daemon-1.0.13.jar
-
-    Apache Commons Daemon
-    Copyright 1999-2013 The Apache Software Foundation
-
-    This product includes software developed by
-    The Apache Software Foundation (http://www.apache.org/).
-     - repo/commons-digester-1.8.jar
-    Apache Jakarta Commons Digester
-
-    Copyright 2001-2006 The Apache Software Foundation
-
-
-
-    This product includes software developed by
-
-    The Apache Software Foundation (http://www.apache.org/).
-
- - repo/commons-io-2.4.jar
-
-    Apache Commons IO
-
-    Copyright 2002-2012 The Apache Software Foundation
-
-
-
-    This product includes software developed by
-
-    The Apache Software Foundation (http://www.apache.org/).
-
-
-
- - repo/commons-lang-2.5.jar
-
-    Apache Commons Lang
-
-    Copyright 2001-2010 The Apache Software Foundation
-
-
-
-    This product includes software developed by
-
-    The Apache Software Foundation (http://www.apache.org/).
-
- - repo/commons-lang3-3.1.jar
-
-    Apache Commons Lang
-    Copyright 2001-2011 The Apache Software Foundation
-
-    This product includes software developed by
-    The Apache Software Foundation (http://www.apache.org/).
-
-    This product includes software from the Spring Framework,
-    under the Apache License 2.0 (see: StringUtils.containsWhitespace())
-
- - repo/commons-logging-api-1.0.4.jar
-
-    This product includes software developed by
-    The Apache Software Foundation (http://www.apache.org/).
-
- - repo/commons-math-2.1.jar
-
-    Apache Commons Math
-    Copyright 2001-2010 The Apache Software Foundation
-
-    This product includes software developed by
-    The Apache Software Foundation (http://www.apache.org/).
-
-    ===============================================================================
-    The LinearConstraint, LinearObjectiveFunction, LinearOptimizer,
-    RelationShip, SimplexSolver and SimplexTableau classes in package
-    org.apache.commons.math.optimization.linear include software developed by
-    Benjamin McCann (http://www.benmccann.com) and distributed with
-    the following copyright: Copyright 2009 Google Inc.
-    ===============================================================================
-
-    This product includes software developed by the
-    University of Chicago, as Operator of Argonne National
-    Laboratory.
-    The LevenbergMarquardtOptimizer class in package
-    org.apache.commons.math.optimization.general includes software
-    translated from the lmder, lmpar and qrsolv Fortran routines
-    from the Minpack package
-    Minpack Copyright Notice (1999) University of Chicago.  All rights reserved
-    ===============================================================================
-
-    The GraggBulirschStoerIntegrator class in package
-    org.apache.commons.math.ode.nonstiff includes software translated
-    from the odex Fortran routine developed by E. Hairer and G. Wanner.
-    Original source copyright:
-    Copyright (c) 2004, Ernst Hairer
-    ===============================================================================
-
-    The EigenDecompositionImpl class in package
-    org.apache.commons.math.linear includes software translated
-    from some LAPACK Fortran routines.  Original source copyright:
-    Copyright (c) 1992-2008 The University of Tennessee.  All rights reserved.
-    ===============================================================================
-
-    The MersenneTwister class in package org.apache.commons.math.random
-    includes software translated from the 2002-01-26 version of
-    the Mersenne-Twister generator written in C by Makoto Matsumoto and Takuji
-    Nishimura. Original source copyright:
-    Copyright (C) 1997 - 2002, Makoto Matsumoto and Takuji Nishimura,
-    All rights reserved
-    ===============================================================================
-
-    The complete text of licenses and disclaimers associated with the the original
-    sources enumerated above at the time of code translation are in the LICENSE.txt
-    file.
-
- - repo/commons-net-3.1.jar
-
-    Apache Commons Net
-
-    Copyright 2001-2012 The Apache Software Foundation
-
-
-
-    This product includes software developed by
-
-    The Apache Software Foundation (http://www.apache.org/).
-
-
-
- - repo/datanucleus-api-jdo-3.2.6.jar
-
-    =========================================================================
-    ==  NOTICE file corresponding to section 4(d) of the Apache License,   ==
-    ==  Version 2.0, in this case for the DataNucleus distribution.        ==
-    =========================================================================
-
-    ===================================================================
-    This product includes software developed by many individuals,
-    including the following:
-    ===================================================================
-    Erik Bengtson
-    Andy Jefferson
-
-
-    ===================================================================
-    This product has included contributions from some individuals,
-    including the following:
-    ===================================================================
-
- - repo/datanucleus-core-3.2.10.jar
-
-    =========================================================================
-    ==  NOTICE file corresponding to section 4(d) of the Apache License,   ==
-    ==  Version 2.0, in this case for the DataNucleus distribution.        ==
-    =========================================================================
-
-    ===================================================================
-    This product includes software developed by many individuals,
-    including the following:
-    ===================================================================
-    Erik Bengtson
-    Andy Jefferson
-
-
-    ===================================================================
-    This product has included contributions from some individuals,
-    including the following:
-    ===================================================================
-    Joerg von Frantzius
-    Thomas Marti
-    Barry Haddow
-    Marco Schulze
-    Ralph Ullrich
-    David Ezzio
-    Brendan de Beer
-    David Eaves
-    Martin Taal
-    Tony Lai
-    Roland Szabo
-    Marcus Mennemeier
-    Xuan Baldauf
-    Eric Sultan
-
-
-    ===================================================================
-    This product also includes software developed by the TJDO project
-    (http://tjdo.sourceforge.net/).
-    ===================================================================
-
- - repo/datanucleus-rdbms-3.2.9.jar
-    =========================================================================
-    ==  NOTICE file corresponding to section 4(d) of the Apache License,   ==
-    ==  Version 2.0, in this case for the DataNucleus distribution.        ==
-    =========================================================================
-
-    ===================================================================
-    This product includes software developed by many individuals,
-    including the following:
-    ===================================================================
-    Andy Jefferson
-    Erik Bengtson
-    Joerg von Frantzius
-    Marco Schulze
-
-
-    ===================================================================
-    This product has included contributions from some individuals,
-    including the following:
-    ===================================================================
-    Barry Haddow
-    Ralph Ullrich
-    David Ezzio
-    Brendan de Beer
-    David Eaves
-    Martin Taal
-    Tony Lai
-    Roland Szabo
-    Anton Troshin (Timesten)
-
-
-    ===================================================================
-    This product also includes software developed by the TJDO project
-    (http://tjdo.sourceforge.net/).
-    ===================================================================
-
-    ===================================================================
-    This product also includes software developed by the Apache Commons project
-    (http://commons.apache.org/).
-    ===================================================================
-
- - repo/groovy-all-2.1.6.jar
-
-    Apache Commons CLI
-    Copyright 2001-2009 The Apache Software Foundation
-
-    This product includes software developed by
-    The Apache Software Foundation (http://www.apache.org/).
-
- - repo/hive-exec-0.13.0.jar
-
-    Apache Thrift
-    Copyright 2006-2010 The Apache Software Foundation.
-
-    This product includes software developed at
-    The Apache Software Foundation (http://www.apache.org/). 
-
- - repo/httpclient-4.2.2.jar
-
-    Apache HttpComponents HttpClient
-
-    Copyright 1999-2012 The Apache Software Foundation
-
-
-
-    This product includes software developed by
-
-    The Apache Software Foundation (http://www.apache.org/).
-
-
- - repo/httpcore-4.2.2.jar
-
-    Apache HttpComponents HttpCore
-
-    Copyright 2005-2012 The Apache Software Foundation
-
-
-
-    This product includes software developed by
-
-    The Apache Software Foundation (http://www.apache.org/).
-
-
-
-    This project contains annotations derived from JCIP-ANNOTATIONS
-
-    Copyright (c) 2005 Brian Goetz and Tim Peierls. See http://www.jcip.net
-
- - repo/jdo2-api-2.3-20090302111651.jar
-
-    Apache Java Data Objects (JDO)
-    Copyright 2005-2006 The Apache Software Foundation
-
-    This product includes software developed at
-    The Apache Software Foundation (http://www.apache.org/).
-
- - repo/jdo-api-3.0.1.jar
-
-    Apache Java Data Objects (JDO)
-
-    Copyright 2005-2006 The Apache Software Foundation
-
-
-
-    This product includes software developed at
-
-    The Apache Software Foundation (http://www.apache.org/).
-
- - repo/libthrift-0.9.0.jar
-
-    Apache Thrift
-    Copyright 2006-2010 The Apache Software Foundation.
-
-    This product includes software developed at
-    The Apache Software Foundation (http://www.apache.org/).
-
- - repo/netty-3.2.2.Final.jar
-
-                                The Netty Project
-                                =================
-
-    Please visit the Netty web site for more information:
-
-      * http://www.jboss.org/netty/
-
-    Copyright 2009 Red Hat, Inc.
-
-    Red Hat licenses this product to you under the Apache License, version 2.0 (the
-    "License"); you may not use this product 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.
-
-    Also, please refer to each LICENSE.<component>.txt file, which is located in
-    the 'license' directory of the distribution file, for the license terms of the
-    components that this product depends on.
-
-    -------------------------------------------------------------------------------
-    This product contains the extensions to Java Collections Framework which has
-    been derived from the works by JSR-166 EG, Doug Lea, and Jason T. Greene:
-
-      * LICENSE:
-        * license/LICENSE.jsr177y.txt (Public Domain)
-      * HOMEPAGE:
-        * http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/
-        * http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbosscache/experimental/jsr166/
-
-    This product contains a modified version of Robert Harder's Public Domain
-    Base64 Encoder and Decoder, which can be obtained at:
-
-      * LICENSE:
-        * license/LICENSE.base64.txt (Public Domain)
-      * HOMEPAGE:
-        * http://iharder.sourceforge.net/current/java/base64/
-
-    This product contains a modified version of 'JZlib', a re-implementation of
-    zlib in pure Java, which can be obtained at:
-
-      * LICENSE:
-        * license/LICENSE.jzlib.txt (BSD Style License)
-      * HOMEPAGE:
-        * http://www.jcraft.com/jzlib/
-
- - repo/netty-3.6.2.Final.jar
-
-                                The Netty Project
-                                =================
-
-    Please visit the Netty web site for more information:
-
-      * http://netty.io/
-
-    Copyright 2011 The Netty Project
-
-    The Netty Project 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.
-
-    Also, please refer to each LICENSE.<component>.txt file, which is located in
-    the 'license' directory of the distribution file, for the license terms of the
-    components that this product depends on.
-
-    -------------------------------------------------------------------------------
-    This product contains the extensions to Java Collections Framework which has
-    been derived from the works by JSR-166 EG, Doug Lea, and Jason T. Greene:
-
-      * LICENSE:
-        * license/LICENSE.jsr166y.txt (Public Domain)
-      * HOMEPAGE:
-        * http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/
-        * http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbosscache/experimental/jsr166/
-
-    This product contains a modified version of Robert Harder's Public Domain
-    Base64 Encoder and Decoder, which can be obtained at:
-
-      * LICENSE:
-        * license/LICENSE.base64.txt (Public Domain)
-      * HOMEPAGE:
-        * http://iharder.sourceforge.net/current/java/base64/
-
-    This product contains a modified version of 'JZlib', a re-implementation of
-    zlib in pure Java, which can be obtained at:
-
-      * LICENSE:
-        * license/LICENSE.jzlib.txt (BSD Style License)
-      * HOMEPAGE:
-        * http://www.jcraft.com/jzlib/
-
- - repo/asm-all-5.1.jar
-
-   Copyright (c) 2000-2011 INRIA, France Telecom
-   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 the copyright holders 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 OWNER 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.
-
- - repo/privilegedaccessor-1.2.2.jar
-
-   Copyright 2004-2012 Sebastian Dietrich (Sebastian.Dietrich@e-movimento.com)
-
-   Licensed 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.
diff --git a/asterixdb/asterix-yarn/pom.xml b/asterixdb/asterix-yarn/pom.xml
index f64c1e4..5ae22de 100644
--- a/asterixdb/asterix-yarn/pom.xml
+++ b/asterixdb/asterix-yarn/pom.xml
@@ -85,6 +85,112 @@
           </execution>
         </executions>
       </plugin>
+      <plugin>
+        <groupId>org.apache.asterix</groupId>
+        <artifactId>license-automation-plugin</artifactId>
+        <version>${project.version}</version>
+        <executions>
+          <execution>
+            <goals>
+              <goal>generate</goal>
+            </goals>
+          </execution>
+        </executions>
+        <configuration>
+          <generatedFiles>
+            <generatedFile>
+              <template>asterixdb/src/main/licenses/templates/asterix-license.ftl</template>
+              <outputFile>LICENSE</outputFile>
+            </generatedFile>
+            <generatedFile>
+              <template>asterixdb/src/main/licenses/templates/asterix-notice.ftl</template>
+              <outputFile>NOTICE</outputFile>
+            </generatedFile>
+          </generatedFiles>
+          <location>repo/</location>
+          <timeoutSecs>10</timeoutSecs>
+          <extraLicenseMaps>
+            <extraLicenseMap>
+              <file>${basedir}/../asterix-server/target/generated-resources/license_map.json</file>
+              <location>asterix/asterix-server-${project.version}-binary-assembly.zip::repo/</location>
+            </extraLicenseMap>
+          </extraLicenseMaps>
+          <downloadDir>${project.build.directory}/generated-resources/license</downloadDir>
+          <excludedScopes>
+            <excludedScope>test</excludedScope>
+          </excludedScopes>
+          <excludes>
+            <exclude>org.apache.asterix:*</exclude>
+            <exclude>org.apache.algebricks:*</exclude>
+            <exclude>org.apache.hyracks:*</exclude>
+          </excludes>
+          <licenseDirectory>${basedir}/../src/main/licenses/content</licenseDirectory>
+          <templateRootDir>${basedir}/../../</templateRootDir>
+          <dependencySets>
+            <dependencySet>
+              <includes>
+                <!-- NOTE! Any changes here must be mirrored in src/main/assembly/binary-assembly.xml -->
+                <include>org.apache.asterix:asterix-yarn</include>
+                <include>org.apache.asterix:asterix-common</include>
+                <include>log4j:log4j</include>
+                <include>org.slf4j:slf4j-api</include>
+                <include>org.slf4j:slf4j-simple</include>
+                <include>commons-io:commons-io</include>
+                <include>commons-cli:commons-cli</include>
+                <include>commons-configuration:commons-configuration</include>
+                <include>commons-collections:commons-collections</include>
+                <include>commons-logging:commons-logging</include>
+                <include>commons-codec:commons-codec</include>
+                <include>commons-lang:commons-lang</include>
+                <include>org.apache.hadoop:hadoop-common</include>
+                <include>org.apache.hadoop:hadoop-hdfs</include>
+                <include>org.apache.hadoop:hadoop-auth</include>
+                <include>org.apache.hadoop:hadoop-yarn-client</include>
+                <include>org.apache.hadoop:hadoop-yarn-common</include>
+                <include>org.apache.hadoop:hadoop-yarn-api</include>
+                <include>org.apache.httpcomponents:httpcore</include>
+                <include>org.apache.httpcomponents:httpclient</include>
+                <include>org.htrace:htrace-core</include>
+                <include>commons-httpclient:commons-httpclient</include>
+                <include>com.google.guava:guava</include>
+                <include>com.google.protobuf:protobuf-java</include>
+              </includes>
+              <location>lib</location>
+            </dependencySet>
+          </dependencySets>
+          <models>
+            <model>${basedir}/../src/main/appended-resources/supplemental-models.xml</model>
+          </models>
+          <overrides>
+            <override>
+              <gav>commons-configuration:commons-configuration:1.6</gav>
+              <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+            </override>
+            <override>
+              <gav>com.google.protobuf:protobuf-java:2.5.0</gav>
+              <url>https://raw.githubusercontent.com/google/protobuf/master/LICENSE</url>
+            </override>
+            <override>
+              <gav>org.slf4j:slf4j-simple:1.6.1</gav>
+              <url>http://www.slf4j.org/license.html</url>
+            </override>
+          </overrides>
+          <licenses>
+            <license>
+              <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+              <aliasUrls>http://www.apache.org/licenses/LICENSE-2.0</aliasUrls>
+            </license>
+            <license>
+              <url>https://opensource.org/licenses/mit-license.php</url>
+              <aliasUrls>http://www.opensource.org/licenses/mit-license.php</aliasUrls>
+            </license>
+          </licenses>
+          <templateProperties>
+            <assembly>asterix/asterix-server-${project.version}-binary-assembly.zip</assembly>
+            <packageName>YARN Install</packageName>
+          </templateProperties>
+        </configuration>
+      </plugin>
     </plugins>
   </build>
 
diff --git a/asterixdb/asterix-yarn/src/main/assembly/binary-assembly.xml b/asterixdb/asterix-yarn/src/main/assembly/binary-assembly.xml
index 5410ecfe..6677c73 100644
--- a/asterixdb/asterix-yarn/src/main/assembly/binary-assembly.xml
+++ b/asterixdb/asterix-yarn/src/main/assembly/binary-assembly.xml
@@ -25,7 +25,7 @@
   <includeBaseDirectory>false</includeBaseDirectory>
   <fileSets>
     <fileSet>
-      <directory>src/main/licenses</directory>
+      <directory>target/generated-sources</directory>
       <outputDirectory>.</outputDirectory>
       <includes>
         <include>LICENSE*</include>
diff --git a/asterixdb/asterix-yarn/src/main/licenses/LICENSE b/asterixdb/asterix-yarn/src/main/licenses/LICENSE
deleted file mode 100644
index cbc9c9f..0000000
--- a/asterixdb/asterix-yarn/src/main/licenses/LICENSE
+++ /dev/null
@@ -1,1513 +0,0 @@
-
-                                 Apache License
-                           Version 2.0, January 2004
-                        http://www.apache.org/licenses/
-
-   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
-   1. Definitions.
-
-      "License" shall mean the terms and conditions for use, reproduction,
-      and distribution as defined by Sections 1 through 9 of this document.
-
-      "Licensor" shall mean the copyright owner or entity authorized by
-      the copyright owner that is granting the License.
-
-      "Legal Entity" shall mean the union of the acting entity and all
-      other entities that control, are controlled by, or are under common
-      control with that entity. For the purposes of this definition,
-      "control" means (i) the power, direct or indirect, to cause the
-      direction or management of such entity, whether by contract or
-      otherwise, or (ii) ownership of fifty percent (50%) or more of the
-      outstanding shares, or (iii) beneficial ownership of such entity.
-
-      "You" (or "Your") shall mean an individual or Legal Entity
-      exercising permissions granted by this License.
-
-      "Source" form shall mean the preferred form for making modifications,
-      including but not limited to software source code, documentation
-      source, and configuration files.
-
-      "Object" form shall mean any form resulting from mechanical
-      transformation or translation of a Source form, including but
-      not limited to compiled object code, generated documentation,
-      and conversions to other media types.
-
-      "Work" shall mean the work of authorship, whether in Source or
-      Object form, made available under the License, as indicated by a
-      copyright notice that is included in or attached to the work
-      (an example is provided in the Appendix below).
-
-      "Derivative Works" shall mean any work, whether in Source or Object
-      form, that is based on (or derived from) the Work and for which the
-      editorial revisions, annotations, elaborations, or other modifications
-      represent, as a whole, an original work of authorship. For the purposes
-      of this License, Derivative Works shall not include works that remain
-      separable from, or merely link (or bind by name) to the interfaces of,
-      the Work and Derivative Works thereof.
-
-      "Contribution" shall mean any work of authorship, including
-      the original version of the Work and any modifications or additions
-      to that Work or Derivative Works thereof, that is intentionally
-      submitted to Licensor for inclusion in the Work by the copyright owner
-      or by an individual or Legal Entity authorized to submit on behalf of
-      the copyright owner. For the purposes of this definition, "submitted"
-      means any form of electronic, verbal, or written communication sent
-      to the Licensor or its representatives, including but not limited to
-      communication on electronic mailing lists, source code control systems,
-      and issue tracking systems that are managed by, or on behalf of, the
-      Licensor for the purpose of discussing and improving the Work, but
-      excluding communication that is conspicuously marked or otherwise
-      designated in writing by the copyright owner as "Not a Contribution."
-
-      "Contributor" shall mean Licensor and any individual or Legal Entity
-      on behalf of whom a Contribution has been received by Licensor and
-      subsequently incorporated within the Work.
-
-   2. Grant of Copyright License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      copyright license to reproduce, prepare Derivative Works of,
-      publicly display, publicly perform, sublicense, and distribute the
-      Work and such Derivative Works in Source or Object form.
-
-   3. Grant of Patent License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      (except as stated in this section) patent license to make, have made,
-      use, offer to sell, sell, import, and otherwise transfer the Work,
-      where such license applies only to those patent claims licensable
-      by such Contributor that are necessarily infringed by their
-      Contribution(s) alone or by combination of their Contribution(s)
-      with the Work to which such Contribution(s) was submitted. If You
-      institute patent litigation against any entity (including a
-      cross-claim or counterclaim in a lawsuit) alleging that the Work
-      or a Contribution incorporated within the Work constitutes direct
-      or contributory patent infringement, then any patent licenses
-      granted to You under this License for that Work shall terminate
-      as of the date such litigation is filed.
-
-   4. Redistribution. You may reproduce and distribute copies of the
-      Work or Derivative Works thereof in any medium, with or without
-      modifications, and in Source or Object form, provided that You
-      meet the following conditions:
-
-      (a) You must give any other recipients of the Work or
-          Derivative Works a copy of this License; and
-
-      (b) You must cause any modified files to carry prominent notices
-          stating that You changed the files; and
-
-      (c) You must retain, in the Source form of any Derivative Works
-          that You distribute, all copyright, patent, trademark, and
-          attribution notices from the Source form of the Work,
-          excluding those notices that do not pertain to any part of
-          the Derivative Works; and
-
-      (d) If the Work includes a "NOTICE" text file as part of its
-          distribution, then any Derivative Works that You distribute must
-          include a readable copy of the attribution notices contained
-          within such NOTICE file, excluding those notices that do not
-          pertain to any part of the Derivative Works, in at least one
-          of the following places: within a NOTICE text file distributed
-          as part of the Derivative Works; within the Source form or
-          documentation, if provided along with the Derivative Works; or,
-          within a display generated by the Derivative Works, if and
-          wherever such third-party notices normally appear. The contents
-          of the NOTICE file are for informational purposes only and
-          do not modify the License. You may add Your own attribution
-          notices within Derivative Works that You distribute, alongside
-          or as an addendum to the NOTICE text from the Work, provided
-          that such additional attribution notices cannot be construed
-          as modifying the License.
-
-      You may add Your own copyright statement to Your modifications and
-      may provide additional or different license terms and conditions
-      for use, reproduction, or distribution of Your modifications, or
-      for any such Derivative Works as a whole, provided Your use,
-      reproduction, and distribution of the Work otherwise complies with
-      the conditions stated in this License.
-
-   5. Submission of Contributions. Unless You explicitly state otherwise,
-      any Contribution intentionally submitted for inclusion in the Work
-      by You to the Licensor shall be under the terms and conditions of
-      this License, without any additional terms or conditions.
-      Notwithstanding the above, nothing herein shall supersede or modify
-      the terms of any separate license agreement you may have executed
-      with Licensor regarding such Contributions.
-
-   6. Trademarks. This License does not grant permission to use the trade
-      names, trademarks, service marks, or product names of the Licensor,
-      except as required for reasonable and customary use in describing the
-      origin of the Work and reproducing the content of the NOTICE file.
-
-   7. Disclaimer of Warranty. Unless required by applicable law or
-      agreed to in writing, Licensor provides the Work (and each
-      Contributor provides its Contributions) on an "AS IS" BASIS,
-      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-      implied, including, without limitation, any warranties or conditions
-      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
-      PARTICULAR PURPOSE. You are solely responsible for determining the
-      appropriateness of using or redistributing the Work and assume any
-      risks associated with Your exercise of permissions under this License.
-
-   8. Limitation of Liability. In no event and under no legal theory,
-      whether in tort (including negligence), contract, or otherwise,
-      unless required by applicable law (such as deliberate and grossly
-      negligent acts) or agreed to in writing, shall any Contributor be
-      liable to You for damages, including any direct, indirect, special,
-      incidental, or consequential damages of any character arising as a
-      result of this License or out of the use or inability to use the
-      Work (including but not limited to damages for loss of goodwill,
-      work stoppage, computer failure or malfunction, or any and all
-      other commercial damages or losses), even if such Contributor
-      has been advised of the possibility of such damages.
-
-   9. Accepting Warranty or Additional Liability. While redistributing
-      the Work or Derivative Works thereof, You may choose to offer,
-      and charge a fee for, acceptance of support, warranty, indemnity,
-      or other liability obligations and/or rights consistent with this
-      License. However, in accepting such obligations, You may act only
-      on Your own behalf and on Your sole responsibility, not on behalf
-      of any other Contributor, and only if You agree to indemnify,
-      defend, and hold each Contributor harmless for any liability
-      incurred by, or claims asserted against, such Contributor by reason
-      of your accepting any such warranty or additional liability.
-
-   END OF TERMS AND CONDITIONS
-
-   APPENDIX: How to apply the Apache License to your work.
-
-      To apply the Apache License to your work, attach the following
-      boilerplate notice, with the fields enclosed by brackets "[]"
-      replaced with your own identifying information. (Don't include
-      the brackets!)  The text should be enclosed in the appropriate
-      comment syntax for the file format. We also recommend that a
-      file or class name and description of purpose be included on the
-      same "printed page" as the copyright notice for easier
-      identification within third-party archives.
-
-   Copyright [yyyy] [name of copyright owner]
-
-   Licensed 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.
-
-
-   ASTERIXDB COMPONENTS:
-
-   AsterixDB includes a number of subcomponents with separate copyright
-   notices and license terms. Your use of the source code for these
-   subcomponents is subject to the terms and condition of the following
-   licenses.
-
-
-   Component(s):
-   - Java Servlet API (http://servlet-spec.java.n)
-     repo/javax.servlet-3.1.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-   - javax.servlet API v.3.0 (http://jcp.org/en/jsr/detail?id=315)
-     repo/servlet-api-2.5.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-   - grizzly-framework (http://grizzly.java.net/grizzly-framework)
-     repo/grizzly-framework-2.1.2.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-   - grizzly-http (http://grizzly.java.net/grizzly-http)
-     repo/grizzly-http-2.1.2.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-   - grizzly-http-server (http://grizzly.java.net/grizzly-http-server)
-     repo/grizzly-http-server-2.1.2.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-   - grizzly-http-servlet (http://grizzly.java.net/grizzly-http-servlet)
-     repo/grizzly-http-servlet-2.1.2.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-   - grizzly-rcm (http://grizzly.java.net/grizzly-rcm)
-     repo/grizzly-rcm-2.1.2.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-   - management-api (http://kenai.com/hg/gmbal~gf_common)
-     repo/management-api-3.0.0-b012.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-   - gmbal-api-only (http://kenai.com/hg/gmbal~master)
-     repo/gmbal-api-only-3.0.0-b023.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-   - JavaBeans Activation Framework (JAF) (http://java.sun.com/products/javabeans/jaf/index.jsp)
-     repo/activation-1.1.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-   - JavaMail API (https://glassfish.dev.java.net/javaee5/mail/)
-     repo/mail-1.4.5.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-   - Java Servlet API
-     repo/servlet-api-2.5.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-   - Java Transaction API (http://java.sun.com/products/jta/jta)
-     repo/jta-1.1.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-   - Sun JAXB Reference Implementation Runtime (http://jaxb.java.net/jaxb-impl)
-     repo/jaxb-impl-2.2.3-1.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-   - Java Architecture for XML Binding (JAXB API) (https://jaxb.dev.java.net/jaxb-api) 
-     repo/jaxb-api-2.2.2.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-   - Streaming API for XML
-     repo/stax-api-1.0.1.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-   - jsp-api
-     repo/jsp-api-2.1.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-
-   are available under the CDDL 1.0
-   --
-      COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0
-
-      1. Definitions.
-
-      1.1. “Contributor” means each individual or entity that creates or contributes to the creation of Modifications.
-
-      1.2. “Contributor Version” means the combination of the Original Software, prior Modifications used by a Contributor (if any), and the Modifications made by that particular Contributor.
-
-      1.3. “Covered Software” means (a) the Original Software, or (b) Modifications, or (c) the combination of files containing Original Software with files containing Modifications, in each case including portions thereof.
-
-      1.4. “Executable” means the Covered Software in any form other than Source Code.
-
-      1.5. “Initial Developer” means the individual or entity that first makes Original Software available under this License.
-
-      1.6. “Larger Work” means a work which combines Covered Software or portions thereof with code not governed by the terms of this License.
-
-      1.7. “License” means this document.
-
-      1.8. “Licensable” means having the right to grant, to the maximum extent possible, whether at the time of the initial grant or subsequently acquired, any and all of the rights conveyed herein.
-
-      1.9. “Modifications” means the Source Code and Executable form of any of the following:
-
-      A. Any file that results from an addition to, deletion from or modification of the contents of a file containing Original Software or previous Modifications;
-
-      B. Any new file that contains any part of the Original Software or previous Modification; or
-
-      C. Any new file that is contributed or otherwise made available under the terms of this License.
-
-      1.10. “Original Software” means the Source Code and Executable form of computer software code that is originally released under this License.
-
-      1.11. “Patent Claims” means any patent claim(s), now owned or hereafter acquired, including without limitation, method, process, and apparatus claims, in any patent Licensable by grantor.
-
-      1.12. “Source Code” means (a) the common form of computer software code in which modifications are made and (b) associated documentation included in or with such code.
-
-      1.13. “You” (or “Your”) means an individual or a legal entity exercising rights under, and complying with all of the terms of, this License. For legal entities, “You” includes any entity which controls, is controlled by, or is under common control with You. For purposes of this definition, “control” means (a) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (b) ownership of more than fifty percent (50%) of the outstanding shares or beneficial ownership of such entity.
-
-      2. License Grants.
-
-      2.1. The Initial Developer Grant.
-
-      Conditioned upon Your compliance with Section 3.1 below and subject to third party intellectual property claims, the Initial Developer hereby grants You a world-wide, royalty-free, non-exclusive license:
-
-      (a) under intellectual property rights (other than patent or trademark) Licensable by Initial Developer, to use, reproduce, modify, display, perform, sublicense and distribute the Original Software (or portions thereof), with or without Modifications, and/or as part of a Larger Work; and
-
-      (b) under Patent Claims infringed by the making, using or selling of Original Software, to make, have made, use, practice, sell, and offer for sale, and/or otherwise dispose of the Original Software (or portions thereof).
-
-      (c) The licenses granted in Sections 2.1(a) and (b) are effective on the date Initial Developer first distributes or otherwise makes the Original Software available to a third party under the terms of this License.
-
-      (d) Notwithstanding Section 2.1(b) above, no patent license is granted: (1) for code that You delete from the Original Software, or (2) for infringements caused by: (i) the modification of the Original Software, or (ii) the combination of the Original Software with other software or devices.
-
-      2.2. Contributor Grant.
-
-      Conditioned upon Your compliance with Section 3.1 below and subject to third party intellectual property claims, each Contributor hereby grants You a world-wide, royalty-free, non-exclusive license:
-
-      (a) under intellectual property rights (other than patent or trademark) Licensable by Contributor to use, reproduce, modify, display, perform, sublicense and distribute the Modifications created by such Contributor (or portions thereof), either on an unmodified basis, with other Modifications, as Covered Software and/or as part of a Larger Work; and
-
-      (b) under Patent Claims infringed by the making, using, or selling of Modifications made by that Contributor either alone and/or in combination with its Contributor Version (or portions of such combination), to make, use, sell, offer for sale, have made, and/or otherwise dispose of: (1) Modifications made by that Contributor (or portions thereof); and (2) the combination of Modifications made by that Contributor with its Contributor Version (or portions of such combination).
-
-      (c) The licenses granted in Sections 2.2(a) and 2.2(b) are effective on the date Contributor first distributes or otherwise makes the Modifications available to a third party.
-
-      (d) Notwithstanding Section 2.2(b) above, no patent license is granted: (1) for any code that Contributor has deleted from the Contributor Version; (2) for infringements caused by: (i) third party modifications of Contributor Version, or (ii) the combination of Modifications made by that Contributor with other software (except as part of the Contributor Version) or other devices; or (3) under Patent Claims infringed by Covered Software in the absence of Modifications made by that Contributor.
-
-      3. Distribution Obligations.
-
-      3.1. Availability of Source Code.
-
-      Any Covered Software that You distribute or otherwise make available in Executable form must also be made available in Source Code form and that Source Code form must be distributed only under the terms of this License. You must include a copy of this License with every copy of the Source Code form of the Covered Software You distribute or otherwise make available. You must inform recipients of any such Covered Software in Executable form as to how they can obtain such Covered Software in Source Code form in a reasonable manner on or through a medium customarily used for software exchange.
-
-      3.2. Modifications.
-
-      The Modifications that You create or to which You contribute are governed by the terms of this License. You represent that You believe Your Modifications are Your original creation(s) and/or You have sufficient rights to grant the rights conveyed by this License.
-
-      3.3. Required Notices.
-
-      You must include a notice in each of Your Modifications that identifies You as the Contributor of the Modification. You may not remove or alter any copyright, patent or trademark notices contained within the Covered Software, or any notices of licensing or any descriptive text giving attribution to any Contributor or the Initial Developer.
-
-      3.4. Application of Additional Terms.
-
-      You may not offer or impose any terms on any Covered Software in Source Code form that alters or restricts the applicable version of this License or the recipients’ rights hereunder. You may choose to offer, and to charge a fee for, warranty, support, indemnity or liability obligations to one or more recipients of Covered Software. However, you may do so only on Your own behalf, and not on behalf of the Initial Developer or any Contributor. You must make it absolutely clear that any such warranty, support, indemnity or liability obligation is offered by You alone, and You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of warranty, support, indemnity or liability terms You offer.
-
-      3.5. Distribution of Executable Versions.
-
-      You may distribute the Executable form of the Covered Software under the terms of this License or under the terms of a license of Your choice, which may contain terms different from this License, provided that You are in compliance with the terms of this License and that the license for the Executable form does not attempt to limit or alter the recipient’s rights in the Source Code form from the rights set forth in this License. If You distribute the Covered Software in Executable form under a different license, You must make it absolutely clear that any terms which differ from this License are offered by You alone, not by the Initial Developer or Contributor. You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of any such terms You offer.
-
-      3.6. Larger Works.
-
-      You may create a Larger Work by combining Covered Software with other code not governed by the terms of this License and distribute the Larger Work as a single product. In such a case, You must make sure the requirements of this License are fulfilled for the Covered Software.
-
-      4. Versions of the License.
-
-      4.1. New Versions.
-
-      Sun Microsystems, Inc. is the initial license steward and may publish revised and/or new versions of this License from time to time. Each version will be given a distinguishing version number. Except as provided in Section 4.3, no one other than the license steward has the right to modify this License.
-
-      4.2. Effect of New Versions.
-
-      You may always continue to use, distribute or otherwise make the Covered Software available under the terms of the version of the License under which You originally received the Covered Software. If the Initial Developer includes a notice in the Original Software prohibiting it from being distributed or otherwise made available under any subsequent version of the License, You must distribute and make the Covered Software available under the terms of the version of the License under which You originally received the Covered Software. Otherwise, You may also choose to use, distribute or otherwise make the Covered Software available under the terms of any subsequent version of the License published by the license steward.
-
-      4.3. Modified Versions.
-
-      When You are an Initial Developer and You want to create a new license for Your Original Software, You may create and use a modified version of this License if You: (a) rename the license and remove any references to the name of the license steward (except to note that the license differs from this License); and (b) otherwise make it clear that the license contains terms which differ from this License.
-
-      5. DISCLAIMER OF WARRANTY.
-
-      COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN “AS IS” BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED SOFTWARE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED SOFTWARE IS WITH YOU. SHOULD ANY COVERED SOFTWARE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY COVERED SOFTWARE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
-
-      6. TERMINATION.
-
-      6.1. This License and the rights granted hereunder will terminate automatically if You fail to comply with terms herein and fail to cure such breach within 30 days of becoming aware of the breach. Provisions which, by their nature, must remain in effect beyond the termination of this License shall survive.
-
-      6.2. If You assert a patent infringement claim (excluding declaratory judgment actions) against Initial Developer or a Contributor (the Initial Developer or Contributor against whom You assert such claim is referred to as “Participant”) alleging that the Participant Software (meaning the Contributor Version where the Participant is a Contributor or the Original Software where the Participant is the Initial Developer) directly or indirectly infringes any patent, then any and all rights granted directly or indirectly to You by such Participant, the Initial Developer (if the Initial Developer is not the Participant) and all Contributors under Sections 2.1 and/or 2.2 of this License shall, upon 60 days notice from Participant terminate prospectively and automatically at the expiration of such 60 day notice period, unless if within such 60 day period You withdraw Your claim with respect to the Participant Software against such Participant either unilaterally or pursuant to a written agreement with Participant.
-
-      6.3. In the event of termination under Sections 6.1 or 6.2 above, all end user licenses that have been validly granted by You or any distributor hereunder prior to termination (excluding licenses granted to You by any distributor) shall survive termination.
-
-      7. LIMITATION OF LIABILITY.
-
-      UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED SOFTWARE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOST PROFITS, LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY RESULTING FROM SUCH PARTY’S NEGLIGENCE TO THE EXTENT APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
-
-      8. U.S. GOVERNMENT END USERS.
-
-      The Covered Software is a “commercial item,” as that term is defined in 48 C.F.R. 2.101 (Oct. 1995), consisting of “commercial computer software” (as that term is defined at 48 C.F.R. § 252.227-7014(a)(1)) and “commercial computer software documentation” as such terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all U.S. Government End Users acquire Covered Software with only those rights set forth herein. This U.S. Government Rights clause is in lieu of, and supersedes, any other FAR, DFAR, or other clause or provision that addresses Government rights in computer software under this License.
-
-      9. MISCELLANEOUS.
-
-      This License represents the complete agreement concerning subject matter hereof. If any provision of this License is held to be unenforceable, such provision shall be reformed only to the extent necessary to make it enforceable. This License shall be governed by the law of the jurisdiction specified in a notice contained within the Original Software (except to the extent applicable law, if any, provides otherwise), excluding such jurisdiction’s conflict-of-law provisions. Any litigation relating to this License shall be subject to the jurisdiction of the courts located in the jurisdiction and venue specified in a notice contained within the Original Software, with the losing party responsible for costs, including, without limitation, court costs and reasonable attorneys’ fees and expenses. The application of the United Nations Convention on Contracts for the International Sale of Goods is expressly excluded. Any law or regulation which provides that the language of a contract shall be construed against the drafter shall not apply to this License. You agree that You alone are responsible for compliance with the United States export administration regulations (and the export control laws and regulation of any other countries) when You use, distribute or otherwise make available any Covered Software.
-
-      10. RESPONSIBILITY FOR CLAIMS.
-
-      As between Initial Developer and the Contributors, each party is responsible for claims and damages arising, directly or indirectly, out of its utilization of rights under this License and You agree to work with Initial Developer and Contributors to distribute such responsibility on an equitable basis. Nothing herein is intended or shall be deemed to constitute any admission of liability.
-
-      NOTICE PURSUANT TO SECTION 9 OF THE COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL)
-
-      The code released under the CDDL shall be governed by the laws of the State of California (excluding conflict-of-law provisions). Any litigation relating to this License shall be subject to the jurisdiction of the Federal Courts of the Northern District of California and the state courts of the State of California, with venue lying in Santa Clara County, California.
-
-
-
-   ==
-
-   Component(s):
-  - jersey-client (https://jersey.java.net/jersey-client/)
-    repo/jersey-client-1.13.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-  - jersey-core (https://jersey.java.net/jersey-core/)
-    repo/jersey-core-1.13.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-  - jersey-grizzly2 (https://jersey.java.net/jersey-grizzly2/)
-    repo/jersey-grizzly2-1.9.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-  - jersey-json (https://jersey.java.net/jersey-json/)
-    repo/jersey-json-1.13.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-  - jersey-server (https://jersey.java.net/jersey-server/)
-    repo/jersey-server-1.9.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-  - jersey-guice (https://jersey.java.net/jersey-contribs/jersey-guice/)
-    repo/jersey-guice-1.9.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-  - Jersey Test FrameworkCore (https://jersey.java.net/jersey-test-framework/jersey-test-framework-core/)
-    repo/jersey-test-framework-1.9.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-  - Jersey Test FrameworkGrizzly 2 Module (https://jersey.java.net/jersey-test-framework/jersey-test-framework-grizzly2/)
-    repo/jersey-test-framework-grizzly2-1.9.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-   Are available under the CDDL 1.1:
-   --
-
-      COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL)Version 1.1
-
-      1. Definitions.
-
-      1.1. “Contributor” means each individual or entity that creates or contributes to the creation of Modifications.
-      1.2. “Contributor Version” means the combination of the Original Software, prior Modifications used by a Contributor (if any), and the Modifications made by that particular Contributor.
-      1.3. “Covered Software” means (a) the Original Software, or (b) Modifications, or (c) the combination of files containing Original Software with files containing Modifications, in each case including portions thereof.
-      1.4. “Executable” means the Covered Software in any form other than Source Code.
-      1.5. “Initial Developer” means the individual or entity that first makes Original Software available under this License.
-      1.6. “Larger Work” means a work which combines Covered Software or portions thereof with code not governed by the terms of this License.
-      1.7. “License” means this document.
-      1.8. “Licensable” means having the right to grant, to the maximum extent possible, whether at the time of the initial grant or subsequently acquired, any and all of the rights conveyed herein.
-      1.9. “Modifications” means the Source Code and Executable form of any of the following:
-      A. Any file that results from an addition to, deletion from or modification of the contents of a file containing Original Software or previous Modifications;
-      B. Any new file that contains any part of the Original Software or previous Modification; or
-      C. Any new file that is contributed or otherwise made available under the terms of this License.
-      1.10. “Original Software” means the Source Code and Executable form of computer software code that is originally released under this License.
-      1.11. “Patent Claims” means any patent claim(s), now owned or hereafter acquired, including without limitation, method, process, and apparatus claims, in any patent Licensable by grantor.
-      1.12. “Source Code” means (a) the common form of computer software code in which modifications are made and (b) associated documentation included in or with such code.
-      1.13. “You” (or “Your”) means an individual or a legal entity exercising rights under, and complying with all of the terms of, this License. For legal entities, “You” includes any entity which controls, is controlled by, or is under common control with You. For purposes of this definition, “control” means (a) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (b) ownership of more than fifty percent (50%) of the outstanding shares or beneficial ownership of such entity.
-      2. License Grants.
-
-      2.1. The Initial Developer Grant.
-      Conditioned upon Your compliance with Section 3.1 below and subject to third party intellectual property claims, the Initial Developer hereby grants You a world-wide, royalty-free, non-exclusive license:
-      (a) under intellectual property rights (other than patent or trademark) Licensable by Initial Developer, to use, reproduce, modify, display, perform, sublicense and distribute the Original Software (or portions thereof), with or without Modifications, and/or as part of a Larger Work; and
-      (b) under Patent Claims infringed by the making, using or selling of Original Software, to make, have made, use, practice, sell, and offer for sale, and/or otherwise dispose of the Original Software (or portions thereof).
-      (c) The licenses granted in Sections 2.1(a) and (b) are effective on the date Initial Developer first distributes or otherwise makes the Original Software available to a third party under the terms of this License.
-      (d) Notwithstanding Section 2.1(b) above, no patent license is granted: (1) for code that You delete from the Original Software, or (2) for infringements caused by: (i) the modification of the Original Software, or (ii) the combination of the Original Software with other software or devices.
-      2.2. Contributor Grant.
-      Conditioned upon Your compliance with Section 3.1 below and subject to third party intellectual property claims, each Contributor hereby grants You a world-wide, royalty-free, non-exclusive license:
-      (a) under intellectual property rights (other than patent or trademark) Licensable by Contributor to use, reproduce, modify, display, perform, sublicense and distribute the Modifications created by such Contributor (or portions thereof), either on an unmodified basis, with other Modifications, as Covered Software and/or as part of a Larger Work; and
-      (b) under Patent Claims infringed by the making, using, or selling of Modifications made by that Contributor either alone and/or in combination with its Contributor Version (or portions of such combination), to make, use, sell, offer for sale, have made, and/or otherwise dispose of: (1) Modifications made by that Contributor (or portions thereof); and (2) the combination of Modifications made by that Contributor with its Contributor Version (or portions of such combination).
-      (c) The licenses granted in Sections 2.2(a) and 2.2(b) are effective on the date Contributor first distributes or otherwise makes the Modifications available to a third party.
-      (d) Notwithstanding Section 2.2(b) above, no patent license is granted: (1) for any code that Contributor has deleted from the Contributor Version; (2) for infringements caused by: (i) third party modifications of Contributor Version, or (ii) the combination of Modifications made by that Contributor with other software (except as part of the Contributor Version) or other devices; or (3) under Patent Claims infringed by Covered Software in the absence of Modifications made by that Contributor.
-      3. Distribution Obligations.
-
-      3.1. Availability of Source Code.
-      Any Covered Software that You distribute or otherwise make available in Executable form must also be made available in Source Code form and that Source Code form must be distributed only under the terms of this License. You must include a copy of this License with every copy of the Source Code form of the Covered Software You distribute or otherwise make available. You must inform recipients of any such Covered Software in Executable form as to how they can obtain such Covered Software in Source Code form in a reasonable manner on or through a medium customarily used for software exchange.
-      3.2. Modifications.
-      The Modifications that You create or to which You contribute are governed by the terms of this License. You represent that You believe Your Modifications are Your original creation(s) and/or You have sufficient rights to grant the rights conveyed by this License.
-      3.3. Required Notices.
-      You must include a notice in each of Your Modifications that identifies You as the Contributor of the Modification. You may not remove or alter any copyright, patent or trademark notices contained within the Covered Software, or any notices of licensing or any descriptive text giving attribution to any Contributor or the Initial Developer.
-      3.4. Application of Additional Terms.
-      You may not offer or impose any terms on any Covered Software in Source Code form that alters or restricts the applicable version of this License or the recipients' rights hereunder. You may choose to offer, and to charge a fee for, warranty, support, indemnity or liability obligations to one or more recipients of Covered Software. However, you may do so only on Your own behalf, and not on behalf of the Initial Developer or any Contributor. You must make it absolutely clear that any such warranty, support, indemnity or liability obligation is offered by You alone, and You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of warranty, support, indemnity or liability terms You offer.
-      3.5. Distribution of Executable Versions.
-      You may distribute the Executable form of the Covered Software under the terms of this License or under the terms of a license of Your choice, which may contain terms different from this License, provided that You are in compliance with the terms of this License and that the license for the Executable form does not attempt to limit or alter the recipient's rights in the Source Code form from the rights set forth in this License. If You distribute the Covered Software in Executable form under a different license, You must make it absolutely clear that any terms which differ from this License are offered by You alone, not by the Initial Developer or Contributor. You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of any such terms You offer.
-      3.6. Larger Works.
-      You may create a Larger Work by combining Covered Software with other code not governed by the terms of this License and distribute the Larger Work as a single product. In such a case, You must make sure the requirements of this License are fulfilled for the Covered Software.
-      4. Versions of the License.
-
-      4.1. New Versions.
-      Oracle is the initial license steward and may publish revised and/or new versions of this License from time to time. Each version will be given a distinguishing version number. Except as provided in Section 4.3, no one other than the license steward has the right to modify this License.
-      4.2. Effect of New Versions.
-      You may always continue to use, distribute or otherwise make the Covered Software available under the terms of the version of the License under which You originally received the Covered Software. If the Initial Developer includes a notice in the Original Software prohibiting it from being distributed or otherwise made available under any subsequent version of the License, You must distribute and make the Covered Software available under the terms of the version of the License under which You originally received the Covered Software. Otherwise, You may also choose to use, distribute or otherwise make the Covered Software available under the terms of any subsequent version of the License published by the license steward.
-      4.3. Modified Versions.
-      When You are an Initial Developer and You want to create a new license for Your Original Software, You may create and use a modified version of this License if You: (a) rename the license and remove any references to the name of the license steward (except to note that the license differs from this License); and (b) otherwise make it clear that the license contains terms which differ from this License.
-      5. DISCLAIMER OF WARRANTY.
-
-      COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN “AS IS” BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED SOFTWARE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED SOFTWARE IS WITH YOU. SHOULD ANY COVERED SOFTWARE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY COVERED SOFTWARE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
-
-      6. TERMINATION.
-
-      6.1. This License and the rights granted hereunder will terminate automatically if You fail to comply with terms herein and fail to cure such breach within 30 days of becoming aware of the breach. Provisions which, by their nature, must remain in effect beyond the termination of this License shall survive.
-      6.2. If You assert a patent infringement claim (excluding declaratory judgment actions) against Initial Developer or a Contributor (the Initial Developer or Contributor against whom You assert such claim is referred to as “Participant”) alleging that the Participant Software (meaning the Contributor Version where the Participant is a Contributor or the Original Software where the Participant is the Initial Developer) directly or indirectly infringes any patent, then any and all rights granted directly or indirectly to You by such Participant, the Initial Developer (if the Initial Developer is not the Participant) and all Contributors under Sections 2.1 and/or 2.2 of this License shall, upon 60 days notice from Participant terminate prospectively and automatically at the expiration of such 60 day notice period, unless if within such 60 day period You withdraw Your claim with respect to the Participant Software against such Participant either unilaterally or pursuant to a written agreement with Participant.
-      6.3. If You assert a patent infringement claim against Participant alleging that the Participant Software directly or indirectly infringes any patent where such claim is resolved (such as by license or settlement) prior to the initiation of patent infringement litigation, then the reasonable value of the licenses granted by such Participant under Sections 2.1 or 2.2 shall be taken into account in determining the amount or value of any payment or license.
-      6.4. In the event of termination under Sections 6.1 or 6.2 above, all end user licenses that have been validly granted by You or any distributor hereunder prior to termination (excluding licenses granted to You by any distributor) shall survive termination.
-      7. LIMITATION OF LIABILITY.
-
-      UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED SOFTWARE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
-
-      8. U.S. GOVERNMENT END USERS.
-
-      The Covered Software is a “commercial item,” as that term is defined in 48 C.F.R. 2.101 (Oct. 1995), consisting of “commercial computer software” (as that term is defined at 48 C.F.R. § 252.227-7014(a)(1)) and “commercial computer software documentation” as such terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all U.S. Government End Users acquire Covered Software with only those rights set forth herein. This U.S. Government Rights clause is in lieu of, and supersedes, any other FAR, DFAR, or other clause or provision that addresses Government rights in computer software under this License.
-
-      9. MISCELLANEOUS.
-
-      This License represents the complete agreement concerning subject matter hereof. If any provision of this License is held to be unenforceable, such provision shall be reformed only to the extent necessary to make it enforceable. This License shall be governed by the law of the jurisdiction specified in a notice contained within the Original Software (except to the extent applicable law, if any, provides otherwise), excluding such jurisdiction's conflict-of-law provisions. Any litigation relating to this License shall be subject to the jurisdiction of the courts located in the jurisdiction and venue specified in a notice contained within the Original Software, with the losing party responsible for costs, including, without limitation, court costs and reasonable attorneys' fees and expenses. The application of the United Nations Convention on Contracts for the International Sale of Goods is expressly excluded. Any law or regulation which provides that the language of a contract shall be construed against the drafter shall not apply to this License. You agree that You alone are responsible for compliance with the United States export administration regulations (and the export control laws and regulation of any other countries) when You use, distribute or otherwise make available any Covered Software.
-
-      10. RESPONSIBILITY FOR CLAIMS.
-
-      As between Initial Developer and the Contributors, each party is responsible for claims and damages arising, directly or indirectly, out of its utilization of rights under this License and You agree to work with Initial Developer and Contributors to distribute such responsibility on an equitable basis. Nothing herein is intended or shall be deemed to constitute any admission of liability.
-
-      NOTICE PURSUANT TO SECTION 9 OF THE COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL)
-
-      The code released under the CDDL shall be governed by the laws of the State of California (excluding conflict-of-law provisions). Any litigation relating to this License shall be subject to the jurisdiction of the Federal Courts of the Northern District of California and the state courts of the State of California, with venue lying in Santa Clara County, California.
-   --
-
-
-   ===
-
-   Component(s):
-
-   - JUnit (http://junit.org)
-     repo/junit-4.11.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-   Are available under the CPL 1.0:
-
-   --
-
-      Common Public License Version 1.0
-      THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC
-      LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM
-      CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
-
-      1. DEFINITIONS
-
-      "Contribution" means:
-
-      a) in the case of the initial Contributor, the initial code and
-      documentation distributed under this Agreement, and
-
-      b) in the case of each subsequent Contributor:
-
-      i) changes to the Program, and
-
-      ii) additions to the Program;
-
-      where such changes and/or additions to the Program originate from and are
-      distributed by that particular Contributor. A Contribution 'originates' from a
-      Contributor if it was added to the Program by such Contributor itself or anyone
-      acting on such Contributor's behalf. Contributions do not include additions to
-      the Program which: (i) are separate modules of software distributed in
-      conjunction with the Program under their own license agreement, and (ii) are not
-      derivative works of the Program.
-
-      "Contributor" means any person or entity that distributes the Program.
-
-      "Licensed Patents " mean patent claims licensable by a Contributor which are
-      necessarily infringed by the use or sale of its Contribution alone or when
-      combined with the Program.
-
-      "Program" means the Contributions distributed in accordance with this Agreement.
-
-      "Recipient" means anyone who receives the Program under this Agreement,
-      including all Contributors.
-
-      2. GRANT OF RIGHTS
-
-      a) Subject to the terms of this Agreement, each Contributor hereby grants
-      Recipient a non-exclusive, worldwide, royalty-free copyright license to
-      reproduce, prepare derivative works of, publicly display, publicly perform,
-      distribute and sublicense the Contribution of such Contributor, if any, and such
-      derivative works, in source code and object code form.
-
-      b) Subject to the terms of this Agreement, each Contributor hereby grants
-      Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed
-      Patents to make, use, sell, offer to sell, import and otherwise transfer the
-      Contribution of such Contributor, if any, in source code and object code form.
-      This patent license shall apply to the combination of the Contribution and the
-      Program if, at the time the Contribution is added by the Contributor, such
-      addition of the Contribution causes such combination to be covered by the
-      Licensed Patents. The patent license shall not apply to any other combinations
-      which include the Contribution. No hardware per se is licensed hereunder.
-
-      c) Recipient understands that although each Contributor grants the licenses
-      to its Contributions set forth herein, no assurances are provided by any
-      Contributor that the Program does not infringe the patent or other intellectual
-      property rights of any other entity. Each Contributor disclaims any liability to
-      Recipient for claims brought by any other entity based on infringement of
-      intellectual property rights or otherwise. As a condition to exercising the
-      rights and licenses granted hereunder, each Recipient hereby assumes sole
-      responsibility to secure any other intellectual property rights needed, if any.
-      For example, if a third party patent license is required to allow Recipient to
-      distribute the Program, it is Recipient's responsibility to acquire that license
-      before distributing the Program.
-
-      d) Each Contributor represents that to its knowledge it has sufficient
-      copyright rights in its Contribution, if any, to grant the copyright license set
-      forth in this Agreement.
-
-      3. REQUIREMENTS
-
-      A Contributor may choose to distribute the Program in object code form under its
-      own license agreement, provided that:
-
-      a) it complies with the terms and conditions of this Agreement; and
-
-      b) its license agreement:
-
-      i) effectively disclaims on behalf of all Contributors all warranties and
-      conditions, express and implied, including warranties or conditions of title and
-      non-infringement, and implied warranties or conditions of merchantability and
-      fitness for a particular purpose;
-
-      ii) effectively excludes on behalf of all Contributors all liability for
-      damages, including direct, indirect, special, incidental and consequential
-      damages, such as lost profits;
-
-      iii) states that any provisions which differ from this Agreement are offered
-      by that Contributor alone and not by any other party; and
-
-      iv) states that source code for the Program is available from such
-      Contributor, and informs licensees how to obtain it in a reasonable manner on or
-      through a medium customarily used for software exchange.
-
-      When the Program is made available in source code form:
-
-      a) it must be made available under this Agreement; and
-
-      b) a copy of this Agreement must be included with each copy of the Program.
-
-      Contributors may not remove or alter any copyright notices contained within the
-      Program.
-
-      Each Contributor must identify itself as the originator of its Contribution, if
-      any, in a manner that reasonably allows subsequent Recipients to identify the
-      originator of the Contribution.
-
-      4. COMMERCIAL DISTRIBUTION
-
-      Commercial distributors of software may accept certain responsibilities with
-      respect to end users, business partners and the like. While this license is
-      intended to facilitate the commercial use of the Program, the Contributor who
-      includes the Program in a commercial product offering should do so in a manner
-      which does not create potential liability for other Contributors. Therefore, if
-      a Contributor includes the Program in a commercial product offering, such
-      Contributor ("Commercial Contributor") hereby agrees to defend and indemnify
-      every other Contributor ("Indemnified Contributor") against any losses, damages
-      and costs (collectively "Losses") arising from claims, lawsuits and other legal
-      actions brought by a third party against the Indemnified Contributor to the
-      extent caused by the acts or omissions of such Commercial Contributor in
-      connection with its distribution of the Program in a commercial product
-      offering. The obligations in this section do not apply to any claims or Losses
-      relating to any actual or alleged intellectual property infringement. In order
-      to qualify, an Indemnified Contributor must: a) promptly notify the Commercial
-      Contributor in writing of such claim, and b) allow the Commercial Contributor to
-      control, and cooperate with the Commercial Contributor in, the defense and any
-      related settlement negotiations. The Indemnified Contributor may participate in
-      any such claim at its own expense.
-
-      For example, a Contributor might include the Program in a commercial product
-      offering, Product X. That Contributor is then a Commercial Contributor. If that
-      Commercial Contributor then makes performance claims, or offers warranties
-      related to Product X, those performance claims and warranties are such
-      Commercial Contributor's responsibility alone. Under this section, the
-      Commercial Contributor would have to defend claims against the other
-      Contributors related to those performance claims and warranties, and if a court
-      requires any other Contributor to pay any damages as a result, the Commercial
-      Contributor must pay those damages.
-
-      5. NO WARRANTY
-
-      EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN
-      "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR
-      IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE,
-      NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each
-      Recipient is solely responsible for determining the appropriateness of using and
-      distributing the Program and assumes all risks associated with its exercise of
-      rights under this Agreement, including but not limited to the risks and costs of
-      program errors, compliance with applicable laws, damage to or loss of data,
-      programs or equipment, and unavailability or interruption of operations.
-
-      6. DISCLAIMER OF LIABILITY
-
-      EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY
-      CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-      SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST
-      PROFITS), 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 OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS
-      GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
-
-      7. GENERAL
-
-      If any provision of this Agreement is invalid or unenforceable under applicable
-      law, it shall not affect the validity or enforceability of the remainder of the
-      terms of this Agreement, and without further action by the parties hereto, such
-      provision shall be reformed to the minimum extent necessary to make such
-      provision valid and enforceable.
-
-      If Recipient institutes patent litigation against a Contributor with respect to
-      a patent applicable to software (including a cross-claim or counterclaim in a
-      lawsuit), then any patent licenses granted by that Contributor to such Recipient
-      under this Agreement shall terminate as of the date such litigation is filed. In
-      addition, if Recipient institutes patent litigation against any entity
-      (including a cross-claim or counterclaim in a lawsuit) alleging that the Program
-      itself (excluding combinations of the Program with other software or hardware)
-      infringes such Recipient's patent(s), then such Recipient's rights granted under
-      Section 2(b) shall terminate as of the date such litigation is filed.
-
-      All Recipient's rights under this Agreement shall terminate if it fails to
-      comply with any of the material terms or conditions of this Agreement and does
-      not cure such failure in a reasonable period of time after becoming aware of
-      such noncompliance. If all Recipient's rights under this Agreement terminate,
-      Recipient agrees to cease use and distribution of the Program as soon as
-      reasonably practicable. However, Recipient's obligations under this Agreement
-      and any licenses granted by Recipient relating to the Program shall continue and
-      survive.
-
-      Everyone is permitted to copy and distribute copies of this Agreement, but in
-      order to avoid inconsistency the Agreement is copyrighted and may only be
-      modified in the following manner. The Agreement Steward reserves the right to
-      publish new versions (including revisions) of this Agreement from time to time.
-      No one other than the Agreement Steward has the right to modify this Agreement.
-      IBM is the initial Agreement Steward. IBM may assign the responsibility to serve
-      as the Agreement Steward to a suitable separate entity. Each new version of the
-      Agreement will be given a distinguishing version number. The Program (including
-      Contributions) may always be distributed subject to the version of the Agreement
-      under which it was received. In addition, after a new version of the Agreement
-      is published, Contributor may elect to distribute the Program (including its
-      Contributions) under the new version. Except as expressly stated in Sections
-      2(a) and 2(b) above, Recipient receives no rights or licenses to the
-      intellectual property of any Contributor under this Agreement, whether
-      expressly, by implication, estoppel or otherwise. All rights in the Program not
-      expressly granted under this Agreement are reserved.
-
-      This Agreement is governed by the laws of the State of New York and the
-      intellectual property laws of the United States of America. No party to this
-      Agreement will bring a legal action under this Agreement more than one year
-      after the cause of action arose. Each party waives its rights to a jury trial in
-      any resulting litigation.
-      --
-
-      ===
-      Component(s)
-
-      - SLF4J JCL Binding (http://www.slf4j.org) 
-        repo/slf4j-jcl-1.6.3.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-      - SLF4J LOG4J-12 Binding (http://www.slf4j.org)
-        repo/slf4j-log4j12-1.7.5.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-      - SLF4J API Module (http://www.slf4j.org/slf4j-api)
-        repo/slf4j-api-1.6.1.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-        and
-        lib/slf4j-api-1.6.1.jar
-      - SLF4J Simple (http://www.slf4j.org)
-        lib/slf4j-simple-1.6.1.jar
-
-      are provided under the MIT license:
-
-      --
-      Copyright (c) 2004-2013 QOS.ch
-       All rights reserved.
-
-       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.
-   --
-
-   ===
-   Component(s):
-   - antlr-runtime (http://www.antlr.org/antlr-runtime)
-     repo/antlr-runtime-3.4.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-   - ANTLR ST4 4.0.4 (http://www.stringtemplate.org)
-     repo/ST4-4.0.4.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-   - ANTLR StringTemplate (http://www.stringtemplate.org)
-     repo/stringtemplate-3.2.1.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-   - AntLR Parser Generator (http://www.antlr.org/)
-     repo/antlr-2.7.7.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-   Are available under a  BSD-style License:
-
-   --
-      Copyright (c) 2012 Terence Parr and Sam Harwell
-      All rights reserved.
-      Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
-      Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
-      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.
-      Neither the name of the author 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 OWNER 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.
-   --
-
-   ===
-   Component(s):
-   - JSch (http://www.jcraft.com/jsch/) 
-     repo/jsch-0.1.42.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-   are available under a BSD-style license:
-
-   --
-      JSch 0.0.* was released under the GNU LGPL license.  Later, we have switched 
-      over to a BSD-style license. 
-
-      ------------------------------------------------------------------------------
-      Copyright (c) 2002-2015 Atsuhiko Yamanaka, JCraft,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. The names of the authors may not be used to endorse or promote products
-           derived from this software without specific prior written permission.
-
-      THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 JCRAFT,
-      INC. OR ANY CONTRIBUTORS TO THIS SOFTWARE 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.
-   --
-
-   ===
-   Component(s):
-   - StAX Utilities (http://stax-utils.dev.java.net/stax-utils)
-     net.java.dev.stax-utils:stax-utils:jar:20060502:compile
-
-   are available under a BSD-style license::
-
-   --
-      Copyright (c) 2004, Christian Niles, unit12.net
-      Copyright (c) 2004, Sun Microsystems, Inc.
-      Copyright (c) 2006, John Kristian 
-      All rights reserved.
-
-      Redistribution and use in source and binary forms, with or without
-      modification, are permitted provided that the following conditions are
-      met:
-
-          * Redistributions of source code must retain the above copyright
-            notice, this list of conditions and the following disclaimer.
-
-          * 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.
-
-          * Neither the name of the listed copyright holders 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
-      OWNER 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.
-   --
-
-   ===
-   Component(s):
-   - ParaNamer Core (http://paranamer.codehaus.org/paranamer) 
-     repo/paranamer-2.3.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-   are available under a BSD-style license:
-
-   --
-      [ ParaNamer used to be 'Pubic Domain', but since it includes a small piece of ASM it is now the same license as that: BSD ]
-
-       Copyright (c) 2006 Paul Hammant & ThoughtWorks 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 the copyright holders 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 OWNER 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
-   --
-
-   ===
-   Component(s):
-   - JDOM
-     repo/jdom-1.0.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-   are available under a Modified ASL license:
-   --
-      /*-- 
-
-       $Id: LICENSE.txt,v 1.11 2004/02/06 09:32:57 jhunter Exp $
-
-       Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin.
-       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 disclaimer that follows 
-          these conditions in the documentation and/or other materials 
-          provided with the distribution.
-
-       3. The name "JDOM" must not be used to endorse or promote products
-          derived from this software without prior written permission.  For
-          written permission, please contact <request_AT_jdom_DOT_org>.
-       
-       4. Products derived from this software may not be called "JDOM", nor
-          may "JDOM" appear in their name, without prior written permission
-          from the JDOM Project Management <request_AT_jdom_DOT_org>.
-       
-       In addition, we request (but do not require) that you include in the 
-       end-user documentation provided with the redistribution and/or in the 
-       software itself an acknowledgement equivalent to the following:
-           "This product includes software developed by the
-            JDOM Project (http://www.jdom.org/)."
-       Alternatively, the acknowledgment may be graphical using the logos 
-       available at http://www.jdom.org/images/logos.
-
-       THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 JDOM AUTHORS OR THE PROJECT
-       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.
-
-       This software consists of voluntary contributions made by many 
-       individuals on behalf of the JDOM Project and was originally 
-       created by Jason Hunter <jhunter_AT_jdom_DOT_org> and
-       Brett McLaughlin <brett_AT_jdom_DOT_org>.  For more information
-       on the JDOM Project, please see <http://www.jdom.org/>. 
-
-    */
-   --
-
-   ===
-   Component(s):
-   - Hamcrest Core (https://github.com/hamcrest/JavaHamcrest/hamcrest-core) 
-     repo/hamcrest-core-1.3.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-   are available under a BSD-style license
-   --
-      BSD License
-
-      Copyright (c) 2000-2006, www.hamcrest.org
-      All rights reserved.
-
-      Redistribution and use in source and binary forms, with or without
-      modification, are permitted provided that the following conditions are met:
-
-      Redistributions of source code must retain the above copyright notice, this list of
-      conditions and the following disclaimer. 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.
-
-      Neither the name of Hamcrest 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 OWNER 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.
-   --
-
-   ===
-   Component(s):
-   - Protocol Buffer Java API (http://code.google.com/p/protobuf) 
-     repo/protobuf-java-2.5.0.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-     and
-     lib/protobuf-java-2.5.0.jar
-
-   are available under a BSD-style license:
-
-   --
-      This license applies to all parts of Protocol Buffers except the following:
-
-        - Atomicops support for generic gcc, located in
-          src/google/protobuf/stubs/atomicops_internals_generic_gcc.h.
-          This file is copyrighted by Red Hat Inc.
-
-        - Atomicops support for AIX/POWER, located in
-          src/google/protobuf/stubs/atomicops_internals_power.h.
-          This file is copyrighted by Bloomberg Finance LP.
-
-      Copyright 2014, Google 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:
-
-          * Redistributions of source code must retain the above copyright
-      notice, this list of conditions and the following disclaimer.
-          * 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.
-          * Neither the name of Google Inc. 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
-      OWNER 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.
-
-      Code generated by the Protocol Buffer compiler is owned by the owner
-      of the input file used when generating it.  This code is not
-      standalone and requires a support library to be linked with it.  This
-      support library is itself covered by the above license.
-   --
-
-   ===
-   Component(s):
-   - JSON (JavaScript Object Notation) (http://www.json.org/java/index.html) 
-     repo/json-20090211.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-   are available under the JSON license:
-
-   --
-      Copyright (c) 2002 JSON.org
-
-      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 shall be used for Good, not Evil.
-
-      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.
-   --
-
-   ===
-   Component(s):
-   - XZ for Java (http://tukaani.org/xz/java.html) 
-     repo/xz-1.0.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-   - XML Pull Parsing API (http://aopalliance.sourceforge.net/aopalliance) 
-     repo/aopalliance-1.0.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-   are in the public domain.
-
-   ===
-
-   Component(s):
-   - JLine (http://jline.sourceforge.net) 
-     repo/jline-0.9.94.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-   are available under a BSD-style license:
-   --
-
-      Copyright (c) 2002-2006, Marc Prud'hommeaux <mwp1@cornell.edu>
-      All rights reserved.
-
-      Redistribution and use in source and binary forms, with or
-      without modification, are permitted provided that the following
-      conditions are met:
-
-      Redistributions of source code must retain the above copyright
-      notice, this list of conditions and the following disclaimer.
-
-      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.
-
-      Neither the name of JLine 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 OWNER 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.
-   --
-
-   ===
-   Component(s):
-
-   - xmlenc Library (http://xmlenc.sourceforge.net) 
-     repo/xmlenc-0.52.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-   are available under a BSD-style license:
-
-   --
-      Copyright 2003-2005, Ernst de Haan <wfe.dehaan@gmail.com>
-      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 the copyright holder 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 HOLDER 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 OWNER 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.
-   --
-
-   ===
-   Component(s):
-   - Appassembler :: Generic Bootstrapper (http://mojo.codehaus.org/appassembler/appassembler-booter) 
-     repo/appassembler-booter-1.3.1.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-   - Appassembler :: Model (http://mojo.codehaus.org/appassembler/appassembler-model) 
-     repo/appassembler-model-1.3.1.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-   are available under the MIT license:
-
-   --
-      The MIT License
-
-      Copyright 2006-2012 The Codehaus.
-
-      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.
-   --
-
-   ===
-   Component(s):
-
-   - args4j (http://args4j.dev.java.net/args4j/) 
-     repo/args4j-2.0.12.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-   are available under the MIT License:
-
-   --
-      Copyright (c) 2003, Kohsuke Kawaguchi
-
-      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.
-   --
-
-   ===
-   Component(s)
-   - ASM Core (http://asm.objectweb.org/asm/) 
-     repo/asm-3.1.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-   are available under a BSD-style license:
-
-   --
-      Copyright (c) 2000-2011 INRIA, France Telecom
-      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 the copyright holders 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 OWNER 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.
-   --
-
-
-   ===
-   Component(s)
-   - Plexus Utils (http://asm.objectweb.org/asm/) 
-     repo/plexus-utils-3.0.7.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-    contain components under a BSD-style license:
-
-   --
-    /********************************************************************************
-     * CruiseControl, a Continuous Integration Toolkit
-     * Copyright (c) 2001-2003, ThoughtWorks, Inc.
-     * 651 W Washington Ave. Suite 500
-     * Chicago, IL 60661 USA
-     * All rights reserved.
-     *
-     * Redistribution and use in source and binary forms, with or without
-     * modification, are permitted provided that the following conditions
-     * are met:
-     *
-     *     + Redistributions of source code must retain the above copyright
-     *       notice, this list of conditions and the following disclaimer.
-     *
-     *     + 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.
-     *
-     *     + Neither the name of ThoughtWorks, Inc., CruiseControl, 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 REGENTS 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.
-     ********************************************************************************/
-   --
-
-   ===
-   Component(s)
-   - Plexus Utils (http://asm.objectweb.org/asm/) 
-     repo/plexus-utils-3.0.7.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-    contain components under a BSD-style license:
-
-   --
-    Javolution - Java(TM) Solution for Real-Time and Embedded Systems
-    Copyright (c) 2006, Javolution (http://javolution.org)
-    All rights reserved.
-
-    Redistribution and use in source and binary forms, with or without modification,
-    are permitted provided that the following conditions are met:
-
-        * Redistributions of source code must retain the above copyright notice,
-          this list of conditions and the following disclaimer.
-        * 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.
-
-    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 OWNER 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.
-   --
-
-   ===
-   Component(s)
-   - Plexus Utils (http://asm.objectweb.org/asm/) 
-     repo/plexus-utils-3.0.7.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-    contain components under the Indiana University Extreme! Lab Software License:
-
-   --
-    Indiana University Extreme! Lab Software License
-
-    Version 1.1.1
-
-    Copyright (c) 2002 Extreme! Lab, Indiana University. 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. The end-user documentation included with the redistribution, if any, 
-       must include the following acknowledgment:
-
-      "This product includes software developed by the Indiana University 
-      Extreme! Lab (http://www.extreme.indiana.edu/)."
-
-    Alternately, this acknowledgment may appear in the software itself, 
-    if and wherever such third-party acknowledgments normally appear.
-
-    4. The names "Indiana Univeristy" and "Indiana Univeristy Extreme! Lab" 
-    must not be used to endorse or promote products derived from this 
-    software without prior written permission. For written permission, 
-    please contact http://www.extreme.indiana.edu/.
-
-    5. Products derived from this software may not use "Indiana Univeristy" 
-    name nor may "Indiana Univeristy" appear in their name, without prior 
-    written permission of the Indiana University.
-
-    THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED 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 AUTHORS, COPYRIGHT HOLDERS OR ITS 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.
-   --
-===
-
-
-For portions of the AsterixDB WebUI in:
-repo/asterix-app-0.8.8.jar, within
-asterix/asterix-server-0.8.8-binary-assembly.zip, within this assembly
-located at:
-
- webui/static/js/jquery.min.js
-and
- webui/static/js/jquery.autosize-min.js
-
-are available under a MIT-style 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.
-
-as well as portions of the WebUI at:
-webui/static/js/bootstrap.min.js
-
-   The MIT License (MIT)
-
-   Copyright (c) 2011-2015 Twitter, Inc
-
-   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.
-
-
-and portions of the WebUI at:
-webui/static/js/smoothie.js
-
-   MIT License
-   -----------
-
-   Copyright (c) 2010-2013, Joe Walnes
-                 2013-2014, Drew Noakes
-
-                 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.
diff --git a/asterixdb/asterix-yarn/src/main/licenses/NOTICE b/asterixdb/asterix-yarn/src/main/licenses/NOTICE
deleted file mode 100644
index 79a6c1a..0000000
--- a/asterixdb/asterix-yarn/src/main/licenses/NOTICE
+++ /dev/null
@@ -1,724 +0,0 @@
-Apache AsterixDB Hadoop YARN installer
-Copyright 2016 The Apache Software Foundation
-
-This product includes software developed at
-The Apache Software Foundation (http://www.apache.org/).
-
-AsterixDB utilizes many libraries, which come with the following applicable NOTICE(s):
-
- - repo/avro-1.7.4.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-    Apache Avro
-    Copyright 2009-2013 The Apache Software Foundation
-
- - repo/commons-logging-1.1.1.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-   and lib/commons-logging-1.1.1.jar
-
-    Commons Logging
-    Copyright 2001-2007 The Apache Software Foundation
-
- - repo/derby-10.10.1.1.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-    Apache Derby
-    Copyright 2004-2013 The Apache Software Foundation
-
-    =========================================================================
-
-    Portions of Derby were originally developed by
-    International Business Machines Corporation and are
-    licensed to the Apache Software Foundation under the
-    "Software Grant and Corporate Contribution License Agreement",
-    informally known as the "Derby CLA".
-    The following copyright notice(s) were affixed to portions of the code
-    with which this file is now or was at one time distributed
-    and are placed here unaltered.
-
-    (C) Copyright 1997,2004 International Business Machines Corporation.  All rights reserved.
-
-    (C) Copyright IBM Corp. 2003. 
-
-
-    =========================================================================
-
-
-    The JDBC apis for small devices and JDBC3 (under java/stubs/jsr169 and
-    java/stubs/jdbc3) were produced by trimming sources supplied by the
-    Apache Harmony project. In addition, the Harmony SerialBlob and
-    SerialClob implementations are used. The following notice covers the Harmony sources:
-
-    Portions of Harmony were originally developed by
-    Intel Corporation and are licensed to the Apache Software
-    Foundation under the "Software Grant and Corporate Contribution
-    License Agreement", informally known as the "Intel Harmony CLA".
-
-
- - repo/guice-3.0.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-    Google Guice - Core Library
-    Copyright 2006-2011 Google, Inc.
-
- - repo/guice-servlet-3.0.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-    Google Guice - Extensions - Servlet
-    Copyright 2006-2011 Google, Inc.
-
- - repo/hive-ant-0.13.0.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-    Hive Ant Utilities
-    Copyright 2014 The Apache Software Foundation
-
- - repo/hive-common-0.13.0.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-    Hive Common
-    Copyright 2014 The Apache Software Foundation
-
- - repo/hive-exec-0.13.0.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-    Hive Query Language
-    Copyright 2014 The Apache Software Foundation
-
- - repo/hive-metastore-0.13.0.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-    Hive Metastore
-    Copyright 2014 The Apache Software Foundation
-
- - repo/hive-serde-0.13.0.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-    Hive Serde
-    Copyright 2014 The Apache Software Foundation
-
- - repo/hive-shims-0.13.0.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-    Hive Shims
-    Copyright 2014 The Apache Software Foundation
-
- - repo/hive-shims-0.20-0.13.0.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-    Hive Shims 0.20
-    Copyright 2014 The Apache Software Foundation
-
- - repo/hive-shims-0.20S-0.13.0.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-    Hive Shims 0.20S
-    Copyright 2014 The Apache Software Foundation
-
- - repo/hive-shims-0.23-0.13.0.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-    Hive Shims 0.23
-    Copyright 2014 The Apache Software Foundation
-
- - repo/hive-shims-common-0.13.0.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-    Hive Shims Common
-    Copyright 2014 The Apache Software Foundation
-
- - repo/hive-shims-common-secure-0.13.0.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-    Hive Shims Secure Common
-    Copyright 2014 The Apache Software Foundation
-
- - repo/plexus-utils-3.0.7.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-    This product includes software developed by the Indiana University 
-      Extreme! Lab (http://www.extreme.indiana.edu/)
-
-    This product includes software developed by
-    ThoughtWorks (http://www.thoughtworks.com).
-
-    This product includes software developed by
-    javolution (http://javolution.org/).
-
-    This product includes software developed by
-    Rome (https://rome.dev.java.net/).
-
-- repo/velocity-1.5.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-    Apache Velocity
-
-    Copyright (C) 2000-2007 The Apache Software Foundation
-
- - repo/wicket-core-1.5.2.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-   Apache Wicket
-   Copyright 2006-2011 Apache Software Foundation
-
-   This product includes software from QOS.ch (http://slf4j.org) licensed under the X11 license
-   Copyright (c) 2004-2008 QOS.ch
-
-   Contains Diff library from Mavens JRCS, released under
-   The Apache Software License, Version 1.1.
-   (c) 1999-2003
-
-   org.apache.wicket.markup.html.form.upload.MultiFileUploadField.js is taken from [1]
-   and has the following notice:
-      "Licence:
-       Use this however/wherever you like, just don't blame me if it breaks
-       anything.
-
-       Credit:
-       If you're nice, you'll leave this bit:
-
-       Class by Stickman -- http://www.the-stickman.com
-       with thanks to:
-       [for Safari fixes]
-          Luis Torrefranca -- http://www.law.pitt.edu
-          and
-          Shawn Parker & John Pennypacker -- http://www.fuzzycoconut.com
-       [for duplicate name bug]
-          'neal'"
-   [1]: http://the-stickman.com/web-development/javascript/upload-multiple-files-with-a-single-file-element/
- - repo/wicket-request-1.5.2.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-    Wicket Request
-    Copyright 2006-2011 Apache Software Foundation
-
- - repo/wicket-util-1.5.2.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-    Wicket Util
-    Copyright 2006-2011 Apache Software Foundation
-
- - repo/xercesImpl-2.9.1.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-   Apache Xerces Java
-   Copyright 1999-2007 The Apache Software Foundation
-
-   Portions of this software were originally based on the following:
-     - software copyright (c) 1999, IBM Corporation., http://www.ibm.com.
-     - software copyright (c) 1999, Sun Microsystems., http://www.sun.com.
-     - voluntary contributions made by Paul Eng on behalf of the 
-       Apache Software Foundation that were originally developed at iClick, Inc.,
-       software copyright (c) 1999.
-
- - repo/xml-apis-1.3.04.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-   Apache XML Commons XML APIs
-   Copyright 2006 The Apache Software Foundation.
-
-
-   Portions of this software were originally based on the following:
-     - software copyright (c) 1999, IBM Corporation., http://www.ibm.com.
-     - software copyright (c) 1999, Sun Microsystems., http://www.sun.com.
-     - software copyright (c) 2000 World Wide Web Consortium, http://www.w3.org
-
- - repo/httpclient-4.2.2.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-    Apache HttpComponents HttpClient
-    Copyright 1999-2012 The Apache Software Foundation
-
-    This product includes software developed by
-    The Apache Software Foundation (http://www.apache.org/).
-
- - repo/httpcore-4.2.2.jar in asterix/asterix-server-0.8.8-binary-assembly.zip
-
-    Apache HttpComponents HttpCore
-    Copyright 2005-2012 The Apache Software Foundation
-
-    This product includes software developed by
-    The Apache Software Foundation (http://www.apache.org/).
-
-    This project contains annotations derived from JCIP-ANNOTATIONS
-    Copyright (c) 2005 Brian Goetz and Tim Peierls. See http://www.jcip.net
-
-- repo/ant-1.9.1.jar in asterix/asterix-server-0.8.8-incubating-binary-assembly.zip
-
-   Apache Ant
-   Copyright 1999-2013 The Apache Software Foundation
-
-   The <sync> task is based on code Copyright (c) 2002, Landmark
-   Graphics Corp that has been kindly donated to the Apache Software
-   Foundation.
- - repo/ant-launcher-1.9.1.jar in asterix/asterix-server-0.8.8-incubating-binary-assembly.zip
-
-   Apache Ant
-   Copyright 1999-2013 The Apache Software Foundation
-
-   The <sync> task is based on code Copyright (c) 2002, Landmark
-   Graphics Corp that has been kindly donated to the Apache Software
-   Foundation.
- - repo/commons-beanutils-1.7.0.jar in asterix/asterix-server-0.8.8-incubating-binary-assembly.zip
-
-    This product includes software developed by
-    The Apache Software Foundation (http://www.apache.org/).
-
- - repo/commons-beanutils-core-1.8.0.jar in asterix/asterix-server-0.8.8-incubating-binary-assembly.zip
-    Apache Commons BeanUtils
-
-    Copyright 2000-2008 The Apache Software Foundation
-
-
-    This product includes software developed by
-
-    The Apache Software Foundation (http://www.apache.org/).
-
- - repo/commons-cli-1.2.jar in asterix/asterix-server-0.8.8-incubating-binary-assembly.zip
-   and lib/commons-cli-1.2.jar
-
-    Apache Commons CLI
-    Copyright 2001-2009 The Apache Software Foundation
-
-    This product includes software developed by
-    The Apache Software Foundation (http://www.apache.org/).
-
- - repo/commons-codec-1.4.jar in asterix/asterix-server-0.8.8-incubating-binary-assembly.zip
-   and lib/commons-codec-1.4.jar
-
-    Apache Commons Codec
-
-    Copyright 2002-2009 The Apache Software Foundation
-
-
-
-    This product includes software developed by
-
-    The Apache Software Foundation (http://www.apache.org/).
-
-
- - repo/commons-collections-3.2.1.jar in asterix/asterix-server-0.8.8-incubating-binary-assembly.zip
-   and lib/commons-collections-3.2.1.jar
-
-    Apache Commons Collections
-
-    Copyright 2001-2008 The Apache Software Foundation
-
-
-
-    This product includes software developed by
-
-    The Apache Software Foundation (http://www.apache.org/).
-
- - repo/commons-compress-1.4.1.jar in asterix/asterix-server-0.8.8-incubating-binary-assembly.zip
-
-    Apache Commons Compress
-    Copyright 2002-2012 The Apache Software Foundation
-
-    This product includes software developed by
-    The Apache Software Foundation (http://www.apache.org/).
-
- - repo/commons-configuration-1.6.jar in asterix/asterix-server-0.8.8-incubating-binary-assembly.zip
-   and lib/commons-configuration-1.6.jar
-
-    Apache Commons Configuration
-
-    Copyright 2001-2008 The Apache Software Foundation
-
-
-
-    This product includes software developed by
-
-    The Apache Software Foundation (http://www.apache.org/).
-
- - repo/commons-daemon-1.0.13.jar in asterix/asterix-server-0.8.8-incubating-binary-assembly.zip
-
-    Apache Commons Daemon
-    Copyright 1999-2013 The Apache Software Foundation
-
-    This product includes software developed by
-    The Apache Software Foundation (http://www.apache.org/).
-     - repo/commons-digester-1.8.jar in asterix/asterix-server-0.8.8-incubating-binary-assembly.zip
-    Apache Jakarta Commons Digester
-
-    Copyright 2001-2006 The Apache Software Foundation
-
-
-
-    This product includes software developed by
-
-    The Apache Software Foundation (http://www.apache.org/).
-
- - repo/commons-io-2.4.jar in asterix/asterix-server-0.8.8-incubating-binary-assembly.zip
-   and lib/commons-io-2.4.jar
-
-    Apache Commons IO
-
-    Copyright 2002-2012 The Apache Software Foundation
-
-
-
-    This product includes software developed by
-
-    The Apache Software Foundation (http://www.apache.org/).
-
-
-
- - repo/commons-lang-2.5.jar in asterix/asterix-server-0.8.8-incubating-binary-assembly.zip
-   and lib/commons-lang-2.5.jar
-
-    Apache Commons Lang
-
-    Copyright 2001-2010 The Apache Software Foundation
-
-
-
-    This product includes software developed by
-
-    The Apache Software Foundation (http://www.apache.org/).
-
- - repo/commons-lang3-3.1.jar in asterix/asterix-server-0.8.8-incubating-binary-assembly.zip
-
-    Apache Commons Lang
-    Copyright 2001-2011 The Apache Software Foundation
-
-    This product includes software developed by
-    The Apache Software Foundation (http://www.apache.org/).
-
-    This product includes software from the Spring Framework,
-    under the Apache License 2.0 (see: StringUtils.containsWhitespace())
-
- - repo/commons-logging-api-1.0.4.jar in asterix/asterix-server-0.8.8-incubating-binary-assembly.zip
-
-    This product includes software developed by
-    The Apache Software Foundation (http://www.apache.org/).
-
- - repo/commons-math-2.1.jar in asterix/asterix-server-0.8.8-incubating-binary-assembly.zip
-
-    Apache Commons Math
-    Copyright 2001-2010 The Apache Software Foundation
-
-    This product includes software developed by
-    The Apache Software Foundation (http://www.apache.org/).
-
-    ===============================================================================
-    The LinearConstraint, LinearObjectiveFunction, LinearOptimizer,
-    RelationShip, SimplexSolver and SimplexTableau classes in package
-    org.apache.commons.math.optimization.linear include software developed by
-    Benjamin McCann (http://www.benmccann.com) and distributed with
-    the following copyright: Copyright 2009 Google Inc.
-    ===============================================================================
-
-    This product includes software developed by the
-    University of Chicago, as Operator of Argonne National
-    Laboratory.
-    The LevenbergMarquardtOptimizer class in package
-    org.apache.commons.math.optimization.general includes software
-    translated from the lmder, lmpar and qrsolv Fortran routines
-    from the Minpack package
-    Minpack Copyright Notice (1999) University of Chicago.  All rights reserved
-    ===============================================================================
-
-    The GraggBulirschStoerIntegrator class in package
-    org.apache.commons.math.ode.nonstiff includes software translated
-    from the odex Fortran routine developed by E. Hairer and G. Wanner.
-    Original source copyright:
-    Copyright (c) 2004, Ernst Hairer
-    ===============================================================================
-
-    The EigenDecompositionImpl class in package
-    org.apache.commons.math.linear includes software translated
-    from some LAPACK Fortran routines.  Original source copyright:
-    Copyright (c) 1992-2008 The University of Tennessee.  All rights reserved.
-    ===============================================================================
-
-    The MersenneTwister class in package org.apache.commons.math.random
-    includes software translated from the 2002-01-26 version of
-    the Mersenne-Twister generator written in C by Makoto Matsumoto and Takuji
-    Nishimura. Original source copyright:
-    Copyright (C) 1997 - 2002, Makoto Matsumoto and Takuji Nishimura,
-    All rights reserved
-    ===============================================================================
-
-    The complete text of licenses and disclaimers associated with the the original
-    sources enumerated above at the time of code translation are in the LICENSE.txt
-    file.
-
- - repo/commons-net-3.1.jar in asterix/asterix-server-0.8.8-incubating-binary-assembly.zip
-
-    Apache Commons Net
-
-    Copyright 2001-2012 The Apache Software Foundation
-
-
-
-    This product includes software developed by
-
-    The Apache Software Foundation (http://www.apache.org/).
-
-
-
- - repo/datanucleus-api-jdo-3.2.6.jar in asterix/asterix-server-0.8.8-incubating-binary-assembly.zip
-
-    =========================================================================
-    ==  NOTICE file corresponding to section 4(d) of the Apache License,   ==
-    ==  Version 2.0, in this case for the DataNucleus distribution.        ==
-    =========================================================================
-
-    ===================================================================
-    This product includes software developed by many individuals,
-    including the following:
-    ===================================================================
-    Erik Bengtson
-    Andy Jefferson
-
-
-    ===================================================================
-    This product has included contributions from some individuals,
-    including the following:
-    ===================================================================
-
- - repo/datanucleus-core-3.2.10.jar in asterix/asterix-server-0.8.8-incubating-binary-assembly.zip
-
-    =========================================================================
-    ==  NOTICE file corresponding to section 4(d) of the Apache License,   ==
-    ==  Version 2.0, in this case for the DataNucleus distribution.        ==
-    =========================================================================
-
-    ===================================================================
-    This product includes software developed by many individuals,
-    including the following:
-    ===================================================================
-    Erik Bengtson
-    Andy Jefferson
-
-
-    ===================================================================
-    This product has included contributions from some individuals,
-    including the following:
-    ===================================================================
-    Joerg von Frantzius
-    Thomas Marti
-    Barry Haddow
-    Marco Schulze
-    Ralph Ullrich
-    David Ezzio
-    Brendan de Beer
-    David Eaves
-    Martin Taal
-    Tony Lai
-    Roland Szabo
-    Marcus Mennemeier
-    Xuan Baldauf
-    Eric Sultan
-
-
-    ===================================================================
-    This product also includes software developed by the TJDO project
-    (http://tjdo.sourceforge.net/).
-    ===================================================================
-
- - repo/datanucleus-rdbms-3.2.9.jar in asterix/asterix-server-0.8.8-incubating-binary-assembly.zip
-    =========================================================================
-    ==  NOTICE file corresponding to section 4(d) of the Apache License,   ==
-    ==  Version 2.0, in this case for the DataNucleus distribution.        ==
-    =========================================================================
-
-    ===================================================================
-    This product includes software developed by many individuals,
-    including the following:
-    ===================================================================
-    Andy Jefferson
-    Erik Bengtson
-    Joerg von Frantzius
-    Marco Schulze
-
-
-    ===================================================================
-    This product has included contributions from some individuals,
-    including the following:
-    ===================================================================
-    Barry Haddow
-    Ralph Ullrich
-    David Ezzio
-    Brendan de Beer
-    David Eaves
-    Martin Taal
-    Tony Lai
-    Roland Szabo
-    Anton Troshin (Timesten)
-
-
-    ===================================================================
-    This product also includes software developed by the TJDO project
-    (http://tjdo.sourceforge.net/).
-    ===================================================================
-
-    ===================================================================
-    This product also includes software developed by the Apache Commons project
-    (http://commons.apache.org/).
-    ===================================================================
-
- - repo/groovy-all-2.1.6.jar in asterix/asterix-server-0.8.8-incubating-binary-assembly.zip
-
-    Apache Commons CLI
-    Copyright 2001-2009 The Apache Software Foundation
-
-    This product includes software developed by
-    The Apache Software Foundation (http://www.apache.org/).
-
- - repo/hive-exec-0.13.0.jar in asterix/asterix-server-0.8.8-incubating-binary-assembly.zip
-
-    Apache Thrift
-    Copyright 2006-2010 The Apache Software Foundation.
-
-    This product includes software developed at
-    The Apache Software Foundation (http://www.apache.org/). 
-
- - repo/httpclient-4.2.2.jar in asterix/asterix-server-0.8.8-incubating-binary-assembly.zip
-
-    Apache HttpComponents HttpClient
-
-    Copyright 1999-2012 The Apache Software Foundation
-
-
-
-    This product includes software developed by
-
-    The Apache Software Foundation (http://www.apache.org/).
-
-
- - repo/httpcore-4.2.2.jar in asterix/asterix-server-0.8.8-incubating-binary-assembly.zip
-
-    Apache HttpComponents HttpCore
-
-    Copyright 2005-2012 The Apache Software Foundation
-
-
-
-    This product includes software developed by
-
-    The Apache Software Foundation (http://www.apache.org/).
-
-
-
-    This project contains annotations derived from JCIP-ANNOTATIONS
-
-    Copyright (c) 2005 Brian Goetz and Tim Peierls. See http://www.jcip.net
-
- - repo/jdo2-api-2.3-20090302111651.jar in asterix/asterix-server-0.8.8-incubating-binary-assembly.zip
-
-    Apache Java Data Objects (JDO)
-    Copyright 2005-2006 The Apache Software Foundation
-
-    This product includes software developed at
-    The Apache Software Foundation (http://www.apache.org/).
-
- - repo/jdo-api-3.0.1.jar in asterix/asterix-server-0.8.8-incubating-binary-assembly.zip
-
-    Apache Java Data Objects (JDO)
-
-    Copyright 2005-2006 The Apache Software Foundation
-
-
-
-    This product includes software developed at
-
-    The Apache Software Foundation (http://www.apache.org/).
-
- - repo/libthrift-0.9.0.jar in asterix/asterix-server-0.8.8-incubating-binary-assembly.zip
-
-    Apache Thrift
-    Copyright 2006-2010 The Apache Software Foundation.
-
-    This product includes software developed at
-    The Apache Software Foundation (http://www.apache.org/).
-
- - repo/netty-3.2.2.Final.jar in asterix/asterix-server-0.8.8-incubating-binary-assembly.zip
-
-                                The Netty Project
-                                =================
-
-    Please visit the Netty web site for more information:
-
-      * http://www.jboss.org/netty/
-
-    Copyright 2009 Red Hat, Inc.
-
-    Red Hat licenses this product to you under the Apache License, version 2.0 (the
-    "License"); you may not use this product 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.
-
-    Also, please refer to each LICENSE.<component>.txt file, which is located in
-    the 'license' directory of the distribution file, for the license terms of the
-    components that this product depends on.
-
-    -------------------------------------------------------------------------------
-    This product contains the extensions to Java Collections Framework which has
-    been derived from the works by JSR-166 EG, Doug Lea, and Jason T. Greene:
-
-      * LICENSE:
-        * license/LICENSE.jsr177y.txt (Public Domain)
-      * HOMEPAGE:
-        * http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/
-        * http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbosscache/experimental/jsr166/
-
-    This product contains a modified version of Robert Harder's Public Domain
-    Base64 Encoder and Decoder, which can be obtained at:
-
-      * LICENSE:
-        * license/LICENSE.base64.txt (Public Domain)
-      * HOMEPAGE:
-        * http://iharder.sourceforge.net/current/java/base64/
-
-    This product contains a modified version of 'JZlib', a re-implementation of
-    zlib in pure Java, which can be obtained at:
-
-      * LICENSE:
-        * license/LICENSE.jzlib.txt (BSD Style License)
-      * HOMEPAGE:
-        * http://www.jcraft.com/jzlib/
-
- - repo/netty-3.6.2.Final.jar in asterix/asterix-server-0.8.8-incubating-binary-assembly.zip
-
-                                The Netty Project
-                                =================
-
-    Please visit the Netty web site for more information:
-
-      * http://netty.io/
-
-    Copyright 2011 The Netty Project
-
-    The Netty Project 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.
-
-    Also, please refer to each LICENSE.<component>.txt file, which is located in
-    the 'license' directory of the distribution file, for the license terms of the
-    components that this product depends on.
-
-    -------------------------------------------------------------------------------
-    This product contains the extensions to Java Collections Framework which has
-    been derived from the works by JSR-166 EG, Doug Lea, and Jason T. Greene:
-
-      * LICENSE:
-        * license/LICENSE.jsr166y.txt (Public Domain)
-      * HOMEPAGE:
-        * http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/
-        * http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbosscache/experimental/jsr166/
-
-    This product contains a modified version of Robert Harder's Public Domain
-    Base64 Encoder and Decoder, which can be obtained at:
-
-      * LICENSE:
-        * license/LICENSE.base64.txt (Public Domain)
-      * HOMEPAGE:
-        * http://iharder.sourceforge.net/current/java/base64/
-
-    This product contains a modified version of 'JZlib', a re-implementation of
-    zlib in pure Java, which can be obtained at:
-
-      * LICENSE:
-        * license/LICENSE.jzlib.txt (BSD Style License)
-      * HOMEPAGE:
-        * http://www.jcraft.com/jzlib/
-
- - lib/log4j-1.2.17.jar
-
-    Apache log4j
-    Copyright 2007 The Apache Software Foundation
-
-    This product includes software developed at
-    The Apache Software Foundation (http://www.apache.org/).
-
diff --git a/asterixdb/src/main/appended-resources/supplemental-models.xml b/asterixdb/src/main/appended-resources/supplemental-models.xml
index 0d69dc6..10d7290 100644
--- a/asterixdb/src/main/appended-resources/supplemental-models.xml
+++ b/asterixdb/src/main/appended-resources/supplemental-models.xml
@@ -188,7 +188,7 @@
       </organization>
       <licenses>
         <license>
-          <name>Modified Apache Software License</name>
+          <name>an Apache-style open source license</name>
           <url>licenses/jdom.txt</url>
         </license>
       </licenses>
@@ -514,7 +514,7 @@
       </organization>
       <licenses>
         <license>
-          <name>MIT style</name>
+          <name>an MIT-style license</name>
           <url>http://www.slf4j.org/license.html</url>
         </license>
       </licenses>
@@ -531,7 +531,7 @@
       </organization>
       <licenses>
         <license>
-          <name>MIT style</name>
+          <name>an MIT-style license</name>
           <url>http://www.slf4j.org/license.html</url>
         </license>
       </licenses>
@@ -539,6 +539,23 @@
   </supplement>
   <supplement>
     <project>
+      <groupId>org.slf4j</groupId>
+      <artifactId>slf4j-log4j12</artifactId>
+      <licenses>
+        <license>
+          <name>an MIT-style license</name>
+          <url>http://www.slf4j.org/license.html</url>
+        </license>
+      </licenses>
+      <!-- not yet used
+      <properties>
+        <verifiedVersions>1.6.1,1.7.5</verifiedVersions>
+      </properties>
+      -->
+    </project>
+  </supplement>
+  <supplement>
+    <project>
       <groupId>log4j</groupId>
       <artifactId>log4j</artifactId>
       <name>Log4j</name>
@@ -699,7 +716,7 @@
       <artifactId>antlr-runtime</artifactId>
       <licenses>
         <license>
-          <name>MIT style</name>
+          <name>an MIT-style license</name>
           <url>http://www.slf4j.org/license.html</url>
         </license>
       </licenses>
@@ -739,4 +756,21 @@
       </licenses>
     </project>
   </supplement>
+  <supplement>
+    <project>
+      <groupId>args4j</groupId>
+      <artifactId>args4j</artifactId>
+      <licenses>
+        <license>
+          <name>an MIT-style license</name>
+          <url>https://raw.githubusercontent.com/kohsuke/args4j/b72102efeedc3f20ab5a998533711d042ba004a8/LICENSE</url>
+        </license>
+      </licenses>
+      <!-- not yet used
+      <properties>
+        <verifiedVersions>2.33</verifiedVersions>
+      </properties>
+      -->
+    </project>
+  </supplement>
 </supplementalDataModels>
diff --git a/asterixdb/src/main/licenses/content/asm.objectweb.org_license.html.txt b/asterixdb/src/main/licenses/content/asm.objectweb.org_license.html.txt
new file mode 100644
index 0000000..c5aba7b
--- /dev/null
+++ b/asterixdb/src/main/licenses/content/asm.objectweb.org_license.html.txt
@@ -0,0 +1,29 @@
+Copyright (c) 2000-2011 INRIA, France Telecom
+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 the copyright holders 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 OWNER 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/asterixdb/src/main/licenses/content/glassfish.dev.java.net_public_CDDL_GPL_1_1.html.txt b/asterixdb/src/main/licenses/content/glassfish.dev.java.net_public_CDDL_GPL_1_1.html.txt
new file mode 100644
index 0000000..5febc2d
--- /dev/null
+++ b/asterixdb/src/main/licenses/content/glassfish.dev.java.net_public_CDDL_GPL_1_1.html.txt
@@ -0,0 +1,204 @@
+COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL)Version 1.1
+
+1. Definitions.
+
+1.1. “Contributor” means each individual or entity that creates or contributes to the creation of Modifications.
+1.2. “Contributor Version” means the combination of the Original Software, prior Modifications used by a Contributor
+(if any), and the Modifications made by that particular Contributor.
+1.3. “Covered Software” means (a) the Original Software, or (b) Modifications, or (c) the combination of files
+containing Original Software with files containing Modifications, in each case including portions thereof.
+1.4. “Executable” means the Covered Software in any form other than Source Code.
+1.5. “Initial Developer” means the individual or entity that first makes Original Software available under this License.
+1.6. “Larger Work” means a work which combines Covered Software or portions thereof with code not governed by the terms
+of this License.
+1.7. “License” means this document.
+1.8. “Licensable” means having the right to grant, to the maximum extent possible, whether at the time of the initial
+grant or subsequently acquired, any and all of the rights conveyed herein.
+1.9. “Modifications” means the Source Code and Executable form of any of the following:
+A. Any file that results from an addition to, deletion from or modification of the contents of a file containing
+Original Software or previous Modifications;
+B. Any new file that contains any part of the Original Software or previous Modification; or
+C. Any new file that is contributed or otherwise made available under the terms of this License.
+1.10. “Original Software” means the Source Code and Executable form of computer software code that is originally
+released under this License.
+1.11. “Patent Claims” means any patent claim(s), now owned or hereafter acquired, including without limitation, method,
+process, and apparatus claims, in any patent Licensable by grantor.
+1.12. “Source Code” means (a) the common form of computer software code in which modifications are made and (b)
+associated documentation included in or with such code.
+1.13. “You” (or “Your”) means an individual or a legal entity exercising rights under, and complying with all of the
+terms of, this License. For legal entities, “You” includes any entity which controls, is controlled by, or is under
+common control with You. For purposes of this definition, “control” means (a) the power, direct or indirect, to cause
+the direction or management of such entity, whether by contract or otherwise, or (b) ownership of more than fifty
+percent (50%) of the outstanding shares or beneficial ownership of such entity.
+2. License Grants.
+
+2.1. The Initial Developer Grant.
+Conditioned upon Your compliance with Section 3.1 below and subject to third party intellectual property claims, the
+Initial Developer hereby grants You a world-wide, royalty-free, non-exclusive license:
+(a) under intellectual property rights (other than patent or trademark) Licensable by Initial Developer, to use,
+reproduce, modify, display, perform, sublicense and distribute the Original Software (or portions thereof), with or
+without Modifications, and/or as part of a Larger Work; and
+(b) under Patent Claims infringed by the making, using or selling of Original Software, to make, have made, use,
+practice, sell, and offer for sale, and/or otherwise dispose of the Original Software (or portions thereof).
+(c) The licenses granted in Sections 2.1(a) and (b) are effective on the date Initial Developer first distributes or
+otherwise makes the Original Software available to a third party under the terms of this License.
+(d) Notwithstanding Section 2.1(b) above, no patent license is granted: (1) for code that You delete from the Original
+Software, or (2) for infringements caused by: (i) the modification of the Original Software, or (ii) the combination of
+the Original Software with other software or devices.
+2.2. Contributor Grant.
+Conditioned upon Your compliance with Section 3.1 below and subject to third party intellectual property claims, each
+Contributor hereby grants You a world-wide, royalty-free, non-exclusive license:
+(a) under intellectual property rights (other than patent or trademark) Licensable by Contributor to use, reproduce,
+modify, display, perform, sublicense and distribute the Modifications created by such Contributor (or portions
+thereof), either on an unmodified basis, with other Modifications, as Covered Software and/or as part of a Larger Work;
+and
+(b) under Patent Claims infringed by the making, using, or selling of Modifications made by that Contributor either
+alone and/or in combination with its Contributor Version (or portions of such combination), to make, use, sell, offer
+for sale, have made, and/or otherwise dispose of: (1) Modifications made by that Contributor (or portions thereof); and
+(2) the combination of Modifications made by that Contributor with its Contributor Version (or portions of such
+combination).
+(c) The licenses granted in Sections 2.2(a) and 2.2(b) are effective on the date Contributor first distributes or
+otherwise makes the Modifications available to a third party.
+(d) Notwithstanding Section 2.2(b) above, no patent license is granted: (1) for any code that Contributor has deleted
+from the Contributor Version; (2) for infringements caused by: (i) third party modifications of Contributor Version, or
+(ii) the combination of Modifications made by that Contributor with other software (except as part of the Contributor
+Version) or other devices; or (3) under Patent Claims infringed by Covered Software in the absence of Modifications
+made by that Contributor.
+3. Distribution Obligations.
+
+3.1. Availability of Source Code.
+Any Covered Software that You distribute or otherwise make available in Executable form must also be made available in
+Source Code form and that Source Code form must be distributed only under the terms of this License. You must include a
+copy of this License with every copy of the Source Code form of the Covered Software You distribute or otherwise make
+available. You must inform recipients of any such Covered Software in Executable form as to how they can obtain such
+Covered Software in Source Code form in a reasonable manner on or through a medium customarily used for software
+exchange.
+3.2. Modifications.
+The Modifications that You create or to which You contribute are governed by the terms of this License. You represent
+that You believe Your Modifications are Your original creation(s) and/or You have sufficient rights to grant the rights
+conveyed by this License.
+3.3. Required Notices.
+You must include a notice in each of Your Modifications that identifies You as the Contributor of the Modification. You
+may not remove or alter any copyright, patent or trademark notices contained within the Covered Software, or any
+notices of licensing or any descriptive text giving attribution to any Contributor or the Initial Developer.
+3.4. Application of Additional Terms.
+You may not offer or impose any terms on any Covered Software in Source Code form that alters or restricts the
+applicable version of this License or the recipients' rights hereunder. You may choose to offer, and to charge a fee
+for, warranty, support, indemnity or liability obligations to one or more recipients of Covered Software. However, you
+may do so only on Your own behalf, and not on behalf of the Initial Developer or any Contributor. You must make it
+absolutely clear that any such warranty, support, indemnity or liability obligation is offered by You alone, and You
+hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial
+Developer or such Contributor as a result of warranty, support, indemnity or liability terms You offer.
+3.5. Distribution of Executable Versions.
+You may distribute the Executable form of the Covered Software under the terms of this License or under the terms of a
+license of Your choice, which may contain terms different from this License, provided that You are in compliance with
+the terms of this License and that the license for the Executable form does not attempt to limit or alter the
+recipient's rights in the Source Code form from the rights set forth in this License. If You distribute the Covered
+Software in Executable form under a different license, You must make it absolutely clear that any terms which differ
+from this License are offered by You alone, not by the Initial Developer or Contributor. You hereby agree to indemnify
+the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as
+a result of any such terms You offer.
+3.6. Larger Works.
+You may create a Larger Work by combining Covered Software with other code not governed by the terms of this License
+and distribute the Larger Work as a single product. In such a case, You must make sure the requirements of this License
+are fulfilled for the Covered Software.
+4. Versions of the License.
+
+4.1. New Versions.
+Oracle is the initial license steward and may publish revised and/or new versions of this License from time to time.
+Each version will be given a distinguishing version number. Except as provided in Section 4.3, no one other than the
+license steward has the right to modify this License.
+4.2. Effect of New Versions.
+You may always continue to use, distribute or otherwise make the Covered Software available under the terms of the
+version of the License under which You originally received the Covered Software. If the Initial Developer includes a
+notice in the Original Software prohibiting it from being distributed or otherwise made available under any subsequent
+version of the License, You must distribute and make the Covered Software available under the terms of the version of
+the License under which You originally received the Covered Software. Otherwise, You may also choose to use, distribute
+or otherwise make the Covered Software available under the terms of any subsequent version of the License published by
+the license steward.
+4.3. Modified Versions.
+When You are an Initial Developer and You want to create a new license for Your Original Software, You may create and
+use a modified version of this License if You: (a) rename the license and remove any references to the name of the
+license steward (except to note that the license differs from this License); and (b) otherwise make it clear that the
+license contains terms which differ from this License.
+5. DISCLAIMER OF WARRANTY.
+
+COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN “AS IS” BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR
+IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED SOFTWARE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR
+A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED SOFTWARE IS
+WITH YOU. SHOULD ANY COVERED SOFTWARE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER
+CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES
+AN ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY COVERED SOFTWARE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
+
+6. TERMINATION.
+
+6.1. This License and the rights granted hereunder will terminate automatically if You fail to comply with terms herein
+and fail to cure such breach within 30 days of becoming aware of the breach. Provisions which, by their nature, must
+remain in effect beyond the termination of this License shall survive.
+6.2. If You assert a patent infringement claim (excluding declaratory judgment actions) against Initial Developer or a
+Contributor (the Initial Developer or Contributor against whom You assert such claim is referred to as “Participant”)
+alleging that the Participant Software (meaning the Contributor Version where the Participant is a Contributor or the
+Original Software where the Participant is the Initial Developer) directly or indirectly infringes any patent, then any
+and all rights granted directly or indirectly to You by such Participant, the Initial Developer (if the Initial
+Developer is not the Participant) and all Contributors under Sections 2.1 and/or 2.2 of this License shall, upon 60
+days notice from Participant terminate prospectively and automatically at the expiration of such 60 day notice period,
+unless if within such 60 day period You withdraw Your claim with respect to the Participant Software against such
+Participant either unilaterally or pursuant to a written agreement with Participant.
+6.3. If You assert a patent infringement claim against Participant alleging that the Participant Software directly or
+indirectly infringes any patent where such claim is resolved (such as by license or settlement) prior to the initiation
+of patent infringement litigation, then the reasonable value of the licenses granted by such Participant under Sections
+2.1 or 2.2 shall be taken into account in determining the amount or value of any payment or license.
+6.4. In the event of termination under Sections 6.1 or 6.2 above, all end user licenses that have been validly granted
+by You or any distributor hereunder prior to termination (excluding licenses granted to You by any distributor) shall
+survive termination.
+7. LIMITATION OF LIABILITY.
+
+UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL
+YOU, THE INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED SOFTWARE, OR ANY SUPPLIER OF ANY OF
+SUCH PARTIES, BE LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER
+INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND
+ALL OTHER COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES.
+THIS LIMITATION OF LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY RESULTING FROM SUCH PARTY'S
+NEGLIGENCE TO THE EXTENT APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR
+LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
+
+8. U.S. GOVERNMENT END USERS.
+
+The Covered Software is a “commercial item,” as that term is defined in 48 C.F.R. 2.101 (Oct. 1995), consisting of
+“commercial computer software” (as that term is defined at 48 C.F.R. § 252.227-7014(a)(1)) and “commercial computer
+software documentation” as such terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 C.F.R. 12.212 and
+48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all U.S. Government End Users acquire Covered Software with only
+those rights set forth herein. This U.S. Government Rights clause is in lieu of, and supersedes, any other FAR, DFAR,
+or other clause or provision that addresses Government rights in computer software under this License.
+
+9. MISCELLANEOUS.
+
+This License represents the complete agreement concerning subject matter hereof. If any provision of this License is
+held to be unenforceable, such provision shall be reformed only to the extent necessary to make it enforceable. This
+License shall be governed by the law of the jurisdiction specified in a notice contained within the Original Software
+(except to the extent applicable law, if any, provides otherwise), excluding such jurisdiction's conflict-of-law
+provisions. Any litigation relating to this License shall be subject to the jurisdiction of the courts located in the
+jurisdiction and venue specified in a notice contained within the Original Software, with the losing party responsible
+for costs, including, without limitation, court costs and reasonable attorneys' fees and expenses. The application of
+the United Nations Convention on Contracts for the International Sale of Goods is expressly excluded. Any law or
+regulation which provides that the language of a contract shall be construed against the drafter shall not apply to
+this License. You agree that You alone are responsible for compliance with the United States export administration
+regulations (and the export control laws and regulation of any other countries) when You use, distribute or otherwise
+make available any Covered Software.
+
+10. RESPONSIBILITY FOR CLAIMS.
+
+As between Initial Developer and the Contributors, each party is responsible for claims and damages arising, directly
+or indirectly, out of its utilization of rights under this License and You agree to work with Initial Developer and
+Contributors to distribute such responsibility on an equitable basis. Nothing herein is intended or shall be deemed to
+constitute any admission of liability.
+
+NOTICE PURSUANT TO SECTION 9 OF THE COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL)
+
+The code released under the CDDL shall be governed by the laws of the State of California (excluding conflict-of-law
+provisions). Any litigation relating to this License shall be subject to the jurisdiction of the Federal Courts of the
+Northern District of California and the state courts of the State of California, with venue lying in Santa Clara
+County, California.
+
+
+
diff --git a/asterixdb/src/main/licenses/content/hamcrest_1.3_LICENSE.txt b/asterixdb/src/main/licenses/content/hamcrest_1.3_LICENSE.txt
new file mode 100644
index 0000000..1acfd03
--- /dev/null
+++ b/asterixdb/src/main/licenses/content/hamcrest_1.3_LICENSE.txt
@@ -0,0 +1,27 @@
+(BSD Style License)
+
+Copyright (c) 2000-2006, HamCrest.org
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+Redistributions of source code must retain the above copyright notice, this list of
+conditions and the following disclaimer. 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.
+
+Neither the name of HamCrest 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 OWNER 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/asterixdb/src/main/licenses/content/jdom--jdom--1.0_licenses_jdom.txt b/asterixdb/src/main/licenses/content/jdom--jdom--1.0_licenses_jdom.txt
new file mode 100644
index 0000000..ce84df5
--- /dev/null
+++ b/asterixdb/src/main/licenses/content/jdom--jdom--1.0_licenses_jdom.txt
@@ -0,0 +1,51 @@
+ $Id: LICENSE.txt,v 1.11 2004/02/06 09:32:57 jhunter Exp $
+
+ Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin.
+ 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 disclaimer that follows
+    these conditions in the documentation and/or other materials
+    provided with the distribution.
+
+ 3. The name "JDOM" must not be used to endorse or promote products
+    derived from this software without prior written permission.  For
+    written permission, please contact <request_AT_jdom_DOT_org>.
+
+ 4. Products derived from this software may not be called "JDOM", nor
+    may "JDOM" appear in their name, without prior written permission
+    from the JDOM Project Management <request_AT_jdom_DOT_org>.
+
+ In addition, we request (but do not require) that you include in the
+ end-user documentation provided with the redistribution and/or in the
+ software itself an acknowledgement equivalent to the following:
+     "This product includes software developed by the
+      JDOM Project (http://www.jdom.org/)."
+ Alternatively, the acknowledgment may be graphical using the logos
+ available at http://www.jdom.org/images/logos.
+
+ THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 JDOM AUTHORS OR THE PROJECT
+ 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.
+
+ This software consists of voluntary contributions made by many
+ individuals on behalf of the JDOM Project and was originally
+ created by Jason Hunter <jhunter_AT_jdom_DOT_org> and
+ Brett McLaughlin <brett_AT_jdom_DOT_org>.  For more information
+ on the JDOM Project, please see <http://www.jdom.org/>.
diff --git a/asterixdb/src/main/licenses/content/jline.sourceforge.net_license.html.txt b/asterixdb/src/main/licenses/content/jline.sourceforge.net_license.html.txt
new file mode 100644
index 0000000..246f54f
--- /dev/null
+++ b/asterixdb/src/main/licenses/content/jline.sourceforge.net_license.html.txt
@@ -0,0 +1,32 @@
+Copyright (c) 2002-2006, Marc Prud'hommeaux <mwp1@cornell.edu>
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or
+without modification, are permitted provided that the following
+conditions are met:
+
+Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+
+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.
+
+Neither the name of JLine 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 OWNER 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/asterixdb/src/main/licenses/content/originals/asm.objectweb.org_license.html b/asterixdb/src/main/licenses/content/originals/asm.objectweb.org_license.html
new file mode 100644
index 0000000..b047ac2
--- /dev/null
+++ b/asterixdb/src/main/licenses/content/originals/asm.objectweb.org_license.html
@@ -0,0 +1,166 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+<META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type">
+<meta content="en" http-equiv="Content-Language">
+<title>ASM - License</title>
+<meta name="Description" content="ASM is a very small and very fast Java bytecode manipulation framework.">
+<meta name="Keywords" content="ASM,bytecode,manipulation,Java,open,source,free,software,BSD">
+<meta name="Reply-to" content="webmaster@ow2.org">
+<meta name="Owner" content="OW2">
+<meta name="Robots" content="index, follow">
+<meta content="asm-team" name="author">
+<meta content="asm-team@objectweb.org" name="email">
+<script src="./js/objectweb.js" type="text/javascript"></script>
+<link type="text/css" href="./common.css" rel="stylesheet" id="stylesheet">
+<link type="image/x-icon" href="./images/favicon.ico" rel="icon">
+<link type="image/x-icon" href="./images/favicon.ico" rel="shortcut icon">
+</head>
+<body marginheight="0" marginwidth="0" topmargin="0" leftmargin="0" onload="MM_preloadImages('./images/menu/boutonok2.gif','./images/menu/boutonsearch2.gif','./images/menu/boutonprint2.gif','./images/menu/boutonsubscribe2.gif')" bgcolor="#FFFFFF" class="bodyproject">
+<table cellpadding="0" cellspacing="0" width="100%" border="0">
+<tr>
+<td valign="top" width="500"><a href="http://www.ow2.org/"><img alt="ObjectWeb Consortium" border="0" height="70" width="500" src="./images/logoow2.png"></a></td><td valign="top">
+<table cellpadding="0" cellspacing="0" width="100%" border="0">
+<tr>
+<td valign="top"><img alt=" " height="20" width="395" src="./images/pix.gif"></td><td valign="top" width="150"><img alt=" " height="20" width="150" src="./images/pix.gif"></td>
+</tr>
+<tr>
+<td valign="top">
+<table cellpadding="5" cellspacing="0" border="0">
+<tr>
+<td valign="top"></td><td valign="top"></td><td valign="top"></td><td valign="top"></td>
+</tr>
+</table>
+</td><td style="line-height: 20px;" valign="top" width="150">
+<form target="_blank" action="http://www.google.com/custom" method="get">
+<input name="cof" value="S:http://www.ow2.org/;GL:0;AH:center;LH:70;L:http://www.ow2.org/xwiki/skins/ow2/logo.png;LW:500;AWFID:48faba182d01f379;" type="hidden"><input name="domains" value="ow2.org;mail-archive.ow2.org" type="hidden"><input name="sitesearch" value="ow2.org" type="hidden">
+<table rowspan="0" colspan="0">
+<tr>
+<td><input onblur="if (this.value=='') this.value='search'" onfocus="this.value=''" value="" maxlength="255" size="10" name="q" type="text"></td><td><input alt="Submit" onmouseover="MM_swapImage('search','','./images/menu/boutonsearch2.gif',1)" onmouseout="MM_swapImgRestore()" src="./images/menu/boutonsearch1.gif" id="search" name="sa" type="image"></td><td><a alt="Submit" onmouseover="MM_swapImage('print','','./images/menu/boutonprint2.gif',1)" onmouseout="MM_swapImgRestore()" target="_blank" href="license_print.html"><img id="print" border="0" height="20" width="20" name="print" alt="Print" src="./images/menu/boutonprint1.gif"></a></td>
+</tr>
+</table>
+<p class="glose">
+<strong><a href="http://www.google.com/advanced_search?q=+site:ow2.org" target="_blank" class="lienglose">Advanced Search</a></strong> - Powered by Google</p>
+</form>
+</td>
+</tr>
+</table>
+</td>
+</tr>
+<tr>
+<td width="100%" bgcolor="#FF6600" valign="bottom" colspan="2">
+		&nbsp;<a target="_blank" class="barre" href="http://www.ow2.org/">&nbsp;Consortium&nbsp;</a>
+		&nbsp;&nbsp;<a target="_blank" class="barre" href="http://www.ow2.org/xwiki/bin/view/Activities/Fundamentals">&nbsp;Activities&nbsp;</a>
+		&nbsp;&nbsp;<a target="_blank" class="barre" href="http://www.ow2.org/xwiki/bin/view/Activities/Projects">&nbsp;Projects&nbsp;</a>
+		&nbsp;&nbsp;<a target="_blank" class="barre" href="http://forge.objectweb.org/">&nbsp;Forge&nbsp;</a>
+		&nbsp;&nbsp;<a target="_blank" class="barre" href="http://www.ow2.org/view/Events/">&nbsp;Events&nbsp;</a></td>
+</tr>
+</table>
+<table cellpadding="0" cellspacing="0" border="0" width="100%" summary="">
+<tr>
+<td valign="top" width="20"><img alt=" " height="1" width="20" src="./images/pix.gif"></td><td valign="top" width="160"><img alt=" " height="1" width="160" src="./images/pix.gif"><br>
+<p style="font-size: 16px; font-weight: bold; color: #FF6600; border-bottom: 4px solid #0099CC">ASM</p>
+<br>
+<div class="OW2menu">
+<div class="OW2menutitre">ASM</div>
+        &middot;&nbsp;<a class="menu" target="_self" href="./index.html">Home</a>
+<br>
+        &middot;&nbsp;<a class="menu" target="_self" href="./download/index.html">Download</a>
+<br>
+        &middot;&nbsp;<a class="menu" target="_self" href="./eclipse/index.html">Eclipse plugin</a>
+<br>
+        &middot;&nbsp;<a class="menu" target="_self" href="http://download.forge.objectweb.org/asm/asm4-guide.pdf">User Guide</a>
+<br>
+        &middot;&nbsp;<a class="menu" target="_self" href="http://mail.ow2.org/wws/info/asm">Mailing Lists</a>
+<br>
+        &middot;&nbsp;<a class="menu" target="_self" href="./license.html">License</a>
+<br>
+        &middot;&nbsp;<a class="menu" target="_self" href="./history.html">History</a>
+<br>
+</div>
+<br>
+<div class="OW2menu">
+<div class="OW2menutitre">ASMDEX</div>
+        &middot;&nbsp;<a class="menu" target="_self" href="./asmdex-index.html">Home</a>
+<br>
+        &middot;&nbsp;<a class="menu" target="_self" href="./download/asmdex-index.html">Download</a>
+<br>
+        &middot;&nbsp;<a class="menu" target="_self" href="http://mail.ow2.org/wws/info/asm">Mailing Lists</a>
+<br>
+        &middot;&nbsp;<a class="menu" target="_self" href="./asmdex-license.html">License</a>
+<br>
+        &middot;&nbsp;<a class="menu" target="_self" href="./asmdex-history.html">History</a>
+<br>
+</div>
+<br>
+<div class="OW2menu">
+<div class="OW2menutitre">Developers' Corner</div>
+        &middot;&nbsp;<a class="menu" target="_self" href="http://forge.objectweb.org/projects/asm/">ObjectWeb Forge Site</a>
+<br>
+        &middot;&nbsp;<a class="menu" target="_self" href="http://forge.objectweb.org/plugins/scmsvn/index.php?group_id=23">SVN Repository</a>
+<br>
+        &middot;&nbsp;<a class="menu" target="_self" href="http://forge.objectweb.org/tracker/?group_id=23">Issue Tracker</a>
+<br>
+        &middot;&nbsp;<a class="menu" target="_self" href="./doc/developer-guide.html">Developer Guide</a>
+<br>
+</div>
+<br>
+<div class="OW2menu">
+<div class="OW2menutitre">About</div>
+        &middot;&nbsp;<a class="menu" target="_self" href="./users.html">Users</a>
+<br>
+        &middot;&nbsp;<a class="menu" target="_self" href="./team.html">Team</a>
+<br>
+        &middot;&nbsp;<a class="menu" target="_self" href="mailto:asm-team@objectweb.org">Contacts</a>
+<br>
+</div>
+<br>
+</td><td align="left" width="100%" valign="top">
+<h1>Project License</h1>
+
+
+<pre>
+Copyright (c) 2000-2011 INRIA, France Telecom
+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 the copyright holders 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 OWNER 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.
+</pre>			
+
+		
+</td><td valign="top" width="10"><img alt=" " height="1" width="10" src="./images/pix.gif"></td>
+</tr>
+<tr>
+<td valign="top" width="20"><img alt=" " height="1" width="20" src="./images/pix.gif"></td><td valign="top" width="160"><img alt=" " height="1" width="160" src="./images/pix.gif"></td><td valign="top"><img alt=" " height="1" width="465" src="./images/pix.gif"><br>
+<address>Copyright &copy; 1999-2009, <a href="http://www.ow2.org/">OW2 Consortium</a> | <a href="http://wiki.opalval.ow2.org/xwiki/bin/view/Main/Contact">contact</a> | <a href="mailto:webmaster@ow2.org">webmaster</a> | Last modified at 2016-03-05 03:24 PM</address>
+</td><td valign="top" width="10"><img alt=" " height="1" width="10" src="./images/pix.gif"></td>
+</tr>
+</table>
+<br>
+</body>
+</html>
diff --git a/asterixdb/src/main/licenses/content/originals/glassfish.dev.java.net_public_CDDL_GPL_1_1.html b/asterixdb/src/main/licenses/content/originals/glassfish.dev.java.net_public_CDDL_GPL_1_1.html
new file mode 100644
index 0000000..e1268de
--- /dev/null
+++ b/asterixdb/src/main/licenses/content/originals/glassfish.dev.java.net_public_CDDL_GPL_1_1.html
@@ -0,0 +1,174 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<title>Untitled Document</title>
+</head>
+
+<body>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<!--  		@page { margin: 0.79in }  		P { margin-bottom: 0.08in }  		H1 { margin-top: 0in; margin-bottom: 0.17in; widows: 0; orphans: 0 }  		H1.western { font-family: "Times New Roman", serif; font-size: 12pt; font-weight: normal }  		H1.cjk { font-family: "Andale Sans UI"; font-size: 12pt; font-weight: normal }  		H1.ctl { font-family: "Tahoma"; font-size: 12pt; font-weight: normal }  	-->
+<BODY DIR="LTR">
+<p><strong>COMMON  DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL)Version 1.1</strong></p>
+<p>1.  Definitions.</p>
+<blockquote>1.1.  &ldquo;Contributor&rdquo; means each individual or entity that creates or  contributes to the creation of Modifications.</blockquote>
+<blockquote>1.2.  &ldquo;Contributor Version&rdquo; means the combination of the Original  Software, prior Modifications used by a Contributor (if any), and the  Modifications made by that particular Contributor.</blockquote>
+<blockquote>1.3.  &ldquo;Covered Software&rdquo; means (a) the Original Software, or (b)  Modifications, or (c) the combination of files containing Original  Software with files containing Modifications, in each case including  portions thereof.</blockquote>
+<blockquote>1.4.  &ldquo;Executable&rdquo; means the Covered Software in any form other than  Source Code.</blockquote>
+<blockquote>1.5.  &ldquo;Initial Developer&rdquo; means the individual or entity that first  makes Original Software available under this License.</blockquote>
+<blockquote>1.6.  &ldquo;Larger Work&rdquo; means a work which combines Covered Software or  portions thereof with code not governed by the terms of this License.</blockquote>
+<blockquote>1.7.  &ldquo;License&rdquo; means this document.</blockquote>
+<blockquote>1.8.  &ldquo;Licensable&rdquo; means having the right to grant, to the maximum  extent possible, whether at the time of the initial grant or  subsequently acquired, any and all of the rights conveyed herein.</blockquote>
+<blockquote>1.9.  &ldquo;Modifications&rdquo; means the Source Code and Executable form of any  of the following:</blockquote>
+<blockquote>A.  Any file that results from an addition to, deletion from or  modification of the contents of a file containing Original Software  or previous Modifications;</blockquote>
+<blockquote>B.  Any new file that contains any part of the Original Software or  previous Modification; or</blockquote>
+<blockquote>C.  Any new file that is contributed or otherwise made available under  the terms of this License.</blockquote>
+<blockquote>1.10.  &ldquo;Original Software&rdquo; means the Source Code and Executable form of  computer software code that is originally released under this  License.</blockquote>
+<blockquote>1.11.  &ldquo;Patent Claims&rdquo; means any patent claim(s), now owned or hereafter  acquired, including without limitation, method, process, and  apparatus claims, in any patent Licensable by grantor.</blockquote>
+<blockquote>1.12.  &ldquo;Source Code&rdquo; means (a) the common form of computer software code  in which modifications are made and (b) associated documentation  included in or with such code.</blockquote>
+<blockquote>1.13.  &ldquo;You&rdquo; (or &ldquo;Your&rdquo;) means an individual or a legal entity  exercising rights under, and complying with all of the terms of, this  License. For legal entities, &ldquo;You&rdquo; includes any entity which  controls, is controlled by, or is under common control with You. For  purposes of this definition, &ldquo;control&rdquo; means (a) the power,  direct or indirect, to cause the direction or management of such  entity, whether by contract or otherwise, or (b) ownership of more  than fifty percent (50%) of the outstanding shares or beneficial  ownership of such entity.</blockquote>
+<p>2.  License Grants.</p>
+<blockquote>2.1.  The Initial Developer Grant.</blockquote>
+<blockquote>Conditioned  upon Your compliance with Section 3.1 below and subject to third  party intellectual property claims, the Initial Developer hereby  grants You a world-wide, royalty-free, non-exclusive license:</blockquote>
+<blockquote>(a)  under intellectual property rights (other than patent or trademark)  Licensable by Initial Developer, to use, reproduce, modify, display,  perform, sublicense and distribute the Original Software (or portions  thereof), with or without Modifications, and/or as part of a Larger  Work; and</blockquote>
+<blockquote>(b)  under Patent Claims infringed by the making, using or selling of  Original Software, to make, have made, use, practice, sell, and offer  for sale, and/or otherwise dispose of the Original Software (or  portions thereof).</blockquote>
+<blockquote>(c)  The licenses granted in Sections 2.1(a) and (b) are effective on the  date Initial Developer first distributes or otherwise makes the  Original Software available to a third party under the terms of this  License.</blockquote>
+<blockquote>(d)  Notwithstanding Section 2.1(b) above, no patent license is granted:  (1) for code that You delete from the Original Software, or (2) for  infringements caused by: (i) the modification of the Original  Software, or (ii) the combination of the Original Software with other  software or devices.</blockquote>
+<blockquote>2.2.  Contributor Grant.</blockquote>
+<blockquote>Conditioned  upon Your compliance with Section 3.1 below and subject to third  party intellectual property claims, each Contributor hereby grants  You a world-wide, royalty-free, non-exclusive license:</blockquote>
+<blockquote>(a)  under intellectual property rights (other than patent or trademark)  Licensable by Contributor to use, reproduce, modify, display,  perform, sublicense and distribute the Modifications created by such  Contributor (or portions thereof), either on an unmodified basis,  with other Modifications, as Covered Software and/or as part of a  Larger Work; and</blockquote>
+<blockquote>(b)  under Patent Claims infringed by the making, using, or selling of  Modifications made by that Contributor either alone and/or in  combination with its Contributor Version (or portions of such  combination), to make, use, sell, offer for sale, have made, and/or  otherwise dispose of: (1) Modifications made by that Contributor (or  portions thereof); and (2) the combination of Modifications made by  that Contributor with its Contributor Version (or portions of such  combination).</blockquote>
+<blockquote>(c)  The licenses granted in Sections 2.2(a) and 2.2(b) are effective on  the date Contributor first distributes or otherwise makes the  Modifications available to a third party.</blockquote>
+<blockquote>(d)  Notwithstanding Section 2.2(b) above, no patent license is granted:  (1) for any code that Contributor has deleted from the Contributor  Version; (2) for infringements caused by: (i) third party  modifications of Contributor Version, or (ii) the combination of  Modifications made by that Contributor with other software (except as  part of the Contributor Version) or other devices; or (3) under  Patent Claims infringed by Covered Software in the absence of  Modifications made by that Contributor.</blockquote>
+<p>3.  Distribution Obligations.</p>
+<blockquote>3.1.  Availability of Source Code.</blockquote>
+<blockquote>Any  Covered Software that You distribute or otherwise make available in  Executable form must also be made available in Source Code form and  that Source Code form must be distributed only under the terms of  this License. You must include a copy of this License with every copy  of the Source Code form of the Covered Software You distribute or  otherwise make available. You must inform recipients of any such  Covered Software in Executable form as to how they can obtain such  Covered Software in Source Code form in a reasonable manner on or  through a medium customarily used for software exchange.</blockquote>
+<blockquote>3.2.  Modifications.</blockquote>
+<blockquote>The  Modifications that You create or to which You contribute are governed  by the terms of this License. You represent that You believe Your  Modifications are Your original creation(s) and/or You have  sufficient rights to grant the rights conveyed by this License.</blockquote>
+<blockquote>3.3.  Required Notices.</blockquote>
+<blockquote>You  must include a notice in each of Your Modifications that identifies  You as the Contributor of the Modification. You may not remove or  alter any copyright, patent or trademark notices contained within the  Covered Software, or any notices of licensing or any descriptive text  giving attribution to any Contributor or the Initial Developer.</blockquote>
+<blockquote>3.4.  Application of Additional Terms.</blockquote>
+<blockquote>You  may not offer or impose any terms on any Covered Software in Source  Code form that alters or restricts the applicable version of this  License or the recipients' rights hereunder. You may choose to offer,  and to charge a fee for, warranty, support, indemnity or liability  obligations to one or more recipients of Covered Software. However,  you may do so only on Your own behalf, and not on behalf of the  Initial Developer or any Contributor. You must make it absolutely  clear that any such warranty, support, indemnity or liability  obligation is offered by You alone, and You hereby agree to indemnify  the Initial Developer and every Contributor for any liability  incurred by the Initial Developer or such Contributor as a result of  warranty, support, indemnity or liability terms You offer.</blockquote>
+<blockquote>3.5.  Distribution of Executable Versions.</blockquote>
+<blockquote>You  may distribute the Executable form of the Covered Software under the  terms of this License or under the terms of a license of Your choice,  which may contain terms different from this License, provided that  You are in compliance with the terms of this License and that the  license for the Executable form does not attempt to limit or alter  the recipient's rights in the Source Code form from the rights set  forth in this License. If You distribute the Covered Software in  Executable form under a different license, You must make it  absolutely clear that any terms which differ from this License are  offered by You alone, not by the Initial Developer or Contributor.  You hereby agree to indemnify the Initial Developer and every  Contributor for any liability incurred by the Initial Developer or  such Contributor as a result of any such terms You offer.</blockquote>
+<blockquote>3.6.  Larger Works.</blockquote>
+<blockquote>You  may create a Larger Work by combining Covered Software with other  code not governed by the terms of this License and distribute the  Larger Work as a single product. In such a case, You must make sure  the requirements of this License are fulfilled for the Covered  Software.</blockquote>
+<p>4.  Versions of the License.</p>
+<blockquote>4.1.  New Versions.</blockquote>
+<blockquote>Oracle  is the initial license steward and may publish revised and/or new versions of  this License from time to time. Each version will be given a  distinguishing version number. Except as provided in Section 4.3, no  one other than the license steward has the right to modify this  License.</blockquote>
+<blockquote>4.2.  Effect of New Versions.</blockquote>
+<blockquote>You  may always continue to use, distribute or otherwise make the Covered  Software available under the terms of the version of the License  under which You originally received the Covered Software. If the  Initial Developer includes a notice in the Original Software  prohibiting it from being distributed or otherwise made available  under any subsequent version of the License, You must distribute and  make the Covered Software available under the terms of the version of  the License under which You originally received the Covered Software.  Otherwise, You may also choose to use, distribute or otherwise make  the Covered Software available under the terms of any subsequent  version of the License published by the license steward.</blockquote>
+<blockquote>4.3.  Modified Versions.</blockquote>
+<blockquote>When  You are an Initial Developer and You want to create a new license for  Your Original Software, You may create and use a modified version of  this License if You: (a) rename the license and remove any references  to the name of the license steward (except to note that the license  differs from this License); and (b) otherwise make it clear that the  license contains terms which differ from this License.</blockquote>
+<p>5.  DISCLAIMER OF WARRANTY.</p>
+<blockquote>
+  <p>COVERED  SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN &ldquo;AS IS&rdquo; BASIS,  WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,  WITHOUT LIMITATION, WARRANTIES THAT THE COVERED SOFTWARE IS FREE OF  DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR  NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF  THE COVERED SOFTWARE IS WITH YOU. SHOULD ANY COVERED SOFTWARE PROVE  DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER  CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING, REPAIR OR  CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART  OF THIS LICENSE. NO USE OF ANY COVERED SOFTWARE IS AUTHORIZED  HEREUNDER EXCEPT UNDER THIS DISCLAIMER.</p>
+</blockquote>
+<p>6.  TERMINATION.</p>
+<blockquote>6.1.  This License and the rights granted hereunder will terminate  automatically if You fail to comply with terms herein and fail to  cure such breach within 30 days of becoming aware of the breach.  Provisions which, by their nature, must remain in effect beyond the  termination of this License shall survive.</blockquote>
+<blockquote>6.2.  If You assert a patent infringement claim (excluding declaratory  judgment actions) against Initial Developer or a Contributor (the  Initial Developer or Contributor against whom You assert such claim  is referred to as &ldquo;Participant&rdquo;) alleging that the Participant  Software (meaning the Contributor Version where the Participant is a  Contributor or the Original Software where the Participant is the  Initial Developer) directly or indirectly infringes any patent, then  any and all rights granted directly or indirectly to You by such  Participant, the Initial Developer (if the Initial Developer is not  the Participant) and all Contributors under Sections 2.1 and/or 2.2  of this License shall, upon 60 days notice from Participant terminate  prospectively and automatically at the expiration of such 60 day  notice period, unless if within such 60 day period You withdraw Your  claim with respect to the Participant Software against such  Participant either unilaterally or pursuant to a written agreement  with Participant.</blockquote>
+<blockquote>6.3.  If You assert a patent infringement claim against Participant  alleging that the Participant Software directly or indirectly  infringes any patent where such claim is resolved (such as by license  or settlement) prior to the initiation of patent infringement  litigation, then the reasonable value of the licenses granted by such  Participant under Sections 2.1 or 2.2 shall be taken into account in  determining the amount or value of any payment or license.</blockquote>
+<blockquote>6.4.  In the event of termination under Sections 6.1 or 6.2 above, all end  user licenses that have been validly granted by You or any  distributor hereunder prior to termination (excluding licenses  granted to You by any distributor) shall survive termination.</blockquote>
+<p>7.  LIMITATION OF LIABILITY.</p>
+<blockquote>
+  <p>UNDER  NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT (INCLUDING  NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL  DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED  SOFTWARE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY  PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL  DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR  LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR  ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY  SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS  LIMITATION OF LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR  PERSONAL INJURY RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT  APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT  ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL  DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.</p>
+</blockquote>
+<p>8.  U.S. GOVERNMENT END USERS.</p>
+<blockquote>
+  <p>The  Covered Software is a &ldquo;commercial item,&rdquo; as that term is defined  in 48 C.F.R. 2.101 (Oct. 1995), consisting of &ldquo;commercial computer  software&rdquo; (as that term is defined at 48 C.F.R. &sect;  252.227-7014(a)(1)) and &ldquo;commercial computer software  documentation&rdquo; as such terms are used in 48 C.F.R. 12.212 (Sept.  1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1  through 227.7202-4 (June 1995), all U.S. Government End Users acquire  Covered Software with only those rights set forth herein. This U.S.  Government Rights clause is in lieu of, and supersedes, any other  FAR, DFAR, or other clause or provision that addresses Government  rights in computer software under this License.</p>
+</blockquote>
+<p>9.  MISCELLANEOUS.</p>
+<blockquote>
+  <p>This  License represents the complete agreement concerning subject matter  hereof. If any provision of this License is held to be unenforceable,  such provision shall be reformed only to the extent necessary to make  it enforceable. This License shall be governed by the law of the  jurisdiction specified in a notice contained within the Original  Software (except to the extent applicable law, if any, provides  otherwise), excluding such jurisdiction's conflict-of-law provisions.  Any litigation relating to this License shall be subject to the  jurisdiction of the courts located in the jurisdiction and venue  specified in a notice contained within the Original Software, with  the losing party responsible for costs, including, without  limitation, court costs and reasonable attorneys' fees and expenses.  The application of the United Nations Convention on Contracts for the  International Sale of Goods is expressly excluded. Any law or  regulation which provides that the language of a contract shall be  construed against the drafter shall not apply to this License. You  agree that You alone are responsible for compliance with the United  States export administration regulations (and the export control laws  and regulation of any other countries) when You use, distribute or  otherwise make available any Covered Software.</p>
+</blockquote>
+<p>10.  RESPONSIBILITY FOR CLAIMS.</p>
+<blockquote>
+  <p>As  between Initial Developer and the Contributors, each party is  responsible for claims and damages arising, directly or indirectly,  out of its utilization of rights under this License and You agree to  work with Initial Developer and Contributors to distribute such  responsibility on an equitable basis. Nothing herein is intended or  shall be deemed to constitute any admission of liability.</p>
+</blockquote>
+<hr />
+<p>NOTICE  PURSUANT TO SECTION 9 OF THE COMMON DEVELOPMENT AND DISTRIBUTION  LICENSE (CDDL)</p>
+<p>The  code released under the CDDL shall be governed by the laws of the  State of California (excluding conflict-of-law provisions). Any  litigation relating to this License shall be subject to the  jurisdiction of the Federal Courts of the Northern District of  California and the state courts of the State of California, with  venue lying in Santa Clara County, California. </p>
+<p><br />
+    <br />
+</p>
+<h1><strong>The  GNU General Public License (GPL) Version 2, June 1991</strong></h1>
+<p>Copyright  (C) 1989, 1991 Free Software Foundation, Inc.<br />
+  59 Temple Place,  Suite 330, Boston, MA 02111-1307 USA</p>
+<p>Everyone  is permitted to copy and distribute verbatim copies<br />
+  of this  license document, but changing it is not allowed.</p>
+<p><strong>Preamble</strong></p>
+<p>The  licenses for most software are designed to take away your freedom to  share and change it. By contrast, the GNU General Public License is  intended to guarantee your freedom to share and change free  software--to make sure the software is free for all its users. This  General Public License applies to most of the Free Software  Foundation's software and to any other program whose authors commit  to using it. (Some other Free Software Foundation software is covered  by the GNU Library General Public License instead.) You can apply it  to your programs, too.</p>
+<p>When  we speak of free software, we are referring to freedom, not price.  Our General Public Licenses are designed to make sure that you have  the freedom to distribute copies of free software (and charge for  this service if you wish), that you receive source code or can get it  if you want it, that you can change the software or use pieces of it  in new free programs; and that you know you can do these things.</p>
+<p>To  protect your rights, we need to make restrictions that forbid anyone  to deny you these rights or to ask you to surrender the rights. These  restrictions translate to certain responsibilities for you if you  distribute copies of the software, or if you modify it.</p>
+<p>For  example, if you distribute copies of such a program, whether gratis  or for a fee, you must give the recipients all the rights that you  have. You must make sure that they, too, receive or can get the  source code. And you must show them these terms so they know their  rights.</p>
+<p>We  protect your rights with two steps: (1) copyright the software, and  (2) offer you this license which gives you legal permission to copy,  distribute and/or modify the software.</p>
+<p>Also,  for each author's protection and ours, we want to make certain that  everyone understands that there is no warranty for this free  software. If the software is modified by someone else and passed on,  we want its recipients to know that what they have is not the  original, so that any problems introduced by others will not reflect  on the original authors' reputations.</p>
+<p>Finally,  any free program is threatened constantly by software patents. We  wish to avoid the danger that redistributors of a free program will  individually obtain patent licenses, in effect making the program  proprietary. To prevent this, we have made it clear that any patent  must be licensed for everyone's free use or not licensed at all.</p>
+<p>The  precise terms and conditions for copying, distribution and  modification follow.</p>
+<p><strong>TERMS  AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION</strong></p>
+<p><strong>0</strong>.  This License applies to any program or other work which contains a  notice placed by the copyright holder saying it may be distributed  under the terms of this General Public License. The &quot;Program&quot;,  below, refers to any such program or work, and a &quot;work based on  the Program&quot; means either the Program or any derivative work  under copyright law: that is to say, a work containing the Program or  a portion of it, either verbatim or with modifications and/or  translated into another language. (Hereinafter, translation is  included without limitation in the term &quot;modification&quot;.)  Each licensee is addressed as &quot;you&quot;.</p>
+<p>Activities  other than copying, distribution and modification are not covered by  this License; they are outside its scope. The act of running the  Program is not restricted, and the output from the Program is covered  only if its contents constitute a work based on the Program  (independent of having been made by running the Program). Whether  that is true depends on what the Program does.</p>
+<p><strong>1</strong>.  You may copy and distribute verbatim copies of the Program's source  code as you receive it, in any medium, provided that you  conspicuously and appropriately publish on each copy an appropriate  copyright notice and disclaimer of warranty; keep intact all the  notices that refer to this License and to the absence of any  warranty; and give any other recipients of the Program a copy of this  License along with the Program.</p>
+<p>You  may charge a fee for the physical act of transferring a copy, and you  may at your option offer warranty protection in exchange for a fee.</p>
+<p><strong>2</strong>.  You may modify your copy or copies of the Program or any portion of  it, thus forming a work based on the Program, and copy and distribute  such modifications or work under the terms of Section 1 above,  provided that you also meet all of these conditions:</p>
+<blockquote>a)  You must cause the modified files to carry prominent notices stating  that you changed the files and the date of any change.</blockquote>
+<blockquote>b)  You must cause any work that you distribute or publish, that in whole  or in part contains or is derived from the Program or any part  thereof, to be licensed as a whole at no charge to all third parties  under the terms of this License.</blockquote>
+<blockquote>c)  If the modified program normally reads commands interactively when  run, you must cause it, when started running for such interactive use  in the most ordinary way, to print or display an announcement  including an appropriate copyright notice and a notice that there is  no warranty (or else, saying that you provide a warranty) and that  users may redistribute the program under these conditions, and  telling the user how to view a copy of this License. (Exception: if  the Program itself is interactive but does not normally print such an  announcement, your work based on the Program is not required to print  an announcement.)</blockquote>
+<p>These  requirements apply to the modified work as a whole. If identifiable  sections of that work are not derived from the Program, and can be  reasonably considered independent and separate works in themselves,  then this License, and its terms, do not apply to those sections when  you distribute them as separate works. But when you distribute the  same sections as part of a whole which is a work based on the  Program, the distribution of the whole must be on the terms of this  License, whose permissions for other licensees extend to the entire  whole, and thus to each and every part regardless of who wrote it.</p>
+<p>Thus,  it is not the intent of this section to claim rights or contest your  rights to work written entirely by you; rather, the intent is to  exercise the right to control the distribution of derivative or  collective works based on the Program.</p>
+<p>In  addition, mere aggregation of another work not based on the Program  with the Program (or with a work based on the Program) on a volume of  a storage or distribution medium does not bring the other work under  the scope of this License.</p>
+<p><strong>3</strong>.  You may copy and distribute the Program (or a work based on it, under  Section 2) in object code or executable form under the terms of  Sections 1 and 2 above provided that you also do one of the  following:</p>
+<blockquote>a)  Accompany it with the complete corresponding machine-readable source  code, which must be distributed under the terms of Sections 1 and 2  above on a medium customarily used for software interchange; or,</blockquote>
+<blockquote>b)  Accompany it with a written offer, valid for at least three years, to  give any third party, for a charge no more than your cost of  physically performing source distribution, a complete  machine-readable copy of the corresponding source code, to be  distributed under the terms of Sections 1 and 2 above on a medium  customarily used for software interchange; or,</blockquote>
+<blockquote>c)  Accompany it with the information you received as to the offer to  distribute corresponding source code. (This alternative is allowed  only for noncommercial distribution and only if you received the  program in object code or executable form with such an offer, in  accord with Subsection b above.)</blockquote>
+<p>The  source code for a work means the preferred form of the work for  making modifications to it. For an executable work, complete source  code means all the source code for all modules it contains, plus any  associated interface definition files, plus the scripts used to  control compilation and installation of the executable. However, as a  special exception, the source code distributed need not include  anything that is normally distributed (in either source or binary  form) with the major components (compiler, kernel, and so on) of the  operating system on which the executable runs, unless that component  itself accompanies the executable.</p>
+<p>If  distribution of executable or object code is made by offering access  to copy from a designated place, then offering equivalent access to  copy the source code from the same place counts as distribution of  the source code, even though third parties are not compelled to copy  the source along with the object code.</p>
+<p><strong>4</strong>.  You may not copy, modify, sublicense, or distribute the Program  except as expressly provided under this License. Any attempt  otherwise to copy, modify, sublicense or distribute the Program is  void, and will automatically terminate your rights under this  License. However, parties who have received copies, or rights, from  you under this License will not have their licenses terminated so  long as such parties remain in full compliance.</p>
+<p><strong>5</strong>.  You are not required to accept this License, since you have not  signed it. However, nothing else grants you permission to modify or  distribute the Program or its derivative works. These actions are  prohibited by law if you do not accept this License. Therefore, by  modifying or distributing the Program (or any work based on the  Program), you indicate your acceptance of this License to do so, and  all its terms and conditions for copying, distributing or modifying  the Program or works based on it.</p>
+<p><strong>6</strong>.  Each time you redistribute the Program (or any work based on the  Program), the recipient automatically receives a license from the  original licensor to copy, distribute or modify the Program subject  to these terms and conditions. You may not impose any further  restrictions on the recipients' exercise of the rights granted  herein. You are not responsible for enforcing compliance by third  parties to this License.</p>
+<p><strong>7</strong>.  If, as a consequence of a court judgment or allegation of patent  infringement or for any other reason (not limited to patent issues),  conditions are imposed on you (whether by court order, agreement or  otherwise) that contradict the conditions of this License, they do  not excuse you from the conditions of this License. If you cannot  distribute so as to satisfy simultaneously your obligations under  this License and any other pertinent obligations, then as a  consequence you may not distribute the Program at all. For example,  if a patent license would not permit royalty-free redistribution of  the Program by all those who receive copies directly or indirectly  through you, then the only way you could satisfy both it and this  License would be to refrain entirely from distribution of the  Program.</p>
+<p>If  any portion of this section is held invalid or unenforceable under  any particular circumstance, the balance of the section is intended  to apply and the section as a whole is intended to apply in other  circumstances.</p>
+<p>It  is not the purpose of this section to induce you to infringe any  patents or other property right claims or to contest validity of any  such claims; this section has the sole purpose of protecting the  integrity of the free software distribution system, which is  implemented by public license practices. Many people have made  generous contributions to the wide range of software distributed  through that system in reliance on consistent application of that  system; it is up to the author/donor to decide if he or she is  willing to distribute software through any other system and a  licensee cannot impose that choice.</p>
+<p>This  section is intended to make thoroughly clear what is believed to be a  consequence of the rest of this License.</p>
+<p><strong>8</strong>.  If the distribution and/or use of the Program is restricted in  certain countries either by patents or by copyrighted interfaces, the  original copyright holder who places the Program under this License  may add an explicit geographical distribution limitation excluding  those countries, so that distribution is permitted only in or among  countries not thus excluded. In such case, this License incorporates  the limitation as if written in the body of this License.</p>
+<p><strong>9</strong>.  The Free Software Foundation may publish revised and/or new versions  of the General Public License from time to time. Such new versions  will be similar in spirit to the present version, but may differ in  detail to address new problems or concerns.</p>
+<p>Each  version is given a distinguishing version number. If the Program  specifies a version number of this License which applies to it and  &quot;any later version&quot;, you have the option of following the  terms and conditions either of that version or of any later version  published by the Free Software Foundation. If the Program does not  specify a version number of this License, you may choose any version  ever published by the Free Software Foundation.</p>
+<p><strong>10</strong>.  If you wish to incorporate parts of the Program into other free  programs whose distribution conditions are different, write to the  author to ask for permission. For software which is copyrighted by  the Free Software Foundation, write to the Free Software Foundation;  we sometimes make exceptions for this. Our decision will be guided by  the two goals of preserving the free status of all derivatives of our  free software and of promoting the sharing and reuse of software  generally.</p>
+<p>NO  WARRANTY</p>
+<p><strong>11</strong>.  BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY  FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT  WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER  PARTIES PROVIDE THE PROGRAM &quot;AS IS&quot; WITHOUT WARRANTY OF ANY  KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE  IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR  PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE  PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME  THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.</p>
+<p><strong>12</strong>.  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING  WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR  REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR  DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL  DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM  (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED  INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE  OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH  HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH  DAMAGES.</p>
+<p>END  OF TERMS AND CONDITIONS</p>
+<p><strong>How  to Apply These Terms to Your New Programs</strong></p>
+<p>If  you develop a new program, and you want it to be of the greatest  possible use to the public, the best way to achieve this is to make  it free software which everyone can redistribute and change under  these terms.</p>
+<p>To  do so, attach the following notices to the program. It is safest to  attach them to the start of each source file to most effectively  convey the exclusion of warranty; and each file should have at least  the &quot;copyright&quot; line and a pointer to where the full notice  is found.</p>
+<blockquote>One  line to give the program's name and a brief idea of what it  does.<br />
+  Copyright (C) &lt;year&gt; &lt;name of author&gt;</blockquote>
+<blockquote>This  program is free software; you can redistribute it and/or modify it  under the terms of the GNU General Public License as published by the  Free Software Foundation; either version 2 of the License, or (at  your option) any later version.</blockquote>
+<blockquote>This  program is distributed in the hope that it will be useful, but  WITHOUT ANY WARRANTY; without even the implied warranty of  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU  General Public License for more details.</blockquote>
+<blockquote>You  should have received a copy of the GNU General Public License along  with this program; if not, write to the Free Software Foundation,  Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA</blockquote>
+<p>Also  add information on how to contact you by electronic and paper mail.</p>
+<p>If  the program is interactive, make it output a short notice like this  when it starts in an interactive mode:</p>
+<blockquote>Gnomovision  version 69, Copyright (C) year name of author Gnomovision comes with  ABSOLUTELY NO WARRANTY; for details type `show w'. This is free  software, and you are welcome to redistribute it under certain  conditions; type `show c' for details.</blockquote>
+<p>The  hypothetical commands `show w' and `show c' should show the  appropriate parts of the General Public License. Of course, the  commands you use may be called something other than `show w' and  `show c'; they could even be mouse-clicks or menu items--whatever  suits your program.</p>
+<p>You  should also get your employer (if you work as a programmer) or your  school, if any, to sign a &quot;copyright disclaimer&quot; for the  program, if necessary. Here is a sample; alter the names:</p>
+<blockquote>Yoyodyne,  Inc., hereby disclaims all copyright interest in the program  `Gnomovision' (which makes passes at compilers) written by James  Hacker.</blockquote>
+<blockquote>signature  of Ty Coon, 1 April 1989<br />
+  Ty Coon, President of Vice</blockquote>
+<p>This  General Public License does not permit incorporating your program  into proprietary programs. If your program is a subroutine library,  you may consider it more useful to permit linking proprietary  applications with the library. If this is what you want to do, use  the GNU Library General Public License instead of this License.</p>
+<li style="background-color:yellow;">
+<p><strong>&quot;CLASSPATH&quot;  EXCEPTION TO THE GPL VERSION 2</strong><br />
+    <br />
+  Certain  source files distributed by Oracle are subject to the following  clarification and special exception to the GPL Version 2, but only  where Oracle has expressly included in the particular source file's  header the words &quot;Oracle designates this particular file as  subject to the &quot;Classpath&quot; exception as provided by Oracle  in the License file that accompanied this code.&quot; <br />
+  <br />
+  Linking this library statically or dynamically with other modules is  making a combined work based on this library.&nbsp; Thus, the terms  and conditions of the GNU General Public License Version 2 cover the  whole combination. <br />
+  <br />
+  As a special exception, the  copyright holders of this library give you permission to link  this library with independent modules to produce an executable,  regardless of the license terms of these independent modules, and  to copy and distribute the resulting executable under terms of your choice, provided that you also meet, for each linked independent  module, the terms and conditions of the license of that module.&nbsp;  An independent module is a module which is not derived from or  based on this library.&nbsp; If you modify this library, you may  extend this exception to your version of the library, but you are  not obligated to do so.&nbsp; If you do not wish to do so, delete  this exception statement from your version.</p>
+</li>
+<p><br />
+    <br />
+</p>
+<p><br />
+</p>
+</body>
+</html>
diff --git a/asterixdb/src/main/licenses/content/originals/jline.sourceforge.net_license.html b/asterixdb/src/main/licenses/content/originals/jline.sourceforge.net_license.html
new file mode 100644
index 0000000..e9ea918
--- /dev/null
+++ b/asterixdb/src/main/licenses/content/originals/jline.sourceforge.net_license.html
@@ -0,0 +1,260 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+
+
+
+
+
+
+
+
+
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+  <head>
+    <title>JLine - Project License</title>
+    <style type="text/css" media="all">
+      @import url("./css/maven-base.css");
+      @import url("./css/maven-theme.css");
+      @import url("./css/site.css");
+    </style>
+    <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
+        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
+      </head>
+  <body class="composite">
+    <div id="banner">
+                  <a href="" id="bannerLeft">
+    
+                                            <img src="images/logo.jpg" alt="" />
+    
+            </a>
+                        <a href="http://sourceforge.net/" id="bannerRight">
+    
+                                    <img src="http://sourceforge.net/sflogo.php?group_id=64033" alt="" />
+    
+            </a>
+            <div class="clear">
+        <hr/>
+      </div>
+    </div>
+    <div id="breadcrumbs">
+          
+  
+
+  
+    
+  
+  
+    
+            <div class="xleft">
+        Last Published: 2008-02-22
+                      </div>
+            <div class="xright">      
+  
+
+  
+    
+  
+  
+    
+  </div>
+      <div class="clear">
+        <hr/>
+      </div>
+    </div>
+    <div id="leftColumn">
+      <div id="navcolumn">
+           
+  
+
+  
+    
+  
+  
+    
+                   <h5>JLine</h5>
+            <ul>
+              
+    <li class="none">
+                    <a href="index.html">Manual</a>
+          </li>
+              
+    <li class="none">
+                    <a href="faq.html">FAQs</a>
+          </li>
+              
+    <li class="none">
+                    <a href="downloads.html">Download</a>
+          </li>
+              
+    <li class="none">
+                    <a href="building.html">Building</a>
+          </li>
+          </ul>
+              <h5>Community</h5>
+            <ul>
+              
+    <li class="none">
+                    <a href="http://sourceforge.net/forum/?group_id=64033" class="externalLink">Forums</a>
+          </li>
+              
+    <li class="none">
+                    <a href="http://sourceforge.net/tracker/?group_id=64033" class="externalLink">Issue Tracker</a>
+          </li>
+              
+    <li class="none">
+                    <a href="http://sourceforge.net/news/?group_id=64033" class="externalLink">News</a>
+          </li>
+          </ul>
+              <h5>Project</h5>
+            <ul>
+              
+    <li class="none">
+                    <a href="apidocs/index.html">Javadocs</a>
+          </li>
+              
+    <li class="none">
+                    <a href="http://github.com/jline" class="externalLink">Browse Source Code</a>
+          </li>
+          </ul>
+              <h5>Project Documentation</h5>
+            <ul>
+              
+                
+              
+      
+            
+      
+            
+            
+            
+      
+            
+      
+              
+            <li class="expanded">
+                    <a href="project-info.html">Project Information</a>
+                  <ul>
+                  
+    <li class="none">
+                    <a href="issue-tracking.html">Issue Tracking</a>
+          </li>
+                  
+    <li class="none">
+                    <a href="mail-lists.html">Mailing Lists</a>
+          </li>
+                  
+    <li class="none">
+              <strong>Project License</strong>
+        </li>
+                  
+    <li class="none">
+                    <a href="team-list.html">Project Team</a>
+          </li>
+                  
+    <li class="none">
+                    <a href="source-repository.html">Source Repository</a>
+          </li>
+              </ul>
+        </li>
+              
+                
+              
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+              
+        <li class="collapsed">
+                    <a href="project-reports.html">Project Reports</a>
+                </li>
+          </ul>
+                                           <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
+            <img alt="Built by Maven" src="./images/logos/maven-feather.png"></img>
+          </a>
+                       
+  
+
+  
+    
+  
+  
+    
+        </div>
+    </div>
+    <div id="bodyColumn">
+      <div id="contentBox">
+        <div class="section"><h2>Overview</h2>
+<p>Typically the licenses listed for the project are that of the project itself, and not of dependencies.</p>
+</div>
+<div class="section"><h2>Project License</h2>
+<div class="section"><h3>BSD</h3>
+<div class="source"><pre>Copyright (c) 2002-2006, Marc Prud'hommeaux &lt;mwp1@cornell.edu&gt;
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or
+without modification, are permitted provided that the following
+conditions are met:
+
+Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+
+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.
+
+Neither the name of JLine 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
+&quot;AS IS&quot; 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 OWNER 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.
+
+</pre>
+</div>
+</div>
+</div>
+
+      </div>
+    </div>
+    <div class="clear">
+      <hr/>
+    </div>
+    <div id="footer">
+      <div class="xright">&#169;  
+          2002-2008
+    
+          
+  
+
+  
+    
+  
+  
+    
+  </div>
+      <div class="clear">
+        <hr/>
+      </div>
+    </div>
+  </body>
+</html>
diff --git a/asterixdb/src/main/licenses/content/originals/www.antlr.org_license.html b/asterixdb/src/main/licenses/content/originals/www.antlr.org_license.html
new file mode 100644
index 0000000..77d3c02
--- /dev/null
+++ b/asterixdb/src/main/licenses/content/originals/www.antlr.org_license.html
@@ -0,0 +1,148 @@
+<!doctype html>
+<!--[if lt IE 9]><html class="ie"><![endif]-->
+<!--[if gte IE 9]><!--><html><!--<![endif]-->
+
+	<head>
+		<meta charset="utf-8"/>
+		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
+		<meta name="viewport" content="width=device-width, initial-scale=1"/>
+
+		<title>ANTLR v4 License</title>
+
+		<!--[if lt IE 9]><script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
+		
+		
+		<link rel="stylesheet" href="css/fontface/Droid-Sans/stylesheet.css" type="text/css" media="screen" />
+		<link rel="stylesheet" href="css/fontface/Droid-Serif/stylesheet.css" type="text/css" media="screen" />
+		<link rel="stylesheet" href="css/fontface/DejaVu-Sans-Mono/stylesheet.css" type="text/css" media="screen" />
+			
+		<link rel="stylesheet" href="css/antlr.css" type="text/css" media="screen" />
+		
+		<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
+		<script src="scripts/selectivizr-min.js"></script>	
+		<script src="scripts/cycle.js"></script>	
+		<script src="scripts/rounded.js"></script>	
+		<script src="scripts/watermark.js"></script>	
+		
+		<script type="text/javascript" src="scripts/lib/jquery.mousewheel-3.0.6.pack.js"></script>
+		<script type="text/javascript" src="scripts/source/jquery.fancybox.js?v=2.0.6"></script>
+		<link rel="stylesheet" type="text/css" href="scripts/source/jquery.fancybox.css?v=2.0.6" media="screen" />		
+	
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-1024344-1', 'auto');
+  ga('send', 'pageview');
+
+</script>
+
+<!-- Start of Woopra Code -->
+<script>
+(function(){
+        var t,i,e,n=window,o=document,a=arguments,s="script",r=["config","track","identify","visit","push","call","trackForm","trackClick"],c=function(){var t,i=this;for(i._e=[],t=0;r.length>t;t++)(function(t){i[t]=function(){return i._e.push([t].concat(Array.prototype.slice.call(arguments,0))),i}})(r[t])};for(n._w=n._w||{},t=0;a.length>t;t++)n._w[a[t]]=n[a[t]]=n[a[t]]||new c;i=o.createElement(s),i.async=1,i.src="//static.woopra.com/js/t/5.js",e=o.getElementsByTagName(s)[0],e.parentNode.insertBefore(i,e)
+})("woopra");
+
+woopra.config({
+    domain: 'antlr.org'
+});
+woopra.track();
+</script>
+<!-- End of Woopra Code -->
+	</head>
+
+<body>
+
+<header>
+
+<a id="index" href="index.html">ANTLR</a>
+
+<nav>
+  <script src="scripts/topnav.js"></script>
+</nav>
+
+
+</header>
+
+<div id="wrapper">
+<div id="container">
+
+<div id="main">
+
+	<div id="content">
+	
+	<h1>ANTLR 4 License</h1>
+
+<i>[The BSD License]</i><br>
+Copyright (c) 2012 Terence Parr and Sam Harwell<br>
+All rights reserved.<br>
+
+<p>
+Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
+
+<ul>
+<li>
+Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
+
+<li>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.
+<li>Neither the name of the author nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
+
+</ul>
+
+<p>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
+OWNER 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.</p>
+	
+<br>
+<h1>Developer's Certificate of Origin</h1>
+
+<p>All contributors to ANTLR v4 must formally agree to abide by the
+<a href="https://github.com/antlr/antlr4/blob/master/contributors.txt">certificate
+of origin</a> by signing on the bottom of that document. To contribute:</p>
+
+<ul>
+<li>fork the <a href="https://github.com/antlr/antlr4">ANTLR v4 github repository</a>
+<li>make your changes
+<li>[<i>first time contributors</i>]: sign contributors.txt by adding your github userid, full
+name, email address (you can obscure your e-mail, but it must be
+computable by human), and date.
+<li>commit your changes
+<li>send a pull request
+</ul>
+
+After you have signed once, you don't have to sign future pull
+requests. We can merge by simply checking to see your name is in the
+contributors file.
+
+	</div><!--/content-->
+	
+<div id="sidebar">
+    <script src="scripts/leftnav.js"></script>
+</div><!--/sidebar-->
+
+</div><!--/main-->
+
+
+</div><!--/container-->
+
+<div class="clear"><!--necessary nudge--></div>
+</div><!--/wrapper-->	
+
+<footer>
+	<script src="scripts/bottomnav.js"></script>
+</footer>
+
+<script src="scripts/functions.js"></script>	
+
+</body>
+</html>
diff --git a/asterixdb/src/main/licenses/content/originals/www.eclipse.org_legal_epl-v10.html b/asterixdb/src/main/licenses/content/originals/www.eclipse.org_legal_epl-v10.html
new file mode 100644
index 0000000..3998fce
--- /dev/null
+++ b/asterixdb/src/main/licenses/content/originals/www.eclipse.org_legal_epl-v10.html
@@ -0,0 +1,261 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
+<title>Eclipse Public License - Version 1.0</title>
+<style type="text/css">
+  body {
+    size: 8.5in 11.0in;
+    margin: 0.25in 0.5in 0.25in 0.5in;
+    tab-interval: 0.5in;
+    }
+  p {  	
+    margin-left: auto;
+    margin-top:  0.5em;
+    margin-bottom: 0.5em;
+    }
+  p.list {
+  	margin-left: 0.5in;
+    margin-top:  0.05em;
+    margin-bottom: 0.05em;
+    }
+  </style>
+
+</head>
+
+<body lang="EN-US">
+
+<h2>Eclipse Public License - v 1.0</h2>
+
+<p>THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE
+PUBLIC LICENSE (&quot;AGREEMENT&quot;). ANY USE, REPRODUCTION OR
+DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS
+AGREEMENT.</p>
+
+<p><b>1. DEFINITIONS</b></p>
+
+<p>&quot;Contribution&quot; means:</p>
+
+<p class="list">a) in the case of the initial Contributor, the initial
+code and documentation distributed under this Agreement, and</p>
+<p class="list">b) in the case of each subsequent Contributor:</p>
+<p class="list">i) changes to the Program, and</p>
+<p class="list">ii) additions to the Program;</p>
+<p class="list">where such changes and/or additions to the Program
+originate from and are distributed by that particular Contributor. A
+Contribution 'originates' from a Contributor if it was added to the
+Program by such Contributor itself or anyone acting on such
+Contributor's behalf. Contributions do not include additions to the
+Program which: (i) are separate modules of software distributed in
+conjunction with the Program under their own license agreement, and (ii)
+are not derivative works of the Program.</p>
+
+<p>&quot;Contributor&quot; means any person or entity that distributes
+the Program.</p>
+
+<p>&quot;Licensed Patents&quot; mean patent claims licensable by a
+Contributor which are necessarily infringed by the use or sale of its
+Contribution alone or when combined with the Program.</p>
+
+<p>&quot;Program&quot; means the Contributions distributed in accordance
+with this Agreement.</p>
+
+<p>&quot;Recipient&quot; means anyone who receives the Program under
+this Agreement, including all Contributors.</p>
+
+<p><b>2. GRANT OF RIGHTS</b></p>
+
+<p class="list">a) Subject to the terms of this Agreement, each
+Contributor hereby grants Recipient a non-exclusive, worldwide,
+royalty-free copyright license to reproduce, prepare derivative works
+of, publicly display, publicly perform, distribute and sublicense the
+Contribution of such Contributor, if any, and such derivative works, in
+source code and object code form.</p>
+
+<p class="list">b) Subject to the terms of this Agreement, each
+Contributor hereby grants Recipient a non-exclusive, worldwide,
+royalty-free patent license under Licensed Patents to make, use, sell,
+offer to sell, import and otherwise transfer the Contribution of such
+Contributor, if any, in source code and object code form. This patent
+license shall apply to the combination of the Contribution and the
+Program if, at the time the Contribution is added by the Contributor,
+such addition of the Contribution causes such combination to be covered
+by the Licensed Patents. The patent license shall not apply to any other
+combinations which include the Contribution. No hardware per se is
+licensed hereunder.</p>
+
+<p class="list">c) Recipient understands that although each Contributor
+grants the licenses to its Contributions set forth herein, no assurances
+are provided by any Contributor that the Program does not infringe the
+patent or other intellectual property rights of any other entity. Each
+Contributor disclaims any liability to Recipient for claims brought by
+any other entity based on infringement of intellectual property rights
+or otherwise. As a condition to exercising the rights and licenses
+granted hereunder, each Recipient hereby assumes sole responsibility to
+secure any other intellectual property rights needed, if any. For
+example, if a third party patent license is required to allow Recipient
+to distribute the Program, it is Recipient's responsibility to acquire
+that license before distributing the Program.</p>
+
+<p class="list">d) Each Contributor represents that to its knowledge it
+has sufficient copyright rights in its Contribution, if any, to grant
+the copyright license set forth in this Agreement.</p>
+
+<p><b>3. REQUIREMENTS</b></p>
+
+<p>A Contributor may choose to distribute the Program in object code
+form under its own license agreement, provided that:</p>
+
+<p class="list">a) it complies with the terms and conditions of this
+Agreement; and</p>
+
+<p class="list">b) its license agreement:</p>
+
+<p class="list">i) effectively disclaims on behalf of all Contributors
+all warranties and conditions, express and implied, including warranties
+or conditions of title and non-infringement, and implied warranties or
+conditions of merchantability and fitness for a particular purpose;</p>
+
+<p class="list">ii) effectively excludes on behalf of all Contributors
+all liability for damages, including direct, indirect, special,
+incidental and consequential damages, such as lost profits;</p>
+
+<p class="list">iii) states that any provisions which differ from this
+Agreement are offered by that Contributor alone and not by any other
+party; and</p>
+
+<p class="list">iv) states that source code for the Program is available
+from such Contributor, and informs licensees how to obtain it in a
+reasonable manner on or through a medium customarily used for software
+exchange.</p>
+
+<p>When the Program is made available in source code form:</p>
+
+<p class="list">a) it must be made available under this Agreement; and</p>
+
+<p class="list">b) a copy of this Agreement must be included with each
+copy of the Program.</p>
+
+<p>Contributors may not remove or alter any copyright notices contained
+within the Program.</p>
+
+<p>Each Contributor must identify itself as the originator of its
+Contribution, if any, in a manner that reasonably allows subsequent
+Recipients to identify the originator of the Contribution.</p>
+
+<p><b>4. COMMERCIAL DISTRIBUTION</b></p>
+
+<p>Commercial distributors of software may accept certain
+responsibilities with respect to end users, business partners and the
+like. While this license is intended to facilitate the commercial use of
+the Program, the Contributor who includes the Program in a commercial
+product offering should do so in a manner which does not create
+potential liability for other Contributors. Therefore, if a Contributor
+includes the Program in a commercial product offering, such Contributor
+(&quot;Commercial Contributor&quot;) hereby agrees to defend and
+indemnify every other Contributor (&quot;Indemnified Contributor&quot;)
+against any losses, damages and costs (collectively &quot;Losses&quot;)
+arising from claims, lawsuits and other legal actions brought by a third
+party against the Indemnified Contributor to the extent caused by the
+acts or omissions of such Commercial Contributor in connection with its
+distribution of the Program in a commercial product offering. The
+obligations in this section do not apply to any claims or Losses
+relating to any actual or alleged intellectual property infringement. In
+order to qualify, an Indemnified Contributor must: a) promptly notify
+the Commercial Contributor in writing of such claim, and b) allow the
+Commercial Contributor to control, and cooperate with the Commercial
+Contributor in, the defense and any related settlement negotiations. The
+Indemnified Contributor may participate in any such claim at its own
+expense.</p>
+
+<p>For example, a Contributor might include the Program in a commercial
+product offering, Product X. That Contributor is then a Commercial
+Contributor. If that Commercial Contributor then makes performance
+claims, or offers warranties related to Product X, those performance
+claims and warranties are such Commercial Contributor's responsibility
+alone. Under this section, the Commercial Contributor would have to
+defend claims against the other Contributors related to those
+performance claims and warranties, and if a court requires any other
+Contributor to pay any damages as a result, the Commercial Contributor
+must pay those damages.</p>
+
+<p><b>5. NO WARRANTY</b></p>
+
+<p>EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS
+PROVIDED ON AN &quot;AS IS&quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS
+OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION,
+ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY
+OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely
+responsible for determining the appropriateness of using and
+distributing the Program and assumes all risks associated with its
+exercise of rights under this Agreement , including but not limited to
+the risks and costs of program errors, compliance with applicable laws,
+damage to or loss of data, programs or equipment, and unavailability or
+interruption of operations.</p>
+
+<p><b>6. DISCLAIMER OF LIABILITY</b></p>
+
+<p>EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT
+NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT,
+INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING
+WITHOUT LIMITATION LOST PROFITS), 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 OR
+DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED
+HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.</p>
+
+<p><b>7. GENERAL</b></p>
+
+<p>If any provision of this Agreement is invalid or unenforceable under
+applicable law, it shall not affect the validity or enforceability of
+the remainder of the terms of this Agreement, and without further action
+by the parties hereto, such provision shall be reformed to the minimum
+extent necessary to make such provision valid and enforceable.</p>
+
+<p>If Recipient institutes patent litigation against any entity
+(including a cross-claim or counterclaim in a lawsuit) alleging that the
+Program itself (excluding combinations of the Program with other
+software or hardware) infringes such Recipient's patent(s), then such
+Recipient's rights granted under Section 2(b) shall terminate as of the
+date such litigation is filed.</p>
+
+<p>All Recipient's rights under this Agreement shall terminate if it
+fails to comply with any of the material terms or conditions of this
+Agreement and does not cure such failure in a reasonable period of time
+after becoming aware of such noncompliance. If all Recipient's rights
+under this Agreement terminate, Recipient agrees to cease use and
+distribution of the Program as soon as reasonably practicable. However,
+Recipient's obligations under this Agreement and any licenses granted by
+Recipient relating to the Program shall continue and survive.</p>
+
+<p>Everyone is permitted to copy and distribute copies of this
+Agreement, but in order to avoid inconsistency the Agreement is
+copyrighted and may only be modified in the following manner. The
+Agreement Steward reserves the right to publish new versions (including
+revisions) of this Agreement from time to time. No one other than the
+Agreement Steward has the right to modify this Agreement. The Eclipse
+Foundation is the initial Agreement Steward. The Eclipse Foundation may
+assign the responsibility to serve as the Agreement Steward to a
+suitable separate entity. Each new version of the Agreement will be
+given a distinguishing version number. The Program (including
+Contributions) may always be distributed subject to the version of the
+Agreement under which it was received. In addition, after a new version
+of the Agreement is published, Contributor may elect to distribute the
+Program (including its Contributions) under the new version. Except as
+expressly stated in Sections 2(a) and 2(b) above, Recipient receives no
+rights or licenses to the intellectual property of any Contributor under
+this Agreement, whether expressly, by implication, estoppel or
+otherwise. All rights in the Program not expressly granted under this
+Agreement are reserved.</p>
+
+<p>This Agreement is governed by the laws of the State of New York and
+the intellectual property laws of the United States of America. No party
+to this Agreement will bring a legal action under this Agreement more
+than one year after the cause of action arose. Each party waives its
+rights to a jury trial in any resulting litigation.</p>
+
+</body>
+
+</html>
\ No newline at end of file
diff --git a/asterixdb/src/main/licenses/content/originals/www.json.org_license.html b/asterixdb/src/main/licenses/content/originals/www.json.org_license.html
new file mode 100644
index 0000000..02c2b30
--- /dev/null
+++ b/asterixdb/src/main/licenses/content/originals/www.json.org_license.html
@@ -0,0 +1,40 @@
+<html><head><title>The JSON License</title></head><body bgcolor=linen>
+<table width="100%" border="0">
+  <tr>
+    <td valign="middle" width=160 align="center"><a href="http://www.JSON.org" target="json"><img src="img/json160.gif" width="160" height="160" align=left border="0">
+      </a> </td>
+    <td valign="middle" align="center">
+      <div style="background-color: white; margin-left: 40px; margin-right: 40px; border: 2px solid black; padding: 10px; font-family : serif;">
+        <h1 align="center">The JSON License</h1>
+      </div>
+    </td>
+  </tr>
+</table>
+<hr>
+<p align="left">Copyright (c) 2002 JSON.org</p>
+<p>Permission is hereby granted, free of charge, to any person obtaining a copy
+
+  of this software and associated documentation files (the &quot;Software&quot;),
+  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:</p>
+<p>The above copyright notice and this permission notice shall be included in
+  all
+  copies or substantial portions of the Software.</p>
+<p>The Software shall be used for Good, not Evil.</p>
+<p>THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, 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.
+</p>
+</body></html>
diff --git a/asterixdb/src/main/licenses/content/originals/www.slf4j.org_license.html b/asterixdb/src/main/licenses/content/originals/www.slf4j.org_license.html
new file mode 100644
index 0000000..b228b4b
--- /dev/null
+++ b/asterixdb/src/main/licenses/content/originals/www.slf4j.org_license.html
@@ -0,0 +1,72 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+  <html xmlns="http://www.w3.org/1999/xhtml">
+    <head>
+      <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
+      <title>SLF4J License</title>
+      <link rel="stylesheet" type="text/css" media="screen" href="css/site.css" />
+    </head>
+    <body>
+      <script type="text/javascript">prefix='';</script>
+      
+      <script src="templates/header.js" type="text/javascript"></script>
+      <div id="left">
+        <script src="templates/left.js" type="text/javascript"></script>
+      </div>
+      <div id="right">
+        <script src="templates/right.js" type="text/javascript"></script>
+      </div>
+
+      <div id="content">
+
+
+  <h1>Licensing terms for SLF4J</h1>
+
+  <p>SLF4J source code and binaries are distributed under the
+  MIT license.
+  </p>
+
+  <div class="source">
+ Copyright (c) 2004-2013 QOS.ch
+ All rights reserved.
+
+ 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.
+  </div> 
+
+  <p>These terms are <em>identical</em> to those of the <a
+  href="http://en.wikipedia.org/wiki/MIT_License">MIT License</a>,
+  also called the X License or the X11 License, which is a simple,
+  permissive non-copyleft free software license. It is deemed
+  compatible with virtually all types of licenses, commercial or
+  otherwise. In particular, the Free Software Foundation has declared
+  it compatible with <a
+  href="http://www.fsf.org/licensing/licenses/license-list.html#GPLCompatibleLicenses">
+  GNU GPL</a>. It is also known to be approved by the Apache Software
+  Foundation as compatible with <a
+  href="http://www.apache.org/licenses/">Apache Software License</a>.
+  </p>
+
+
+  <script src="templates/footer.js" type="text/javascript"></script>
+
+</div>
+</body>
+</html>
diff --git a/asterixdb/src/main/licenses/content/originals/www.sun.com_cddl_cddl.html b/asterixdb/src/main/licenses/content/originals/www.sun.com_cddl_cddl.html
new file mode 100644
index 0000000..b1ae3c5
--- /dev/null
+++ b/asterixdb/src/main/licenses/content/originals/www.sun.com_cddl_cddl.html
@@ -0,0 +1,48 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html>
+<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+	<script type="text/javascript">
+   var _U = "undefined";
+   var g_HttpRelativeWebRoot = "/ocom/";
+   var SSContributor = false;
+   var SSForceContributor = false;
+   var SSHideContributorUI = false;
+   var ssUrlPrefix = "/us/";
+   var ssUrlType = "2";
+   
+   var g_navNode_Path = new Array();
+       g_navNode_Path[0] = '8';
+       g_navNode_Path[1] = 'ocomen_sun';
+   var g_ssSourceNodeId = "ocomen_sun";
+   var g_ssSourceSiteId = "ocomen";
+</script>
+
+
+  <script id="ssInfo" type="text/xml" warning="DO NOT MODIFY!">
+  <ssinfo>
+    <fragmentinstance id="fragment3" fragmentid="UniversalRedirect" library="server:UNIVERSAL-FRAGMENTS"></fragmentinstance>
+  </ssinfo>
+  </script>
+  
+  <meta content="MSHTML 6.00.6000.17098" name="GENERATOR" />
+<!--SS_BEGIN_SNIPPET(fragment3,0)-->
+				
+			<!--SS_END_SNIPPET(fragment3,0)-->
+
+
+
+</head>
+
+<body>
+  
+<!--SS_BEGIN_SNIPPET(fragment3,1)-->				 
+	 
+ 
+
+
+ 
+			<!--SS_END_SNIPPET(fragment3,1)-->
+ &nbsp;
+</body>
+</html>
diff --git a/asterixdb/src/main/licenses/content/protobuf_2.5.0_LICENSE.txt b/asterixdb/src/main/licenses/content/protobuf_2.5.0_LICENSE.txt
new file mode 100644
index 0000000..2dcab42
--- /dev/null
+++ b/asterixdb/src/main/licenses/content/protobuf_2.5.0_LICENSE.txt
@@ -0,0 +1,32 @@
+Copyright 2014, Google 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:
+
+    * Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+    * 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.
+    * Neither the name of Google Inc. 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
+OWNER 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.
+
+Code generated by the Protocol Buffer compiler is owned by the owner
+of the input file used when generating it.  This code is not
+standalone and requires a support library to be linked with it.  This
+support library is itself covered by the above license.
diff --git a/asterixdb/src/main/licenses/content/raw.githubusercontent.com_codehaus_paranamer-git_master_LICENSE.txt b/asterixdb/src/main/licenses/content/raw.githubusercontent.com_codehaus_paranamer-git_master_LICENSE.txt
new file mode 100644
index 0000000..522176f
--- /dev/null
+++ b/asterixdb/src/main/licenses/content/raw.githubusercontent.com_codehaus_paranamer-git_master_LICENSE.txt
@@ -0,0 +1,28 @@
+[ ParaNamer used to be 'Pubic Domain', but since it includes a small piece of ASM it is now the same license as that: BSD ]
+
+ Copyright (c) 2006 Paul Hammant & ThoughtWorks 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 the copyright holders 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 OWNER 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/asterixdb/src/main/licenses/content/raw.githubusercontent.com_kohsuke_args4j_b72102efeedc3f20ab5a998533711d042ba004a8_LICENSE.txt b/asterixdb/src/main/licenses/content/raw.githubusercontent.com_kohsuke_args4j_b72102efeedc3f20ab5a998533711d042ba004a8_LICENSE.txt
new file mode 100644
index 0000000..c49840b
--- /dev/null
+++ b/asterixdb/src/main/licenses/content/raw.githubusercontent.com_kohsuke_args4j_b72102efeedc3f20ab5a998533711d042ba004a8_LICENSE.txt
@@ -0,0 +1,19 @@
+Copyright (c) 2013 Kohsuke Kawaguchi and other contributors
+
+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.
diff --git a/asterixdb/src/main/licenses/content/raw.githubusercontent.com_mojohaus_appassembler_master_LICENSE.txt b/asterixdb/src/main/licenses/content/raw.githubusercontent.com_mojohaus_appassembler_master_LICENSE.txt
new file mode 100644
index 0000000..53c58d8
--- /dev/null
+++ b/asterixdb/src/main/licenses/content/raw.githubusercontent.com_mojohaus_appassembler_master_LICENSE.txt
@@ -0,0 +1,22 @@
+
+The MIT License
+
+Copyright 2006-2012 The Codehaus.
+
+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.
diff --git a/asterixdb/src/main/licenses/content/stax-utils_LICENSE.txt b/asterixdb/src/main/licenses/content/stax-utils_LICENSE.txt
new file mode 100644
index 0000000..f353e12
--- /dev/null
+++ b/asterixdb/src/main/licenses/content/stax-utils_LICENSE.txt
@@ -0,0 +1,33 @@
+Copyright (c) 2004, Christian Niles, unit12.net
+Copyright (c) 2004, Sun Microsystems, Inc.
+Copyright (c) 2006, John Kristian
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+    * Redistributions of source code must retain the above copyright
+      notice, this list of conditions and the following disclaimer.
+
+    * 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.
+
+    * Neither the name of the listed copyright holders 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
+OWNER 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/asterixdb/src/main/licenses/content/www.antlr.org_license.html.txt b/asterixdb/src/main/licenses/content/www.antlr.org_license.html.txt
new file mode 100644
index 0000000..475717f
--- /dev/null
+++ b/asterixdb/src/main/licenses/content/www.antlr.org_license.html.txt
@@ -0,0 +1,23 @@
+ANTLR 4 License
+
+[The BSD License]
+Copyright (c) 2012 Terence Parr and Sam Harwell
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
+following conditions are met:
+
+ * Redistributions of source code must retain the above copyright notice, this list of conditions and the following
+   disclaimer.
+ * 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.
+ * Neither the name of the author 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 OWNER 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/asterixdb/src/main/licenses/content/www.apache.org_licenses_LICENSE-2.0.txt b/asterixdb/src/main/licenses/content/www.apache.org_licenses_LICENSE-2.0.txt
new file mode 100644
index 0000000..d645695
--- /dev/null
+++ b/asterixdb/src/main/licenses/content/www.apache.org_licenses_LICENSE-2.0.txt
@@ -0,0 +1,202 @@
+
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
+
+   APPENDIX: How to apply the Apache License to your work.
+
+      To apply the Apache License to your work, attach the following
+      boilerplate notice, with the fields enclosed by brackets "[]"
+      replaced with your own identifying information. (Don't include
+      the brackets!)  The text should be enclosed in the appropriate
+      comment syntax for the file format. We also recommend that a
+      file or class name and description of purpose be included on the
+      same "printed page" as the copyright notice for easier
+      identification within third-party archives.
+
+   Copyright [yyyy] [name of copyright owner]
+
+   Licensed 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.
diff --git a/asterixdb/src/main/licenses/content/www.eclipse.org_legal_epl-v10.html.txt b/asterixdb/src/main/licenses/content/www.eclipse.org_legal_epl-v10.html.txt
new file mode 100644
index 0000000..e1460e4
--- /dev/null
+++ b/asterixdb/src/main/licenses/content/www.eclipse.org_legal_epl-v10.html.txt
@@ -0,0 +1,145 @@
+Eclipse Public License - v 1.0
+
+THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE,
+REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
+
+1. DEFINITIONS
+
+"Contribution" means:
+
+a) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and
+b) in the case of each subsequent Contributor:
+i) changes to the Program, and
+ii) additions to the Program;
+where such changes and/or additions to the Program originate from and are distributed by that particular Contributor. A
+Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or anyone acting
+on such Contributor's behalf. Contributions do not include additions to the Program which: (i) are separate modules of
+software distributed in conjunction with the Program under their own license agreement, and (ii) are not derivative
+works of the Program.
+"Contributor" means any person or entity that distributes the Program.
+
+"Licensed Patents" mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of
+its Contribution alone or when combined with the Program.
+
+"Program" means the Contributions distributed in accordance with this Agreement.
+
+"Recipient" means anyone who receives the Program under this Agreement, including all Contributors.
+
+2. GRANT OF RIGHTS
+
+a) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide,
+royalty-free copyright license to reproduce, prepare derivative works of, publicly display, publicly perform,
+distribute and sublicense the Contribution of such Contributor, if any, and such derivative works, in source code and
+object code form.
+b) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide,
+royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the
+Contribution of such Contributor, if any, in source code and object code form. This patent license shall apply to the
+combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such
+addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall
+not apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder.
+c) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no
+assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property
+rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other
+entity based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and
+licenses granted hereunder, each Recipient hereby assumes sole responsibility to secure any other intellectual property
+rights needed, if any. For example, if a third party patent license is required to allow Recipient to distribute the
+Program, it is Recipient's responsibility to acquire that license before distributing the Program.
+d) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to
+grant the copyright license set forth in this Agreement.
+3. REQUIREMENTS
+
+A Contributor may choose to distribute the Program in object code form under its own license agreement, provided that:
+
+a) it complies with the terms and conditions of this Agreement; and
+b) its license agreement:
+i) effectively disclaims on behalf of all Contributors all warranties and conditions, express and implied, including
+warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and
+fitness for a particular purpose;
+ii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special,
+incidental and consequential damages, such as lost profits;
+iii) states that any provisions which differ from this Agreement are offered by that Contributor alone and not by any
+other party; and
+iv) states that source code for the Program is available from such Contributor, and informs licensees how to obtain it
+in a reasonable manner on or through a medium customarily used for software exchange.
+When the Program is made available in source code form:
+
+a) it must be made available under this Agreement; and
+b) a copy of this Agreement must be included with each copy of the Program.
+Contributors may not remove or alter any copyright notices contained within the Program.
+
+Each Contributor must identify itself as the originator of its Contribution, if any, in a manner that reasonably allows
+subsequent Recipients to identify the originator of the Contribution.
+
+4. COMMERCIAL DISTRIBUTION
+
+Commercial distributors of software may accept certain responsibilities with respect to end users, business partners
+and the like. While this license is intended to facilitate the commercial use of the Program, the Contributor who
+includes the Program in a commercial product offering should do so in a manner which does not create potential
+liability for other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering,
+such Contributor ("Commercial Contributor") hereby agrees to defend and indemnify every other Contributor ("Indemnified
+Contributor") against any losses, damages and costs (collectively "Losses") arising from claims, lawsuits and other
+legal actions brought by a third party against the Indemnified Contributor to the extent caused by the acts or
+omissions of such Commercial Contributor in connection with its distribution of the Program in a commercial product
+offering. The obligations in this section do not apply to any claims or Losses relating to any actual or alleged
+intellectual property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the
+Commercial Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with
+the Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may
+participate in any such claim at its own expense.
+
+For example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is
+then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties
+related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone.
+Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to
+those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result,
+the Commercial Contributor must pay those damages.
+
+5. NO WARRANTY
+
+EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR
+CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE,
+NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely responsible for
+determining the appropriateness of using and distributing the Program and assumes all risks associated with its
+exercise of rights under this Agreement , including but not limited to the risks and costs of program errors,
+compliance with applicable laws, damage to or loss of data, programs or equipment, and unavailability or interruption
+of operations.
+
+6. DISCLAIMER OF LIABILITY
+
+EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR
+ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST
+PROFITS), 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 OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS
+GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
+
+7. GENERAL
+
+If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity
+or enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto,
+such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.
+
+If Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit)
+alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such
+Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such
+litigation is filed.
+
+All Recipient's rights under this Agreement shall terminate if it fails to comply with any of the material terms or
+conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such
+noncompliance. If all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution
+of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any
+licenses granted by Recipient relating to the Program shall continue and survive.
+
+Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the
+Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to
+publish new versions (including revisions) of this Agreement from time to time. No one other than the Agreement Steward
+has the right to modify this Agreement. The Eclipse Foundation is the initial Agreement Steward. The Eclipse Foundation
+may assign the responsibility to serve as the Agreement Steward to a suitable separate entity. Each new version of the
+Agreement will be given a distinguishing version number. The Program (including Contributions) may always be
+distributed subject to the version of the Agreement under which it was received. In addition, after a new version of
+the Agreement is published, Contributor may elect to distribute the Program (including its Contributions) under the new
+version. Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to the
+intellectual property of any Contributor under this Agreement, whether expressly, by implication, estoppel or
+otherwise. All rights in the Program not expressly granted under this Agreement are reserved.
+
+This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States
+of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the
+cause of action arose. Each party waives its rights to a jury trial in any resulting litigation.
diff --git a/asterixdb/src/main/licenses/content/www.jcraft.com_jsch_LICENSE.txt b/asterixdb/src/main/licenses/content/www.jcraft.com_jsch_LICENSE.txt
new file mode 100644
index 0000000..edd491d
--- /dev/null
+++ b/asterixdb/src/main/licenses/content/www.jcraft.com_jsch_LICENSE.txt
@@ -0,0 +1,30 @@
+JSch 0.0.* was released under the GNU LGPL license.  Later, we have switched
+over to a BSD-style license.
+
+------------------------------------------------------------------------------
+Copyright (c) 2002-2015 Atsuhiko Yamanaka, JCraft,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. The names of the authors may not be used to endorse or promote products
+     derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 JCRAFT,
+INC. OR ANY CONTRIBUTORS TO THIS SOFTWARE 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/asterixdb/src/main/licenses/content/www.json.org_license.html.txt b/asterixdb/src/main/licenses/content/www.json.org_license.html.txt
new file mode 100644
index 0000000..e5bfdb4
--- /dev/null
+++ b/asterixdb/src/main/licenses/content/www.json.org_license.html.txt
@@ -0,0 +1,16 @@
+Copyright (c) 2002 JSON.org
+
+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 shall be used for Good, not Evil.
+
+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.
diff --git a/asterixdb/src/main/licenses/content/www.slf4j.org_license.html.txt b/asterixdb/src/main/licenses/content/www.slf4j.org_license.html.txt
new file mode 100644
index 0000000..05ee024
--- /dev/null
+++ b/asterixdb/src/main/licenses/content/www.slf4j.org_license.html.txt
@@ -0,0 +1,21 @@
+ Copyright (c) 2004-2013 QOS.ch
+ All rights reserved.
+
+ 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.
diff --git a/asterixdb/src/main/licenses/content/www.sun.com_cddl_cddl.html.txt b/asterixdb/src/main/licenses/content/www.sun.com_cddl_cddl.html.txt
new file mode 100644
index 0000000..1e6da24
--- /dev/null
+++ b/asterixdb/src/main/licenses/content/www.sun.com_cddl_cddl.html.txt
@@ -0,0 +1,240 @@
+COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0
+
+1. Definitions.
+
+1.1. “Contributor” means each individual or entity that creates or contributes to the creation of Modifications.
+
+1.2. “Contributor Version” means the combination of the Original Software, prior Modifications used by a Contributor
+(if any), and the Modifications made by that particular Contributor.
+
+1.3. “Covered Software” means (a) the Original Software, or (b) Modifications, or (c) the combination of files
+containing Original Software with files containing Modifications, in each case including portions thereof.
+
+1.4. “Executable” means the Covered Software in any form other than Source Code.
+
+1.5. “Initial Developer” means the individual or entity that first makes Original Software available under this License.
+
+1.6. “Larger Work” means a work which combines Covered Software or portions thereof with code not governed by the terms
+of this License.
+
+1.7. “License” means this document.
+
+1.8. “Licensable” means having the right to grant, to the maximum extent possible, whether at the time of the initial
+grant or subsequently acquired, any and all of the rights conveyed herein.
+
+1.9. “Modifications” means the Source Code and Executable form of any of the following:
+
+A. Any file that results from an addition to, deletion from or modification of the contents of a file containing
+Original Software or previous Modifications;
+
+B. Any new file that contains any part of the Original Software or previous Modification; or
+
+C. Any new file that is contributed or otherwise made available under the terms of this License.
+
+1.10. “Original Software” means the Source Code and Executable form of computer software code that is originally
+released under this License.
+
+1.11. “Patent Claims” means any patent claim(s), now owned or hereafter acquired, including without limitation, method,
+process, and apparatus claims, in any patent Licensable by grantor.
+
+1.12. “Source Code” means (a) the common form of computer software code in which modifications are made and (b)
+associated documentation included in or with such code.
+
+1.13. “You” (or “Your”) means an individual or a legal entity exercising rights under, and complying with all of the
+terms of, this License. For legal entities, “You” includes any entity which controls, is controlled by, or is under
+common control with You. For purposes of this definition, “control” means (a) the power, direct or indirect, to cause
+the direction or management of such entity, whether by contract or otherwise, or (b) ownership of more than fifty
+percent (50%) of the outstanding shares or beneficial ownership of such entity.
+
+2. License Grants.
+
+2.1. The Initial Developer Grant.
+
+Conditioned upon Your compliance with Section 3.1 below and subject to third party intellectual property claims, the
+Initial Developer hereby grants You a world-wide, royalty-free, non-exclusive license:
+
+(a) under intellectual property rights (other than patent or trademark) Licensable by Initial Developer, to use,
+reproduce, modify, display, perform, sublicense and distribute the Original Software (or portions thereof), with or
+without Modifications, and/or as part of a Larger Work; and
+
+(b) under Patent Claims infringed by the making, using or selling of Original Software, to make, have made, use,
+practice, sell, and offer for sale, and/or otherwise dispose of the Original Software (or portions thereof).
+
+(c) The licenses granted in Sections 2.1(a) and (b) are effective on the date Initial Developer first distributes or
+otherwise makes the Original Software available to a third party under the terms of this License.
+
+(d) Notwithstanding Section 2.1(b) above, no patent license is granted: (1) for code that You delete from the Original
+Software, or (2) for infringements caused by: (i) the modification of the Original Software, or (ii) the combination of
+the Original Software with other software or devices.
+
+2.2. Contributor Grant.
+
+Conditioned upon Your compliance with Section 3.1 below and subject to third party intellectual property claims, each
+Contributor hereby grants You a world-wide, royalty-free, non-exclusive license:
+
+(a) under intellectual property rights (other than patent or trademark) Licensable by Contributor to use, reproduce,
+modify, display, perform, sublicense and distribute the Modifications created by such Contributor (or portions
+thereof), either on an unmodified basis, with other Modifications, as Covered Software and/or as part of a Larger Work;
+and
+
+(b) under Patent Claims infringed by the making, using, or selling of Modifications made by that Contributor either
+alone and/or in combination with its Contributor Version (or portions of such combination), to make, use, sell, offer
+for sale, have made, and/or otherwise dispose of: (1) Modifications made by that Contributor (or portions thereof); and
+(2) the combination of Modifications made by that Contributor with its Contributor Version (or portions of such
+combination).
+
+(c) The licenses granted in Sections 2.2(a) and 2.2(b) are effective on the date Contributor first distributes or
+otherwise makes the Modifications available to a third party.
+
+(d) Notwithstanding Section 2.2(b) above, no patent license is granted: (1) for any code that Contributor has deleted
+from the Contributor Version; (2) for infringements caused by: (i) third party modifications of Contributor Version, or
+(ii) the combination of Modifications made by that Contributor with other software (except as part of the Contributor
+Version) or other devices; or (3) under Patent Claims infringed by Covered Software in the absence of Modifications
+made by that Contributor.
+
+3. Distribution Obligations.
+
+3.1. Availability of Source Code.
+
+Any Covered Software that You distribute or otherwise make available in Executable form must also be made available in
+Source Code form and that Source Code form must be distributed only under the terms of this License. You must include a
+copy of this License with every copy of the Source Code form of the Covered Software You distribute or otherwise make
+available. You must inform recipients of any such Covered Software in Executable form as to how they can obtain such
+Covered Software in Source Code form in a reasonable manner on or through a medium customarily used for software
+exchange.
+
+3.2. Modifications.
+
+The Modifications that You create or to which You contribute are governed by the terms of this License. You represent
+that You believe Your Modifications are Your original creation(s) and/or You have sufficient rights to grant the rights
+conveyed by this License.
+
+3.3. Required Notices.
+
+You must include a notice in each of Your Modifications that identifies You as the Contributor of the Modification. You
+may not remove or alter any copyright, patent or trademark notices contained within the Covered Software, or any
+notices of licensing or any descriptive text giving attribution to any Contributor or the Initial Developer.
+
+3.4. Application of Additional Terms.
+
+You may not offer or impose any terms on any Covered Software in Source Code form that alters or restricts the
+applicable version of this License or the recipients’ rights hereunder. You may choose to offer, and to charge a fee
+for, warranty, support, indemnity or liability obligations to one or more recipients of Covered Software. However, you
+may do so only on Your own behalf, and not on behalf of the Initial Developer or any Contributor. You must make it
+absolutely clear that any such warranty, support, indemnity or liability obligation is offered by You alone, and You
+hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial
+Developer or such Contributor as a result of warranty, support, indemnity or liability terms You offer.
+
+3.5. Distribution of Executable Versions.
+
+You may distribute the Executable form of the Covered Software under the terms of this License or under the terms of a
+license of Your choice, which may contain terms different from this License, provided that You are in compliance with
+the terms of this License and that the license for the Executable form does not attempt to limit or alter the
+recipient’s rights in the Source Code form from the rights set forth in this License. If You distribute the Covered
+Software in Executable form under a different license, You must make it absolutely clear that any terms which differ
+from this License are offered by You alone, not by the Initial Developer or Contributor. You hereby agree to indemnify
+the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as
+a result of any such terms You offer.
+
+3.6. Larger Works.
+
+You may create a Larger Work by combining Covered Software with other code not governed by the terms of this License
+and distribute the Larger Work as a single product. In such a case, You must make sure the requirements of this License
+are fulfilled for the Covered Software.
+
+4. Versions of the License.
+
+4.1. New Versions.
+
+Sun Microsystems, Inc. is the initial license steward and may publish revised and/or new versions of this License from
+time to time. Each version will be given a distinguishing version number. Except as provided in Section 4.3, no one
+other than the license steward has the right to modify this License.
+
+4.2. Effect of New Versions.
+
+You may always continue to use, distribute or otherwise make the Covered Software available under the terms of the
+version of the License under which You originally received the Covered Software. If the Initial Developer includes a
+notice in the Original Software prohibiting it from being distributed or otherwise made available under any subsequent
+version of the License, You must distribute and make the Covered Software available under the terms of the version of
+the License under which You originally received the Covered Software. Otherwise, You may also choose to use, distribute
+or otherwise make the Covered Software available under the terms of any subsequent version of the License published by
+the license steward.
+
+4.3. Modified Versions.
+
+When You are an Initial Developer and You want to create a new license for Your Original Software, You may create and
+use a modified version of this License if You: (a) rename the license and remove any references to the name of the
+license steward (except to note that the license differs from this License); and (b) otherwise make it clear that the
+license contains terms which differ from this License.
+
+5. DISCLAIMER OF WARRANTY.
+
+COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN “AS IS” BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR
+IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED SOFTWARE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR
+A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED SOFTWARE IS
+WITH YOU. SHOULD ANY COVERED SOFTWARE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER
+CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES
+AN ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY COVERED SOFTWARE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
+
+6. TERMINATION.
+
+6.1. This License and the rights granted hereunder will terminate automatically if You fail to comply with terms herein
+and fail to cure such breach within 30 days of becoming aware of the breach. Provisions which, by their nature, must
+remain in effect beyond the termination of this License shall survive.
+
+6.2. If You assert a patent infringement claim (excluding declaratory judgment actions) against Initial Developer or a
+Contributor (the Initial Developer or Contributor against whom You assert such claim is referred to as “Participant”)
+alleging that the Participant Software (meaning the Contributor Version where the Participant is a Contributor or the
+Original Software where the Participant is the Initial Developer) directly or indirectly infringes any patent, then any
+and all rights granted directly or indirectly to You by such Participant, the Initial Developer (if the Initial
+Developer is not the Participant) and all Contributors under Sections 2.1 and/or 2.2 of this License shall, upon 60
+days notice from Participant terminate prospectively and automatically at the expiration of such 60 day notice period,
+unless if within such 60 day period You withdraw Your claim with respect to the Participant Software against such
+Participant either unilaterally or pursuant to a written agreement with Participant.
+
+6.3. In the event of termination under Sections 6.1 or 6.2 above, all end user licenses that have been validly granted
+by You or any distributor hereunder prior to termination (excluding licenses granted to You by any distributor) shall
+survive termination.
+
+7. LIMITATION OF LIABILITY.
+
+UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL
+YOU, THE INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED SOFTWARE, OR ANY SUPPLIER OF ANY OF
+SUCH PARTIES, BE LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER
+INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOST PROFITS, LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR
+MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE
+POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY
+RESULTING FROM SUCH PARTY’S NEGLIGENCE TO THE EXTENT APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO
+NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT
+APPLY TO YOU.
+
+8. U.S. GOVERNMENT END USERS.
+
+The Covered Software is a “commercial item,” as that term is defined in 48 C.F.R. 2.101 (Oct. 1995), consisting of
+“commercial computer software” (as that term is defined at 48 C.F.R. § 252.227-7014(a)(1)) and “commercial computer
+software documentation” as such terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 C.F.R. 12.212 and
+48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all U.S. Government End Users acquire Covered Software with only
+those rights set forth herein. This U.S. Government Rights clause is in lieu of, and supersedes, any other FAR, DFAR,
+or other clause or provision that addresses Government rights in computer software under this License.
+
+9. MISCELLANEOUS.
+
+This License represents the complete agreement concerning subject matter hereof. If any provision of this License is
+held to be unenforceable, such provision shall be reformed only to the extent necessary to make it enforceable. This
+License shall be governed by the law of the jurisdiction specified in a notice contained within the Original Software
+(except to the extent applicable law, if any, provides otherwise), excluding such jurisdiction’s conflict-of-law
+provisions. Any litigation relating to this License shall be subject to the jurisdiction of the courts located in the
+jurisdiction and venue specified in a notice contained within the Original Software, with the losing party responsible
+for costs, including, without limitation, court costs and reasonable attorneys’ fees and expenses. The application of
+the United Nations Convention on Contracts for the International Sale of Goods is expressly excluded. Any law or
+regulation which provides that the language of a contract shall be construed against the drafter shall not apply to
+this License. You agree that You alone are responsible for compliance with the United States export administration
+regulations (and the export control laws and regulation of any other countries) when You use, distribute or otherwise
+make available any Covered Software.
+
+10. RESPONSIBILITY FOR CLAIMS.
+
+As between Initial Developer and the Contributors, each party is responsible for claims and damages arising, directly
+or indirectly, out of its utilization of rights under this License and You agree to work with Initial Developer and
+Contributors to distribute such responsibility on an equitable basis. Nothing herein is intended or shall be deemed to
+constitute any admission of liability.
diff --git a/asterixdb/src/main/licenses/content/xmlenc_0.52_LICENSE.txt b/asterixdb/src/main/licenses/content/xmlenc_0.52_LICENSE.txt
new file mode 100644
index 0000000..b24523e
--- /dev/null
+++ b/asterixdb/src/main/licenses/content/xmlenc_0.52_LICENSE.txt
@@ -0,0 +1,27 @@
+      Copyright 2003-2005, Ernst de Haan <wfe.dehaan@gmail.com>
+      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 the copyright holder 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 HOLDER 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 OWNER 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/asterixdb/src/main/licenses/templates/asterix-license.ftl b/asterixdb/src/main/licenses/templates/asterix-license.ftl
new file mode 100644
index 0000000..140b365
--- /dev/null
+++ b/asterixdb/src/main/licenses/templates/asterix-license.ftl
@@ -0,0 +1,70 @@
+<#--
+ ! 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.
+-->
+<@indent spaces=3>
+<#list licenseMap as e>
+  <#assign entry = e.getValue()/>
+  <#assign license = entry.getLicense()/>
+  <#if license.url == "http://www.apache.org/licenses/LICENSE-2.0.txt">
+${license.content}
+    <#break>
+  </#if>
+</#list>
+</@indent>
+===
+   ASTERIXDB COMPONENTS:
+
+   AsterixDB includes a number of subcomponents with separate copyright
+   notices and license terms. Your use of the source code for these
+   subcomponents is subject to the terms and condition of the following
+   licenses.
+===
+<#list licenseMap as e>
+   <#assign licenseUrl = e.getKey()/>
+   <#assign entry = e.getValue()/>
+   <#assign projects = entry.projects/>
+   <#assign license = entry.getLicense()/>
+   <#if projects?size == 1>
+   Component:
+     <#assign isare = "is"/>
+   <#else>
+   Components:
+     <#assign isare = "are"/>
+   </#if>
+   <#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>
+
+   <#if license.url == "PUBLIC_DOMAIN">
+   ${isare} in the public domain.
+   <#elseif license.url == "http://www.apache.org/licenses/LICENSE-2.0.txt">
+   ${isare} available under ${license.displayName}.
+   <#else>
+   ${isare} available under ${license.displayName!"the following license"}:
+---
+<@indent spaces=6>
+${license.content}
+</@indent>
+   </#if>
+---
+</#list>
+<#include "source_licenses.ftl">
+<#include "../../../../../hyracks-fullstack/src/main/licenses/templates/source_licenses.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..add0a35
--- /dev/null
+++ b/asterixdb/src/main/licenses/templates/asterix-notice.ftl
@@ -0,0 +1,40 @@
+<#--
+ ! 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.
+-->
+Apache AsterixDB ${packageName}
+Copyright 2015-2017 The Apache Software Foundation
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).
+
+AsterixDB utilizes many libraries, which come with the following applicable NOTICE(s):
+
+<#list noticeMap 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
+       </#list>
+   </#list>
+
+<@indent spaces=6>
+${noticeText}
+</@indent>
+
+</#list>
diff --git a/asterixdb/src/main/licenses/templates/source_licenses.ftl b/asterixdb/src/main/licenses/templates/source_licenses.ftl
new file mode 100644
index 0000000..47af1e5
--- /dev/null
+++ b/asterixdb/src/main/licenses/templates/source_licenses.ftl
@@ -0,0 +1,106 @@
+   Portions of the AsterixDB WebUI in:
+       repo/asterix-app-${project.version}.jar, within ${assembly}
+       located at:
+         webui/static/js/jquery.min.js
+       and
+         webui/static/js/jquery.autosize-min.js
+
+   are available under an MIT-style 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.
+---
+   Portions of the AsterixDB WebUI in:
+       repo/asterix-app-${project.version}.jar, within ${assembly}
+       located at:
+         webui/static/js/bootstrap.min.js
+
+   are available under an MIT-style license:
+---
+   The MIT License (MIT)
+
+   Copyright (c) 2011-2015 Twitter, Inc
+
+   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.
+---
+   Portions of the AsterixDB WebUI in:
+       repo/asterix-app-${project.version}.jar, within ${assembly}
+       located at:
+         webui/static/js/smoothie.js
+
+   are available under an MIT-style license:
+---
+   MIT License
+   -----------
+
+   Copyright (c) 2010-2013, Joe Walnes
+                 2013-2014, Drew Noakes
+
+                 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.
+---
diff --git a/hyracks-fullstack/src/main/licenses/templates/source_licenses.ftl b/hyracks-fullstack/src/main/licenses/templates/source_licenses.ftl
new file mode 100644
index 0000000..6fd73bd
--- /dev/null
+++ b/hyracks-fullstack/src/main/licenses/templates/source_licenses.ftl
@@ -0,0 +1,197 @@
+   Portions of the Hyracks admin console in:
+       repo/hyracks-control-cc-${project.version}.jar, within ${assembly}
+       located at:
+         static/javascript/flot/
+---
+   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.
+---
+   Portions of the Hyracks admin console in:
+       repo/hyracks-control-cc-${project.version}.jar, within ${assembly}
+       located at:
+         static/javascript/jsplumb/
+---
+   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.
+---
+   Portions of the Hyracks admin console in:
+       repo/hyracks-control-cc-${project.version}.jar, within ${assembly}
+       located at:
+         static/javascript/jquery
+       and
+         static/stylesheet/jquery-ui
+---
+   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.
+---
+   Portions of the Hyracks admin console in:
+       repo/hyracks-control-cc-${project.version}.jar, within ${assembly}
+       located at:
+         static/javascript/jquery/plugins/jquery.getParams.js
+---
+   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.
+---
+   Portions of the Hyracks admin console in:
+       repo/hyracks-control-cc-${project.version}.jar, within ${assembly}
+       located at:
+         static/javascript/jquery/plugins/jquery.timer.js
+---
+   jquery.timer.js
+
+   Copyright (c) 2011 Jason Chavannes <jason.chavannes@gmail.com>
+
+   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.
+---
+   Portions of the Hyracks admin console in:
+       repo/hyracks-control-cc-${project.version}.jar, within ${assembly}
+       located at:
+         static/stylesheet/json.human.css
+---
+   json.human.css
+
+   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.
+---
+   Portions of the Hyracks admin console in:
+       repo/hyracks-control-cc-${project.version}.jar, within ${assembly}
+       located at:
+         static/javascript/adminconsole/json.human.js
+---
+   json.human.js
+
+   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.