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