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