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