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