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