Blame SOURCES/cpl-v10.txt

426a5a
*Common Public License - v 1.0*
426a5a
426a5a
*Updated 16 Apr 2009*
426a5a
426a5a
*As of 25 Feb 2009, IBM has assigned the Agreement Steward role for the
426a5a
CPL to the Eclipse Foundation. Eclipse has designated the Eclipse Public
426a5a
License (EPL) as the follow-on version of the CPL.*
426a5a
426a5a
**
426a5a
426a5a
THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON
426a5a
PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF
426a5a
THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
426a5a
426a5a
*1. DEFINITIONS*
426a5a
426a5a
"Contribution" means:
426a5a
426a5a
    a) in the case of the initial Contributor, the initial code and
426a5a
    documentation distributed under this Agreement, and
426a5a
    b) in the case of each subsequent Contributor:
426a5a
426a5a
    i) changes to the Program, and
426a5a
426a5a
    ii) additions to the Program;
426a5a
426a5a
    where such changes and/or additions to the Program originate from
426a5a
    and are distributed by that particular Contributor. A Contribution
426a5a
    'originates' from a Contributor if it was added to the Program by
426a5a
    such Contributor itself or anyone acting on such Contributor's
426a5a
    behalf. Contributions do not include additions to the Program which:
426a5a
    (i) are separate modules of software distributed in conjunction with
426a5a
    the Program under their own license agreement, and (ii) are not
426a5a
    derivative works of the Program. 
426a5a
426a5a
"Contributor" means any person or entity that distributes the Program.
426a5a
426a5a
"Licensed Patents " mean patent claims licensable by a Contributor which
426a5a
are necessarily infringed by the use or sale of its Contribution alone
426a5a
or when combined with the Program.
426a5a
426a5a
"Program" means the Contributions distributed in accordance with this
426a5a
Agreement.
426a5a
426a5a
"Recipient" means anyone who receives the Program under this Agreement,
426a5a
including all Contributors.
426a5a
426a5a
**
426a5a
426a5a
*2. GRANT OF RIGHTS*
426a5a
426a5a
    a) Subject to the terms of this Agreement, each Contributor hereby
426a5a
    grantsRecipient a non-exclusive, worldwide, royalty-free copyright
426a5a
    license toreproduce, prepare derivative works of, publicly display,
426a5a
    publicly perform, distribute and sublicense the Contribution of such
426a5a
    Contributor, if any, and such derivative works, in source code and
426a5a
    object code form.
426a5a
426a5a
    b) Subject to the terms of this Agreement, each Contributor hereby
426a5a
    grants Recipient a non-exclusive, worldwide,royalty-free patent
426a5a
    license under Licensed Patents to make, use, sell, offer to sell,
426a5a
    import and otherwise transfer the Contribution of such Contributor,
426a5a
    if any, in source code and object code form. This patent license
426a5a
    shall apply to the combination of the Contribution and the Program
426a5a
    if, at the time the Contribution is added by the Contributor, such
426a5a
    addition of the Contribution causes such combination to be covered
426a5a
    by the Licensed Patents. The patent license shall not apply to any
426a5a
    other combinations which include the Contribution. No hardware per
426a5a
    se is licensed hereunder. 
426a5a
426a5a
    c) Recipient understands that although each Contributor grants the
426a5a
    licenses to its Contributions set forth herein, no assurances are
426a5a
    provided by any Contributor that the Program does not infringe the
426a5a
    patent or other intellectual property rights of any other entity.
426a5a
    Each Contributor disclaims any liability to Recipient for claims
426a5a
    brought by any other entity based on infringement of intellectual
426a5a
    property rights or otherwise. As a condition to exercising the
426a5a
    rights and licenses granted hereunder, each Recipient hereby assumes
426a5a
    sole responsibility to secure any other intellectual property rights
426a5a
    needed, if any. For example, if a third party patent license is
426a5a
    required to allow Recipient to distribute the Program, it is
426a5a
    Recipient's responsibility to acquire that license before
426a5a
    distributing the Program.
