|
Peng Wu |
7576356 |
Apache License
|
|
Peng Wu |
7576356 |
|
|
Peng Wu |
7576356 |
Version 2.0, January 2004
|
|
Peng Wu |
7576356 |
|
|
Peng Wu |
7576356 |
http://www.apache.org/licenses/
|
|
Peng Wu |
7576356 |
|
|
Peng Wu |
7576356 |
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
Peng Wu |
7576356 |
|
|
Peng Wu |
7576356 |
1. Definitions.
|
|
Peng Wu |
7576356 |
|
|
Peng Wu |
7576356 |
"License" shall mean the terms and conditions for use, reproduction,
|
|
Peng Wu |
7576356 |
and distribution as defined by Sections 1 through 9 of this document.
|
|
Peng Wu |
7576356 |
|
|
Peng Wu |
7576356 |
"Licensor" shall mean the copyright owner or entity authorized by the
|
|
Peng Wu |
7576356 |
copyright owner that is granting the License.
|
|
Peng Wu |
7576356 |
|
|
Peng Wu |
7576356 |
"Legal Entity" shall mean the union of the acting entity and all other
|
|
Peng Wu |
7576356 |
entities that control, are controlled by, or are under common control
|
|
Peng Wu |
7576356 |
with that entity. For the purposes of this definition, "control" means
|
|
Peng Wu |
7576356 |
(i) the power, direct or indirect, to cause the direction or
|
|
Peng Wu |
7576356 |
management of such entity, whether by contract or otherwise, or (ii)
|
|
Peng Wu |
7576356 |
ownership of fifty percent (50%) or more of the outstanding shares, or
|
|
Peng Wu |
7576356 |
(iii) beneficial ownership of such entity.
|
|
Peng Wu |
7576356 |
|
|
Peng Wu |
7576356 |
"You" (or "Your") shall mean an individual or Legal Entity exercising
|
|
Peng Wu |
7576356 |
permissions granted by this License.
|
|
Peng Wu |
7576356 |
|
|
Peng Wu |
7576356 |
"Source" form shall mean the preferred form for making modifications,
|
|
Peng Wu |
7576356 |
including but not limited to software source code, documentation
|
|
Peng Wu |
7576356 |
source, and configuration files.
|
|
Peng Wu |
7576356 |
|
|
Peng Wu |
7576356 |
"Object" form shall mean any form resulting from mechanical
|
|
Peng Wu |
7576356 |
transformation or translation of a Source form, including but not
|
|
Peng Wu |
7576356 |
limited to compiled object code, generated documentation, and
|
|
Peng Wu |
7576356 |
conversions to other media types.
|
|
Peng Wu |
7576356 |
|
|
Peng Wu |
7576356 |
"Work" shall mean the work of authorship, whether in Source or Object
|
|
Peng Wu |
7576356 |
form, made available under the License, as indicated by a copyright
|
|
Peng Wu |
7576356 |
notice that is included in or attached to the work (an example is
|
|
Peng Wu |
7576356 |
provided in the Appendix below).
|
|
Peng Wu |
7576356 |
|
|
Peng Wu |
7576356 |
"Derivative Works" shall mean any work, whether in Source or Object
|
|
Peng Wu |
7576356 |
form, that is based on (or derived from) the Work and for which the
|
|
Peng Wu |
7576356 |
editorial revisions, annotations, elaborations, or other modifications
|
|
Peng Wu |
7576356 |
represent, as a whole, an original work of authorship. For the
|
|
Peng Wu |
7576356 |
purposes of this License, Derivative Works shall not include works
|
|
Peng Wu |
7576356 |
that remain separable from, or merely link (or bind by name) to the
|
|
Peng Wu |
7576356 |
interfaces of, the Work and Derivative Works thereof.
|
|
Peng Wu |
7576356 |
|
|
Peng Wu |
7576356 |
"Contribution" shall mean any work of authorship, including the
|
|
Peng Wu |
7576356 |
original version of the Work and any modifications or additions to
|
|
Peng Wu |
7576356 |
that Work or Derivative Works thereof, that is intentionally submitted
|
|
Peng Wu |
7576356 |
to Licensor for inclusion in the Work by the copyright owner or by an
|
|
Peng Wu |
7576356 |
individual or Legal Entity authorized to submit on behalf of the
|
|
Peng Wu |
7576356 |
copyright owner. For the purposes of this definition, "submitted"
|
|
Peng Wu |
7576356 |
means any form of electronic, verbal, or written communication sent to
|
|
Peng Wu |
7576356 |
the Licensor or its representatives, including but not limited to
|
|
Peng Wu |
7576356 |
communication on electronic mailing lists, source code control
|
|
Peng Wu |
7576356 |
systems, and issue tracking systems that are managed by, or on behalf
|
|
Peng Wu |
7576356 |
of, the Licensor for the purpose of discussing and improving the Work,
|
|
Peng Wu |
7576356 |
but excluding communication that is conspicuously marked or otherwise
|
|
Peng Wu |
7576356 |
designated in writing by the copyright owner as "Not a Contribution."
|
|
Peng Wu |
7576356 |
|
|
Peng Wu |
7576356 |
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
Peng Wu |
7576356 |
on behalf of whom a Contribution has been received by Licensor and
|
|
Peng Wu |
7576356 |
subsequently incorporated within the Work.
|
|
Peng Wu |
7576356 |
|
|
Peng Wu |
7576356 |
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
Peng Wu |
7576356 |
this License, each Contributor hereby grants to You a perpetual,
|
|
Peng Wu |
7576356 |
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
Peng Wu |
7576356 |
copyright license to reproduce, prepare Derivative Works of, publicly
|
|
Peng Wu |
7576356 |
display, publicly perform, sublicense, and distribute the Work and
|
|
Peng Wu |
7576356 |
such Derivative Works in Source or Object form.
|
|
Peng Wu |
7576356 |
|
|
Peng Wu |
7576356 |
3. Grant of Patent License. Subject to the terms and conditions of
|
|
Peng Wu |
7576356 |
this License, each Contributor hereby grants to You a perpetual,
|
|
Peng Wu |
7576356 |
worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except
|
|
Peng Wu |
7576356 |
as stated in this section) patent license to make, have made, use,
|
|
Peng Wu |
7576356 |
offer to sell, sell, import, and otherwise transfer the Work, where
|
|
Peng Wu |
7576356 |
such license applies only to those patent claims licensable by such
|
|
Peng Wu |
7576356 |
Contributor that are necessarily infringed by their Contribution(s)
|
|
Peng Wu |
7576356 |
alone or by combination of their Contribution(s) with the Work to
|
|
Peng Wu |
7576356 |
which such Contribution(s) was submitted. If You institute patent
|
|
Peng Wu |
7576356 |
litigation against any entity (including a cross-claim or counterclaim
|
|
Peng Wu |
7576356 |
in a lawsuit) alleging that the Work or a Contribution incorporated
|
|
Peng Wu |
7576356 |
within the Work constitutes direct or contributory patent
|
|
Peng Wu |
7576356 |
infringement, then any patent licenses granted to You under this
|
|
Peng Wu |
7576356 |
License for that Work shall terminate as of the date such litigation
|
|
Peng Wu |
7576356 |
is filed.
|
|
Peng Wu |
7576356 |
|
|
Peng Wu |
7576356 |
4. Redistribution. You may reproduce and distribute copies of the Work
|
|
Peng Wu |
7576356 |
or Derivative Works thereof in any medium, with or without
|
|
Peng Wu |
7576356 |
modifications, and in Source or Object form, provided that You meet
|
|
Peng Wu |
7576356 |
the following conditions:
|
|
Peng Wu |
7576356 |
|
|
Peng Wu |
7576356 |
You must give any other recipients of the Work or Derivative Works a
|
|
Peng Wu |
7576356 |
copy of this License; and
|
|
Peng Wu |
7576356 |
|
|
Peng Wu |
7576356 |
You must cause any modified files to carry prominent notices stating
|
|
Peng Wu |
7576356 |
that You changed the files; and
|
|
Peng Wu |
7576356 |
|
|
Peng Wu |
7576356 |
You must retain, in the Source form of any Derivative Works that You
|
|
Peng Wu |
7576356 |
distribute, all copyright, patent, trademark, and attribution notices
|
|
Peng Wu |
7576356 |
from the Source form of the Work, excluding those notices that do not
|
|
Peng Wu |
7576356 |
pertain to any part of the Derivative Works; and
|
|
Peng Wu |
7576356 |
|
|
Peng Wu |
7576356 |
If the Work includes a "NOTICE" text file as part of its distribution,
|
|
Peng Wu |
7576356 |
then any Derivative Works that You distribute must include a readable
|
|
Peng Wu |
7576356 |
copy of the attribution notices contained within such NOTICE file,
|
|
Peng Wu |
7576356 |
excluding those notices that do not pertain to any part of the
|
|
Peng Wu |
7576356 |
Derivative Works, in at least one of the following places: within a
|
|
Peng Wu |
7576356 |
NOTICE text file distributed as part of the Derivative Works; within
|
|
Peng Wu |
7576356 |
the Source form or documentation, if provided along with the
|
|
Peng Wu |
7576356 |
Derivative Works; or, within a display generated by the Derivative
|
|
Peng Wu |
7576356 |
Works, if and wherever such third-party notices normally appear. The
|
|
Peng Wu |
7576356 |
contents of the NOTICE file are for informational purposes only and do
|
|
Peng Wu |
7576356 |
not modify the License. You may add Your own attribution notices
|
|
Peng Wu |
7576356 |
within Derivative Works that You distribute, alongside or as an
|
|
Peng Wu |
7576356 |
addendum to the NOTICE text from the Work, provided that such
|
|
Peng Wu |
7576356 |
additional attribution notices cannot be construed as modifying the
|
|
Peng Wu |
7576356 |
License.
|
|
Peng Wu |
7576356 |
|
|
Peng Wu |
7576356 |
You may add Your own copyright statement to Your modifications and may
|
|
Peng Wu |
7576356 |
provide additional or different license terms and conditions for use,
|
|
Peng Wu |
7576356 |
reproduction, or distribution of Your modifications, or for any such
|
|
Peng Wu |
7576356 |
Derivative Works as a whole, provided Your use, reproduction, and
|
|
Peng Wu |
7576356 |
distribution of the Work otherwise complies with the conditions stated
|
|
Peng Wu |
7576356 |
in this License.
|
|
Peng Wu |
7576356 |
|
|
Peng Wu |
7576356 |
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
Peng Wu |
7576356 |
any Contribution intentionally submitted for inclusion in the Work by
|
|
Peng Wu |
7576356 |
You to the Licensor shall be under the terms and conditions of this
|
|
Peng Wu |
7576356 |
License, without any additional terms or conditions. Notwithstanding
|
|
Peng Wu |
7576356 |
the above, nothing herein shall supersede or modify the terms of any
|
|
Peng Wu |
7576356 |
separate license agreement you may have executed with Licensor
|
|
Peng Wu |
7576356 |
regarding such Contributions.
|
|
Peng Wu |
7576356 |
|
|
Peng Wu |
7576356 |
6. Trademarks. This License does not grant permission to use the trade
|
|
Peng Wu |
7576356 |
names, trademarks, service marks, or product names of the Licensor,
|
|
Peng Wu |
7576356 |
except as required for reasonable and customary use in describing the
|
|
Peng Wu |
7576356 |
origin of the Work and reproducing the content of the NOTICE file.
|
|
Peng Wu |
7576356 |
|
|
Peng Wu |
7576356 |
7. Disclaimer of Warranty. Unless required by applicable law or agreed
|
|
Peng Wu |
7576356 |
to in writing, Licensor provides the Work (and each Contributor
|
|
Peng Wu |
7576356 |
provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
|
Peng Wu |
7576356 |
CONDITIONS OF ANY KIND, either express or implied, including, without
|
|
Peng Wu |
7576356 |
limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT,
|
|
Peng Wu |
7576356 |
MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely
|
|
Peng Wu |
7576356 |
responsible for determining the appropriateness of using or
|
|
Peng Wu |
7576356 |
redistributing the Work and assume any risks associated with Your
|
|
Peng Wu |
7576356 |
exercise of permissions under this License.
|
|
Peng Wu |
7576356 |
|
|
Peng Wu |
7576356 |
8. Limitation of Liability. In no event and under no legal theory,
|
|
Peng Wu |
7576356 |
whether in tort (including negligence), contract, or otherwise, unless
|
|
Peng Wu |
7576356 |
required by applicable law (such as deliberate and grossly negligent
|
|
Peng Wu |
7576356 |
acts) or agreed to in writing, shall any Contributor be liable to You
|
|
Peng Wu |
7576356 |
for damages, including any direct, indirect, special, incidental, or
|
|
Peng Wu |
7576356 |
consequential damages of any character arising as a result of this
|
|
Peng Wu |
7576356 |
License or out of the use or inability to use the Work (including but
|
|
Peng Wu |
7576356 |
not limited to damages for loss of goodwill, work stoppage, computer
|
|
Peng Wu |
7576356 |
failure or malfunction, or any and all other commercial damages or
|
|
Peng Wu |
7576356 |
losses), even if such Contributor has been advised of the possibility
|
|
Peng Wu |
7576356 |
of such damages.
|
|
Peng Wu |
7576356 |
|
|
Peng Wu |
7576356 |
9. Accepting Warranty or Additional Liability. While redistributing
|
|
Peng Wu |
7576356 |
the Work or Derivative Works thereof, You may choose to offer, and
|
|
Peng Wu |
7576356 |
charge a fee for, acceptance of support, warranty, indemnity, or other
|
|
Peng Wu |
7576356 |
liability obligations and/or rights consistent with this
|
|
Peng Wu |
7576356 |
License. However, in accepting such obligations, You may act only on
|
|
Peng Wu |
7576356 |
Your own behalf and on Your sole responsibility, not on behalf of any
|
|
Peng Wu |
7576356 |
other Contributor, and only if You agree to indemnify, defend, and
|
|
Peng Wu |
7576356 |
hold each Contributor harmless for any liability incurred by, or
|
|
Peng Wu |
7576356 |
claims asserted against, such Contributor by reason of your accepting
|
|
Peng Wu |
7576356 |
any such warranty or additional liability.
|