|
2 | 2 | Apache License |
3 | 3 | Version 2.0, January 2004 |
4 | 4 | http://www.apache.org/licenses/ |
| 5 | + |
5 | 6 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION |
| 7 | + |
6 | 8 | 1. Definitions. |
| 9 | + |
7 | 10 | "License" shall mean the terms and conditions for use, reproduction, |
8 | 11 | and distribution as defined by Sections 1 through 9 of this document. |
| 12 | + |
9 | 13 | "Licensor" shall mean the copyright owner or entity authorized by |
10 | 14 | the copyright owner that is granting the License. |
| 15 | + |
11 | 16 | "Legal Entity" shall mean the union of the acting entity and all |
12 | 17 | other entities that control, are controlled by, or are under common |
13 | 18 | control with that entity. For the purposes of this definition, |
14 | 19 | "control" means (i) the power, direct or indirect, to cause the |
15 | 20 | direction or management of such entity, whether by contract or |
16 | 21 | otherwise, or (ii) ownership of fifty percent (50%) or more of the |
17 | 22 | outstanding shares, or (iii) beneficial ownership of such entity. |
| 23 | + |
18 | 24 | "You" (or "Your") shall mean an individual or Legal Entity |
19 | 25 | exercising permissions granted by this License. |
| 26 | + |
20 | 27 | "Source" form shall mean the preferred form for making modifications, |
21 | 28 | including but not limited to software source code, documentation |
22 | 29 | source, and configuration files. |
| 30 | + |
23 | 31 | "Object" form shall mean any form resulting from mechanical |
24 | 32 | transformation or translation of a Source form, including but |
25 | 33 | not limited to compiled object code, generated documentation, |
26 | 34 | and conversions to other media types. |
| 35 | + |
27 | 36 | "Work" shall mean the work of authorship, whether in Source or |
28 | 37 | Object form, made available under the License, as indicated by a |
29 | 38 | copyright notice that is included in or attached to the work |
30 | 39 | (an example is provided in the Appendix below). |
| 40 | + |
31 | 41 | "Derivative Works" shall mean any work, whether in Source or Object |
32 | 42 | form, that is based on (or derived from) the Work and for which the |
33 | 43 | editorial revisions, annotations, elaborations, or other modifications |
34 | 44 | represent, as a whole, an original work of authorship. For the purposes |
35 | 45 | of this License, Derivative Works shall not include works that remain |
36 | 46 | separable from, or merely link (or bind by name) to the interfaces of, |
37 | 47 | the Work and Derivative Works thereof. |
| 48 | + |
38 | 49 | "Contribution" shall mean any work of authorship, including |
39 | 50 | the original version of the Work and any modifications or additions |
40 | 51 | to that Work or Derivative Works thereof, that is intentionally |
|
48 | 59 | Licensor for the purpose of discussing and improving the Work, but |
49 | 60 | excluding communication that is conspicuously marked or otherwise |
50 | 61 | designated in writing by the copyright owner as "Not a Contribution." |
| 62 | + |
51 | 63 | "Contributor" shall mean Licensor and any individual or Legal Entity |
52 | 64 | on behalf of whom a Contribution has been received by Licensor and |
53 | 65 | subsequently incorporated within the Work. |
| 66 | + |
54 | 67 | 2. Grant of Copyright License. Subject to the terms and conditions of |
55 | 68 | this License, each Contributor hereby grants to You a perpetual, |
56 | 69 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable |
57 | 70 | copyright license to reproduce, prepare Derivative Works of, |
58 | 71 | publicly display, publicly perform, sublicense, and distribute the |
59 | 72 | Work and such Derivative Works in Source or Object form. |
| 73 | + |
60 | 74 | 3. Grant of Patent License. Subject to the terms and conditions of |
61 | 75 | this License, each Contributor hereby grants to You a perpetual, |
62 | 76 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable |
|
72 | 86 | or contributory patent infringement, then any patent licenses |
73 | 87 | granted to You under this License for that Work shall terminate |
74 | 88 | as of the date such litigation is filed. |
| 89 | + |
75 | 90 | 4. Redistribution. You may reproduce and distribute copies of the |
76 | 91 | Work or Derivative Works thereof in any medium, with or without |
77 | 92 | modifications, and in Source or Object form, provided that You |
78 | 93 | meet the following conditions: |
| 94 | + |
79 | 95 | (a) You must give any other recipients of the Work or |
80 | 96 | Derivative Works a copy of this License; and |
| 97 | + |
81 | 98 | (b) You must cause any modified files to carry prominent notices |
82 | 99 | stating that You changed the files; and |
| 100 | + |
83 | 101 | (c) You must retain, in the Source form of any Derivative Works |
84 | 102 | that You distribute, all copyright, patent, trademark, and |
85 | 103 | attribution notices from the Source form of the Work, |
86 | 104 | excluding those notices that do not pertain to any part of |
87 | 105 | the Derivative Works; and |
| 106 | + |
88 | 107 | (d) If the Work includes a "NOTICE" text file as part of its |
89 | 108 | distribution, then any Derivative Works that You distribute must |
90 | 109 | include a readable copy of the attribution notices contained |
|
101 | 120 | or as an addendum to the NOTICE text from the Work, provided |
102 | 121 | that such additional attribution notices cannot be construed |
103 | 122 | as modifying the License. |
| 123 | + |
104 | 124 | You may add Your own copyright statement to Your modifications and |
105 | 125 | may provide additional or different license terms and conditions |
106 | 126 | for use, reproduction, or distribution of Your modifications, or |
107 | 127 | for any such Derivative Works as a whole, provided Your use, |
108 | 128 | reproduction, and distribution of the Work otherwise complies with |
109 | 129 | the conditions stated in this License. |
| 130 | + |
110 | 131 | 5. Submission of Contributions. Unless You explicitly state otherwise, |
111 | 132 | any Contribution intentionally submitted for inclusion in the Work |
112 | 133 | by You to the Licensor shall be under the terms and conditions of |
113 | 134 | this License, without any additional terms or conditions. |
114 | 135 | Notwithstanding the above, nothing herein shall supersede or modify |
115 | 136 | the terms of any separate license agreement you may have executed |
116 | 137 | with Licensor regarding such Contributions. |
| 138 | + |
117 | 139 | 6. Trademarks. This License does not grant permission to use the trade |
118 | 140 | names, trademarks, service marks, or product names of the Licensor, |
119 | 141 | except as required for reasonable and customary use in describing the |
120 | 142 | origin of the Work and reproducing the content of the NOTICE file. |
| 143 | + |
121 | 144 | 7. Disclaimer of Warranty. Unless required by applicable law or |
122 | 145 | agreed to in writing, Licensor provides the Work (and each |
123 | 146 | Contributor provides its Contributions) on an "AS IS" BASIS, |
|
127 | 150 | PARTICULAR PURPOSE. You are solely responsible for determining the |
128 | 151 | appropriateness of using or redistributing the Work and assume any |
129 | 152 | risks associated with Your exercise of permissions under this License. |
| 153 | + |
130 | 154 | 8. Limitation of Liability. In no event and under no legal theory, |
131 | 155 | whether in tort (including negligence), contract, or otherwise, |
132 | 156 | unless required by applicable law (such as deliberate and grossly |
|
138 | 162 | work stoppage, computer failure or malfunction, or any and all |
139 | 163 | other commercial damages or losses), even if such Contributor |
140 | 164 | has been advised of the possibility of such damages. |
| 165 | + |
141 | 166 | 9. Accepting Warranty or Additional Liability. While redistributing |
142 | 167 | the Work or Derivative Works thereof, You may choose to offer, |
143 | 168 | and charge a fee for, acceptance of support, warranty, indemnity, |
|
148 | 173 | defend, and hold each Contributor harmless for any liability |
149 | 174 | incurred by, or claims asserted against, such Contributor by reason |
150 | 175 | of your accepting any such warranty or additional liability. |
| 176 | + |
151 | 177 | END OF TERMS AND CONDITIONS |
| 178 | + |
152 | 179 | APPENDIX: How to apply the Apache License to your work. |
| 180 | + |
153 | 181 | To apply the Apache License to your work, attach the following |
154 | 182 | boilerplate notice, with the fields enclosed by brackets "[]" |
155 | 183 | replaced with your own identifying information. (Don't include |
|
158 | 186 | file or class name and description of purpose be included on the |
159 | 187 | same "printed page" as the copyright notice for easier |
160 | 188 | identification within third-party archives. |
| 189 | + |
161 | 190 | Copyright [yyyy] [name of copyright owner] |
| 191 | + |
162 | 192 | Licensed under the Apache License, Version 2.0 (the "License"); |
163 | 193 | you may not use this file except in compliance with the License. |
164 | 194 | You may obtain a copy of the License at |
| 195 | + |
165 | 196 | http://www.apache.org/licenses/LICENSE-2.0 |
| 197 | + |
166 | 198 | Unless required by applicable law or agreed to in writing, software |
167 | 199 | distributed under the License is distributed on an "AS IS" BASIS, |
168 | 200 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
0 commit comments