426a5a
426a5a
    d) Each Contributor represents that to its knowledge it has
426a5a
    sufficient copyright rights in its Contribution, if any, to grant
426a5a
    the copyright license set forth in this Agreement. 
426a5a
426a5a
*3. REQUIREMENTS*
426a5a
426a5a
**A Contributor may choose to distribute the Program in object code form
426a5a
under its own license agreement, provided that:
426a5a
426a5a
    a) it complies with the terms and conditions of this Agreement; and
426a5a
426a5a
    b) its license agreement:
426a5a
426a5a
    i) effectively disclaimson behalf of all Contributors all warranties
426a5a
    and conditions, express and implied, including warranties or
426a5a
    conditions of title and non-infringement, and implied warranties or
426a5a
    conditions of merchantability and fitness for a particular purpose; 
426a5a
426a5a
    ii) effectively excludes on behalf of all Contributors all liability
426a5a
    for damages, including direct, indirect, special, incidental and
426a5a
    consequential damages, such as lost profits; 
426a5a
426a5a
    iii)states that any provisions which differ from this Agreement are
426a5a
    offered by that Contributor alone and not by any other party; and
426a5a
426a5a
    iv) states that source code for the Program is available from such
426a5a
    Contributor, and informs licensees how to obtain it in a reasonable
426a5a
    manner on or through a medium customarily used for software exchange.
426a5a
426a5a
When the Program is made available in source code form:
426a5a
426a5a
    a) it must be made available under this Agreement; and 
426a5a
426a5a
    b) a copy of this Agreement must be included with each copy of the
426a5a
    Program. 
