|
| 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 the |
| 13 | + 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 not |
| 32 | + limited to compiled object code, generated documentation, and |
| 33 | + conversions to other media types. |
| 34 | + |
| 35 | + "Work" shall mean the work of authorship, whether in Source or Object |
| 36 | + form, made available under the License. |
| 37 | + |
| 38 | + "Derivative Works" shall mean any work, whether in Source or Object |
| 39 | + form, that is based on (or derived from) the Work and for which the |
| 40 | + editorial revisions, annotations, elaborations, or other modifications |
| 41 | + represent, as a whole, an original work of authorship. |
| 42 | + |
| 43 | + "Contribution" shall mean any work of authorship, including the |
| 44 | + original version of the Work and any modifications or additions to |
| 45 | + that Work or Derivative Works thereof, that is intentionally |
| 46 | + submitted to Licensor for inclusion in the Work by the copyright owner |
| 47 | + or by an individual or Legal Entity authorized to submit on behalf of |
| 48 | + the copyright owner. |
| 49 | + |
| 50 | + "Contributor" shall mean Licensor and any individual or Legal Entity |
| 51 | + on behalf of which a Contribution has been received by Licensor and |
| 52 | + subsequently incorporated within the Work. |
| 53 | + |
| 54 | +2. Grant of Copyright License. |
| 55 | + |
| 56 | + Subject to the terms and conditions of this License, each Contributor |
| 57 | + hereby grants to You a perpetual, worldwide, non-exclusive, |
| 58 | + royalty-free, irrevocable copyright license to reproduce, prepare |
| 59 | + Derivative Works of, publicly display, publicly perform, sublicense, |
| 60 | + and distribute the Work and such Derivative Works in Source or Object |
| 61 | + form. |
| 62 | + |
| 63 | +3. Grant of Patent License. |
| 64 | + |
| 65 | + Subject to the terms and conditions of this License, each Contributor |
| 66 | + hereby grants to You a perpetual, worldwide, non-exclusive, |
| 67 | + royalty-free, irrevocable (except as stated in this section) patent |
| 68 | + license to make, have made, use, offer to sell, sell, import, and |
| 69 | + otherwise transfer the Work, where such license applies only to those |
| 70 | + patent claims licensable by such Contributor that are necessarily |
| 71 | + infringed by their Contribution(s) alone or by combination of their |
| 72 | + Contribution(s) with the Work to which such Contribution(s) was |
| 73 | + submitted. If You institute patent litigation against any entity |
| 74 | + (including a cross-claim or counterclaim in a lawsuit) alleging that |
| 75 | + the Work or a Contribution incorporated within the Work constitutes |
| 76 | + direct or contributory patent infringement, then any patent licenses |
| 77 | + granted to You under this License for that Work shall terminate as of |
| 78 | + the date such litigation is filed. |
| 79 | + |
| 80 | +4. Redistribution. |
| 81 | + |
| 82 | + You may reproduce and distribute copies of the Work or Derivative |
| 83 | + Works thereof in any medium, with or without modifications, and in |
| 84 | + Source or Object form, provided that You meet the following |
| 85 | + conditions: |
| 86 | + |
| 87 | + (a) You must give any other recipients of the Work or Derivative Works |
| 88 | + a copy of this License; and |
| 89 | + |
| 90 | + (b) You must cause any modified files to carry prominent notices |
| 91 | + stating that You changed the files; and |
| 92 | + |
| 93 | + (c) You must retain, in the Source form of any Derivative Works that |
| 94 | + You distribute, all copyright, patent, trademark, and attribution |
| 95 | + notices from the Source form of the Work, excluding those notices |
| 96 | + that do not pertain to any part of the Derivative Works; and |
| 97 | + |
| 98 | + (d) If the Work includes a "NOTICE" text file as part of its |
| 99 | + distribution, then any Derivative Works that You distribute must |
| 100 | + include a readable copy of the attribution notices contained |
| 101 | + within such NOTICE file, excluding those notices that do not |
| 102 | + pertain to any part of the Derivative Works, in at least one of |
| 103 | + the following places: within a NOTICE text file distributed as |
| 104 | + part of the Derivative Works; within the Source form or |
| 105 | + documentation, if provided along with the Derivative Works; or, |
| 106 | + within a display generated by the Derivative Works, if and where |
| 107 | + such display normally appears. The contents of the NOTICE file |
| 108 | + are for informational purposes only and do not modify the License. |
| 109 | + |
| 110 | + You may add Your own copyright statement to Your modifications and |
| 111 | + may provide additional or different license terms and conditions for |
| 112 | + use, reproduction, or distribution of Your modifications, or for any |
| 113 | + such Derivative Works as a whole, provided Your use, reproduction, |
| 114 | + and distribution of the Work otherwise complies with the conditions |
| 115 | + stated in this License. |
| 116 | + |
| 117 | +5. Submission of Contributions. |
| 118 | + |
| 119 | + Unless You explicitly state otherwise, any Contribution intentionally |
| 120 | + submitted for inclusion in the Work by You to the Licensor shall be |
| 121 | + under the terms and conditions of this License, without any additional |
| 122 | + terms or conditions. Notwithstanding the above, nothing herein shall |
| 123 | + supersede or modify the terms of any separate license agreement you |
| 124 | + may have executed with Licensor regarding such Contributions. |
| 125 | + |
| 126 | +6. Trademarks. |
| 127 | + |
| 128 | + This License does not grant permission to use the trade names, trademarks, |
| 129 | + service marks, or product names of the Licensor, except as required for |
| 130 | + reasonable and customary use in describing the origin of the Work and |
| 131 | + reproducing the content of the NOTICE file. |
| 132 | + |
| 133 | +7. Disclaimer of Warranty. |
| 134 | + |
| 135 | + Unless required by applicable law or agreed to in writing, Licensor |
| 136 | + provides the Work (and each Contributor provides its Contributions) |
| 137 | + on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, |
| 138 | + either express or implied, including, without limitation, any |
| 139 | + warranties or conditions of TITLE, NONINFRINGEMENT, MERCHANTABILITY, or |
| 140 | + FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for |
| 141 | + determining the appropriateness of using or redistributing the Work and |
| 142 | + assume any risks associated with Your exercise of permissions under |
| 143 | + this License. |
| 144 | + |
| 145 | +8. Limitation of Liability. |
| 146 | + |
| 147 | + In no event and under no legal theory, whether in tort (including |
| 148 | + negligence), contract, or otherwise, unless required by applicable law |
| 149 | + (such as deliberate and grossly negligent acts) or agreed to in writing, |
| 150 | + shall any Contributor be liable to You for damages, including any direct, |
| 151 | + indirect, special, incidental, or consequential damages of any character |
| 152 | + arising as a result of this License or out of the use or inability to use |
| 153 | + the Work (including but not limited to damages for loss of goodwill, work |
| 154 | + stoppage, computer failure or malfunction, or any and all other commercial |
| 155 | + damages or losses), even if such Contributor has been advised of the |
| 156 | + possibility of such damages. |
| 157 | + |
| 158 | +9. Accepting the License. |
| 159 | + |
| 160 | + You accept and agree to be bound by the terms of this License by copying, |
| 161 | + modifying, or distributing the Work (or any work based on the Work). |
| 162 | + |
0 commit comments