1251877Speter Apache License 2251877Speter Version 2.0, January 2004 3251877Speter http://www.apache.org/licenses/ 4251877Speter 5251877Speter TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6251877Speter 7251877Speter 1. Definitions. 8251877Speter 9251877Speter "License" shall mean the terms and conditions for use, reproduction, 10251877Speter and distribution as defined by Sections 1 through 9 of this document. 11251877Speter 12251877Speter "Licensor" shall mean the copyright owner or entity authorized by 13251877Speter the copyright owner that is granting the License. 14251877Speter 15251877Speter "Legal Entity" shall mean the union of the acting entity and all 16251877Speter other entities that control, are controlled by, or are under common 17251877Speter control with that entity. For the purposes of this definition, 18251877Speter "control" means (i) the power, direct or indirect, to cause the 19251877Speter direction or management of such entity, whether by contract or 20251877Speter otherwise, or (ii) ownership of fifty percent (50%) or more of the 21251877Speter outstanding shares, or (iii) beneficial ownership of such entity. 22251877Speter 23251877Speter "You" (or "Your") shall mean an individual or Legal Entity 24251877Speter exercising permissions granted by this License. 25251877Speter 26251877Speter "Source" form shall mean the preferred form for making modifications, 27251877Speter including but not limited to software source code, documentation 28251877Speter source, and configuration files. 29251877Speter 30251877Speter "Object" form shall mean any form resulting from mechanical 31251877Speter transformation or translation of a Source form, including but 32251877Speter not limited to compiled object code, generated documentation, 33251877Speter and conversions to other media types. 34251877Speter 35251877Speter "Work" shall mean the work of authorship, whether in Source or 36251877Speter Object form, made available under the License, as indicated by a 37251877Speter copyright notice that is included in or attached to the work 38251877Speter (an example is provided in the Appendix below). 39251877Speter 40251877Speter "Derivative Works" shall mean any work, whether in Source or Object 41251877Speter form, that is based on (or derived from) the Work and for which the 42251877Speter editorial revisions, annotations, elaborations, or other modifications 43251877Speter represent, as a whole, an original work of authorship. For the purposes 44251877Speter of this License, Derivative Works shall not include works that remain 45251877Speter separable from, or merely link (or bind by name) to the interfaces of, 46251877Speter the Work and Derivative Works thereof. 47251877Speter 48251877Speter "Contribution" shall mean any work of authorship, including 49251877Speter the original version of the Work and any modifications or additions 50251877Speter to that Work or Derivative Works thereof, that is intentionally 51251877Speter submitted to Licensor for inclusion in the Work by the copyright owner 52251877Speter or by an individual or Legal Entity authorized to submit on behalf of 53251877Speter the copyright owner. For the purposes of this definition, "submitted" 54251877Speter means any form of electronic, verbal, or written communication sent 55251877Speter to the Licensor or its representatives, including but not limited to 56251877Speter communication on electronic mailing lists, source code control systems, 57251877Speter and issue tracking systems that are managed by, or on behalf of, the 58251877Speter Licensor for the purpose of discussing and improving the Work, but 59251877Speter excluding communication that is conspicuously marked or otherwise 60251877Speter designated in writing by the copyright owner as "Not a Contribution." 61251877Speter 62251877Speter "Contributor" shall mean Licensor and any individual or Legal Entity 63251877Speter on behalf of whom a Contribution has been received by Licensor and 64251877Speter subsequently incorporated within the Work. 65251877Speter 66251877Speter 2. Grant of Copyright License. Subject to the terms and conditions of 67251877Speter this License, each Contributor hereby grants to You a perpetual, 68251877Speter worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69251877Speter copyright license to reproduce, prepare Derivative Works of, 70251877Speter publicly display, publicly perform, sublicense, and distribute the 71251877Speter Work and such Derivative Works in Source or Object form. 72251877Speter 73251877Speter 3. Grant of Patent License. Subject to the terms and conditions of 74251877Speter this License, each Contributor hereby grants to You a perpetual, 75251877Speter worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76251877Speter (except as stated in this section) patent license to make, have made, 77251877Speter use, offer to sell, sell, import, and otherwise transfer the Work, 78251877Speter where such license applies only to those patent claims licensable 79251877Speter by such Contributor that are necessarily infringed by their 80251877Speter Contribution(s) alone or by combination of their Contribution(s) 81251877Speter with the Work to which such Contribution(s) was submitted. If You 82251877Speter institute patent litigation against any entity (including a 83251877Speter cross-claim or counterclaim in a lawsuit) alleging that the Work 84251877Speter or a Contribution incorporated within the Work constitutes direct 85251877Speter or contributory patent infringement, then any patent licenses 86251877Speter granted to You under this License for that Work shall terminate 87251877Speter as of the date such litigation is filed. 88251877Speter 89251877Speter 4. Redistribution. You may reproduce and distribute copies of the 90251877Speter Work or Derivative Works thereof in any medium, with or without 91251877Speter modifications, and in Source or Object form, provided that You 92251877Speter meet the following conditions: 93251877Speter 94251877Speter (a) You must give any other recipients of the Work or 95251877Speter Derivative Works a copy of this License; and 96251877Speter 97251877Speter (b) You must cause any modified files to carry prominent notices 98251877Speter stating that You changed the files; and 99251877Speter 100251877Speter (c) You must retain, in the Source form of any Derivative Works 101251877Speter that You distribute, all copyright, patent, trademark, and 102251877Speter attribution notices from the Source form of the Work, 103251877Speter excluding those notices that do not pertain to any part of 104251877Speter the Derivative Works; and 105251877Speter 106251877Speter (d) If the Work includes a "NOTICE" text file as part of its 107251877Speter distribution, then any Derivative Works that You distribute must 108251877Speter include a readable copy of the attribution notices contained 109251877Speter within such NOTICE file, excluding those notices that do not 110251877Speter pertain to any part of the Derivative Works, in at least one 111251877Speter of the following places: within a NOTICE text file distributed 112251877Speter as part of the Derivative Works; within the Source form or 113251877Speter documentation, if provided along with the Derivative Works; or, 114251877Speter within a display generated by the Derivative Works, if and 115251877Speter wherever such third-party notices normally appear. The contents 116251877Speter of the NOTICE file are for informational purposes only and 117251877Speter do not modify the License. You may add Your own attribution 118251877Speter notices within Derivative Works that You distribute, alongside 119251877Speter or as an addendum to the NOTICE text from the Work, provided 120251877Speter that such additional attribution notices cannot be construed 121251877Speter as modifying the License. 122251877Speter 123251877Speter You may add Your own copyright statement to Your modifications and 124251877Speter may provide additional or different license terms and conditions 125251877Speter for use, reproduction, or distribution of Your modifications, or 126251877Speter for any such Derivative Works as a whole, provided Your use, 127251877Speter reproduction, and distribution of the Work otherwise complies with 128251877Speter the conditions stated in this License. 129251877Speter 130251877Speter 5. Submission of Contributions. Unless You explicitly state otherwise, 131251877Speter any Contribution intentionally submitted for inclusion in the Work 132251877Speter by You to the Licensor shall be under the terms and conditions of 133251877Speter this License, without any additional terms or conditions. 134251877Speter Notwithstanding the above, nothing herein shall supersede or modify 135251877Speter the terms of any separate license agreement you may have executed 136251877Speter with Licensor regarding such Contributions. 137251877Speter 138251877Speter 6. Trademarks. This License does not grant permission to use the trade 139251877Speter names, trademarks, service marks, or product names of the Licensor, 140251877Speter except as required for reasonable and customary use in describing the 141251877Speter origin of the Work and reproducing the content of the NOTICE file. 142251877Speter 143251877Speter 7. Disclaimer of Warranty. Unless required by applicable law or 144251877Speter agreed to in writing, Licensor provides the Work (and each 145251877Speter Contributor provides its Contributions) on an "AS IS" BASIS, 146251877Speter WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147251877Speter implied, including, without limitation, any warranties or conditions 148251877Speter of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149251877Speter PARTICULAR PURPOSE. You are solely responsible for determining the 150251877Speter appropriateness of using or redistributing the Work and assume any 151251877Speter risks associated with Your exercise of permissions under this License. 152251877Speter 153251877Speter 8. Limitation of Liability. In no event and under no legal theory, 154251877Speter whether in tort (including negligence), contract, or otherwise, 155251877Speter unless required by applicable law (such as deliberate and grossly 156251877Speter negligent acts) or agreed to in writing, shall any Contributor be 157251877Speter liable to You for damages, including any direct, indirect, special, 158251877Speter incidental, or consequential damages of any character arising as a 159251877Speter result of this License or out of the use or inability to use the 160251877Speter Work (including but not limited to damages for loss of goodwill, 161251877Speter work stoppage, computer failure or malfunction, or any and all 162251877Speter other commercial damages or losses), even if such Contributor 163251877Speter has been advised of the possibility of such damages. 164251877Speter 165251877Speter 9. Accepting Warranty or Additional Liability. While redistributing 166251877Speter the Work or Derivative Works thereof, You may choose to offer, 167251877Speter and charge a fee for, acceptance of support, warranty, indemnity, 168251877Speter or other liability obligations and/or rights consistent with this 169251877Speter License. However, in accepting such obligations, You may act only 170251877Speter on Your own behalf and on Your sole responsibility, not on behalf 171251877Speter of any other Contributor, and only if You agree to indemnify, 172251877Speter defend, and hold each Contributor harmless for any liability 173251877Speter incurred by, or claims asserted against, such Contributor by reason 174251877Speter of your accepting any such warranty or additional liability. 175251877Speter 176251877Speter END OF TERMS AND CONDITIONS 177251877Speter 178251877Speter APPENDIX: How to apply the Apache License to your work. 179251877Speter 180251877Speter To apply the Apache License to your work, attach the following 181251877Speter boilerplate notice, with the fields enclosed by brackets "[]" 182251877Speter replaced with your own identifying information. (Don't include 183251877Speter the brackets!) The text should be enclosed in the appropriate 184251877Speter comment syntax for the file format. We also recommend that a 185251877Speter file or class name and description of purpose be included on the 186251877Speter same "printed page" as the copyright notice for easier 187251877Speter identification within third-party archives. 188251877Speter 189251877Speter Copyright [yyyy] [name of copyright owner] 190251877Speter 191251877Speter Licensed under the Apache License, Version 2.0 (the "License"); 192251877Speter you may not use this file except in compliance with the License. 193251877Speter You may obtain a copy of the License at 194251877Speter 195251877Speter http://www.apache.org/licenses/LICENSE-2.0 196251877Speter 197251877Speter Unless required by applicable law or agreed to in writing, software 198251877Speter distributed under the License is distributed on an "AS IS" BASIS, 199251877Speter WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200251877Speter See the License for the specific language governing permissions and 201251877Speter limitations under the License. 202