426a5a
426a5a
Contributors may not remove or alter any copyright notices contained
426a5a
within the Program.
426a5a
426a5a
Each Contributor must identify itself as the originator of its
426a5a
Contribution, if any, in a manner that reasonably allows subsequent
426a5a
Recipients to identify the originator of the Contribution.
426a5a
426a5a
*4. COMMERCIAL DISTRIBUTION*
426a5a
426a5a
Commercial distributors of software may accept certain responsibilities
426a5a
with respect to end users, business partners and the like. While this
426a5a
license is intended to facilitate the commercial use of the Program, the
426a5a
Contributor who includes the Program in a commercial product offering
426a5a
should do so in a manner which does not create potential liability for
426a5a
other Contributors. Therefore, if a Contributor includes the Program in
426a5a
a commercial product offering, such Contributor ("Commercial
426a5a
Contributor") hereby agrees to defend and indemnify every other
426a5a
Contributor ("Indemnified Contributor") against any losses, damages and
426a5a
costs (collectively "Losses") arising from claims, lawsuits and other
426a5a
legal actions brought by a third party against the Indemnified
426a5a
Contributor to the extent caused by the acts or omissions of such
426a5a
Commercial Contributor in connection with its distribution of the
426a5a
Program in a commercial product offering. The obligations in this
426a5a
section do not apply to any claims or Losses relating to any actual or
426a5a
alleged intellectual property infringement. In order to qualify, an
426a5a
Indemnified Contributor must: a) promptly notify the Commercial
426a5a
Contributor in writing of such claim, and b) allow the Commercial
426a5a
Contributor to control, and cooperate with the Commercial Contributor
426a5a
in, the defense and any related settlement negotiations. The Indemnified
426a5a
Contributor may participate in any such claim at its own expense.
426a5a
426a5a
For example, a Contributor might include the Program in a commercial
426a5a
product offering, Product X. That Contributor is then a Commercial
426a5a
Contributor. If that Commercial Contributor then makes performance
426a5a
claims, or offers warranties related to Product X, those performance
426a5a
claims and warranties are such Commercial Contributor's responsibility
426a5a
alone. Under this section, the Commercial Contributor would have to
426a5a
defend claims against the other Contributors related to those
426a5a
performance claims and warranties, and if a court requires any other
426a5a
Contributor to pay any damages as a result, the Commercial Contributor
426a5a
must pay those damages.
426a5a
426a5a
*5. NO WARRANTY*
426a5a
426a5a
EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED
426a5a
ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
426a5a
EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES
426a5a
OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR
426a5a
A PARTICULAR PURPOSE. Each Recipient issolely responsible for
426a5a
determining the appropriateness of using and distributing the Programand
426a5a
assumes all risks associated with its exercise of rights under this
426a5a
Agreement, including but not limited to the risks and costs of program
426a5a
errors, compliance with applicable laws, damage to or loss of data,
426a5a
programs or equipment, and unavailability or interruption of operations.
426a5a
426a5a
*6. DISCLAIMER OF LIABILITY*
426a5a
426a5a
EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR
426a5a
ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT,
426a5a
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING
426a5a
WITHOUT LIMITATION LOST PROFITS),HOWEVER CAUSED AND ON ANY THEORY OF
426a5a
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
426a5a
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR
426a5a
DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED
426a5a
HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
426a5a
426a5a
*7. GENERAL*
426a5a
426a5a
If any provision of this Agreement is invalid or unenforceable under
426a5a
applicable law, it shall not affect the validity or enforceability of
426a5a
the remainder of the terms of this Agreement, and without further action
426a5a
by the parties hereto, such provision shall be reformed to the minimum
426a5a
extent necessary to make such provision valid and enforceable.
426a5a
426a5a
If Recipient institutes patent litigation against a Contributor with
426a5a
respect to a patent applicable to software (including a cross-claim or
426a5a
counterclaim in a lawsuit), then any patent licenses granted by that
426a5a
Contributor to such Recipient under this Agreement shall terminate as of
426a5a
the date such litigation is filed. In addition, if Recipient institutes
426a5a
patent litigation against any entity (including a cross-claim or
426a5a
counterclaim in a lawsuit) alleging that the Program itself (excluding
426a5a
combinations of the Program with other software or hardware) infringes
426a5a
such Recipient's patent(s), then such Recipient's rights granted under
426a5a
Section 2(b) shall terminate as of the date such litigation is filed.
426a5a
426a5a
All Recipient's rights under this Agreement shall terminate if it fails
426a5a
to comply with any of the material terms or conditions of this Agreement
426a5a
and does not cure such failure in a reasonable period of time after
426a5a
becoming aware of such noncompliance. If all Recipient's rights under
426a5a
this Agreement terminate, Recipient agrees to cease use and distribution
426a5a
of the Program as soon as reasonably practicable. However, Recipient's
426a5a
obligations under this Agreement and any licenses granted by Recipient
426a5a
relating to the Program shall continue and survive.
426a5a
426a5a
Everyone is permitted to copy and distribute copies of this Agreement,
426a5a
but in order to avoid inconsistency the Agreement is copyrighted and may
426a5a
only be modified in the following manner. The Agreement Steward reserves
426a5a
the right to publish new versions (including revisions) of this
426a5a
Agreement from time to time. No one other than the Agreement Steward has
426a5a
the right to modify this Agreement. IBM is the initial Agreement
426a5a
Steward. IBM may assign the responsibility to serve as the Agreement
426a5a
Steward to a suitable separate entity. Each new version of the Agreement
426a5a
will be given a distinguishing version number. The Program (including
426a5a
Contributions) may always be distributed subject to the version of the
426a5a
Agreement under which it was received. In addition, after a new version
426a5a
of the Agreement is published, Contributor may elect to distribute the
426a5a
Program (including its Contributions) under the new version. Except as
426a5a
expressly stated in Sections 2(a) and 2(b) above, Recipient receives no
426a5a
rights or licenses to the intellectual property of any Contributor under
426a5a
this Agreement, whether expressly, by implication, estoppel or
426a5a
otherwise.All rights in the Program not expressly granted under this
426a5a
Agreement are reserved.
426a5a
426a5a
This Agreement is governed by the laws of the State of New York and the
426a5a
intellectual property laws of the United States of America. No party to
426a5a
this Agreement will bring a legal action under this Agreement more than
426a5a
one year after the cause of action arose. Each party waives its rights
426a5a
to a jury trial in any resulting litigation.
426a5a