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