| 1 |
Apache License |
| 2 |
|
| 3 |
Version 2.0, January 2004 |
| 4 |
|
| 5 |
http://www.apache.org/licenses/ |
| 6 |
|
| 7 |
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION |
| 8 |
|
| 9 |
1. Definitions. |
| 10 |
|
| 11 |
"License" shall mean the terms and conditions for use, reproduction, and |
| 12 |
distribution as defined by Sections 1 through 9 of this document. |
| 13 |
|
| 14 |
"Licensor" shall mean the copyright owner or entity authorized by the |
| 15 |
copyright owner that is granting the License. |
| 16 |
|
| 17 |
"Legal Entity" shall mean the union of the acting entity and all other |
| 18 |
entities that control, are controlled by, or are under common control |
| 19 |
with that entity. For the purposes of this definition, "control" means |
| 20 |
(i) the power, direct or indirect, to cause the direction or management |
| 21 |
of such entity, whether by contract or otherwise, or (ii) ownership |
| 22 |
of fifty percent (50%) or more of the outstanding shares, or (iii) |
| 23 |
beneficial ownership of such entity. |
| 24 |
|
| 25 |
"You" (or "Your") shall mean an individual or Legal Entity exercising |
| 26 |
permissions granted by this License. |
| 27 |
|
| 28 |
"Source" form shall mean the preferred form for making modifications, |
| 29 |
including but not limited to software source code, documentation source, |
| 30 |
and configuration files. |
| 31 |
|
| 32 |
"Object" form shall mean any form resulting from mechanical |
| 33 |
transformation or translation of a Source form, including but not |
| 34 |
limited to compiled object code, generated documentation, and |
| 35 |
conversions to other media types. |
| 36 |
|
| 37 |
"Work" shall mean the work of authorship, whether in Source or Object |
| 38 |
form, made available under the License, as indicated by a copyright |
| 39 |
notice that is included in or attached to the work (an example is |
| 40 |
provided in the Appendix below). |
| 41 |
|
| 42 |
"Derivative Works" shall mean any work, whether in Source or Object |
| 43 |
form, that is based on (or derived from) the Work and for which the |
| 44 |
editorial revisions, annotations, elaborations, or other modifications |
| 45 |
represent, as a whole, an original work of authorship. For the purposes |
| 46 |
of this License, Derivative Works shall not include works that remain |
| 47 |
separable from, or merely link (or bind by name) to the interfaces of, |
| 48 |
the Work and Derivative Works thereof. |
| 49 |
|
| 50 |
"Contribution" shall mean any work of authorship, including the original |
| 51 |
version of the Work and any modifications or additions to that Work or |
| 52 |
Derivative Works thereof, that is intentionally submitted to Licensor |
| 53 |
for inclusion in the Work by the copyright owner or by an individual |
| 54 |
or Legal Entity authorized to submit on behalf of the copyright owner. |
| 55 |
For the purposes of this definition, "submitted" means any form of |
| 56 |
electronic, verbal, or written communication sent to the Licensor |
| 57 |
or its representatives, including but not limited to communication |
| 58 |
on electronic mailing lists, source code control systems, and issue |
| 59 |
tracking systems that are managed by, or on behalf of, the Licensor |
| 60 |
for the purpose of discussing and improving the Work, but excluding |
| 61 |
communication that is conspicuously marked or otherwise designated in |
| 62 |
writing by the copyright owner as "Not a Contribution." |
| 63 |
|
| 64 |
"Contributor" shall mean Licensor and any individual or Legal Entity |
| 65 |
on behalf of whom a Contribution has been received by Licensor and |
| 66 |
subsequently incorporated within the Work. |
| 67 |
|
| 68 |
2. Grant of Copyright License. Subject to the terms and conditions |
| 69 |
of this License, each Contributor hereby grants to You a perpetual, |
| 70 |
worldwide, non-exclusive, no-charge, royalty-free, irrevocable |
| 71 |
copyright license to reproduce, prepare Derivative Works of, publicly |
| 72 |
display, publicly perform, sublicense, and distribute the Work and such |
| 73 |
Derivative Works in Source or Object form. |
| 74 |
|
| 75 |
3. Grant of Patent License. Subject to the terms and conditions of |
| 76 |
this License, each Contributor hereby grants to You a perpetual, |
| 77 |
worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except |
| 78 |
as stated in this section) patent license to make, have made, use, |
| 79 |
offer to sell, sell, import, and otherwise transfer the Work, where |
| 80 |
such license applies only to those patent claims licensable by such |
| 81 |
Contributor that are necessarily infringed by their Contribution(s) |
| 82 |
alone or by combination of their Contribution(s) with the Work to which |
| 83 |
such Contribution(s) was submitted. If You institute patent litigation |
| 84 |
against any entity (including a cross-claim or counterclaim in a |
| 85 |
lawsuit) alleging that the Work or a Contribution incorporated within |
| 86 |
the Work constitutes direct or contributory patent infringement, then |
| 87 |
any patent licenses granted to You under this License for that Work |
| 88 |
shall terminate as of the date such litigation is filed. |
| 89 |
|
| 90 |
4. Redistribution. You may reproduce and distribute copies of the |
| 91 |
Work or Derivative Works thereof in any medium, with or without |
| 92 |
modifications, and in Source or Object form, provided that You meet the |
| 93 |
following conditions: |
| 94 |
|
| 95 |
You must give any other recipients of the Work or Derivative Works a |
| 96 |
copy of this License; and |
| 97 |
|
| 98 |
You must cause any modified files to carry prominent notices stating |
| 99 |
that You changed the files; and |
| 100 |
|
| 101 |
You must retain, in the Source form of any Derivative Works that You |
| 102 |
distribute, all copyright, patent, trademark, and attribution notices |
| 103 |
from the Source form of the Work, excluding those notices that do not |
| 104 |
pertain to any part of the Derivative Works; and |
| 105 |
|
| 106 |
If the Work includes a "NOTICE" text file as part of its distribution, |
| 107 |
then any Derivative Works that You distribute must include a readable |
| 108 |
copy of the attribution notices contained within such NOTICE file, |
| 109 |
excluding those notices that do not pertain to any part of the |
| 110 |
Derivative Works, in at least one of the following places: within a |
| 111 |
NOTICE text file distributed as part of the Derivative Works; within |
| 112 |
the Source form or documentation, if provided along with the Derivative |
| 113 |
Works; or, within a display generated by the Derivative Works, if and |
| 114 |
wherever such third-party notices normally appear. The contents of the |
| 115 |
NOTICE file are for informational purposes only and do not modify the |
| 116 |
License. You may add Your own attribution notices within Derivative |
| 117 |
Works that You distribute, alongside or as an addendum to the NOTICE |
| 118 |
text from the Work, provided that such additional attribution notices |
| 119 |
cannot be construed as modifying the License. You may add Your own |
| 120 |
copyright statement to Your modifications and may provide additional |
| 121 |
or different license terms and conditions for use, reproduction, or |
| 122 |
distribution of Your modifications, or for any such Derivative Works as |
| 123 |
a whole, provided Your use, reproduction, and distribution of the Work |
| 124 |
otherwise complies with the conditions stated in this License. |
| 125 |
|
| 126 |
5. Submission of Contributions. Unless You explicitly state otherwise, |
| 127 |
any Contribution intentionally submitted for inclusion in the Work by |
| 128 |
You to the Licensor shall be under the terms and conditions of this |
| 129 |
License, without any additional terms or conditions. Notwithstanding |
| 130 |
the above, nothing herein shall supersede or modify the terms of any |
| 131 |
separate license agreement you may have executed with Licensor regarding |
| 132 |
such Contributions. |
| 133 |
|
| 134 |
6. Trademarks. This License does not grant permission to use the trade |
| 135 |
names, trademarks, service marks, or product names of the Licensor, |
| 136 |
except as required for reasonable and customary use in describing the |
| 137 |
origin of the Work and reproducing the content of the NOTICE file. |
| 138 |
|
| 139 |
7. Disclaimer of Warranty. Unless required by applicable law or agreed |
| 140 |
to in writing, Licensor provides the Work (and each Contributor |
| 141 |
provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR |
| 142 |
CONDITIONS OF ANY KIND, either express or implied, including, without |
| 143 |
limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, |
| 144 |
MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are |
| 145 |
solely responsible for determining the appropriateness of using or |
| 146 |
redistributing the Work and assume any risks associated with Your |
| 147 |
exercise of permissions under this License. |
| 148 |
|
| 149 |
8. Limitation of Liability. In no event and under no legal theory, |
| 150 |
whether in tort (including negligence), contract, or otherwise, unless |
| 151 |
required by applicable law (such as deliberate and grossly negligent |
| 152 |
acts) or agreed to in writing, shall any Contributor be liable to You |
| 153 |
for damages, including any direct, indirect, special, incidental, or |
| 154 |
consequential damages of any character arising as a result of this |
| 155 |
License or out of the use or inability to use the Work (including but |
| 156 |
not limited to damages for loss of goodwill, work stoppage, computer |
| 157 |
failure or malfunction, or any and all other commercial damages or |
| 158 |
losses), even if such Contributor has been advised of the possibility of |
| 159 |
such damages. |
| 160 |
|
| 161 |
9. Accepting Warranty or Additional Liability. While redistributing the |
| 162 |
Work or Derivative Works thereof, You may choose to offer, and charge a |
| 163 |
fee for, acceptance of support, warranty, indemnity, or other liability |
| 164 |
obligations and/or rights consistent with this License. However, in |
| 165 |
accepting such obligations, You may act only on Your own behalf and |
| 166 |
on Your sole responsibility, not on behalf of any other Contributor, |
| 167 |
and only if You agree to indemnify, defend, and hold each Contributor |
| 168 |
harmless for any liability incurred by, or claims asserted against, such |
| 169 |
Contributor by reason of your accepting any such warranty or additional |
| 170 |
liability. |