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