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