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