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