1*4882a593Smuzhiyun 2*4882a593SmuzhiyunCommon Public License Version 1.0 3*4882a593Smuzhiyun 4*4882a593SmuzhiyunTHE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC 5*4882a593SmuzhiyunLICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM 6*4882a593SmuzhiyunCONSTITUTES RECIPIENT`S ACCEPTANCE OF THIS AGREEMENT. 7*4882a593Smuzhiyun 8*4882a593Smuzhiyun1. DEFINITIONS 9*4882a593Smuzhiyun 10*4882a593Smuzhiyun"Contribution" means: 11*4882a593Smuzhiyun 12*4882a593Smuzhiyuna) in the case of the initial Contributor, the initial code and 13*4882a593Smuzhiyundocumentation distributed under this Agreement, and 14*4882a593Smuzhiyun 15*4882a593Smuzhiyunb) in the case of each subsequent Contributor: 16*4882a593Smuzhiyun 17*4882a593Smuzhiyuni) changes to the Program, and 18*4882a593Smuzhiyun 19*4882a593Smuzhiyunii) additions to the Program; 20*4882a593Smuzhiyun 21*4882a593Smuzhiyunwhere such changes and/or additions to the Program originate from and are 22*4882a593Smuzhiyundistributed by that particular Contributor. A Contribution `originates` from a 23*4882a593SmuzhiyunContributor if it was added to the Program by such Contributor itself or anyone 24*4882a593Smuzhiyunacting on such Contributor`s behalf. Contributions do not include additions to 25*4882a593Smuzhiyunthe Program which: (i) are separate modules of software distributed in 26*4882a593Smuzhiyunconjunction with the Program under their own license agreement, and (ii) are not 27*4882a593Smuzhiyunderivative works of the Program. 28*4882a593Smuzhiyun 29*4882a593Smuzhiyun"Contributor" means any person or entity that distributes the Program. 30*4882a593Smuzhiyun 31*4882a593Smuzhiyun"Licensed Patents " mean patent claims licensable by a Contributor which are 32*4882a593Smuzhiyunnecessarily infringed by the use or sale of its Contribution alone or when 33*4882a593Smuzhiyuncombined with the Program. 34*4882a593Smuzhiyun 35*4882a593Smuzhiyun"Program" means the Contributions distributed in accordance with this Agreement. 36*4882a593Smuzhiyun 37*4882a593Smuzhiyun"Recipient" means anyone who receives the Program under this Agreement, 38*4882a593Smuzhiyunincluding all Contributors. 39*4882a593Smuzhiyun 40*4882a593Smuzhiyun2. GRANT OF RIGHTS 41*4882a593Smuzhiyun 42*4882a593Smuzhiyuna) Subject to the terms of this Agreement, each Contributor hereby grants 43*4882a593SmuzhiyunRecipient a non-exclusive, worldwide, royalty-free copyright license to 44*4882a593Smuzhiyunreproduce, prepare derivative works of, publicly display, publicly perform, 45*4882a593Smuzhiyundistribute and sublicense the Contribution of such Contributor, if any, and such 46*4882a593Smuzhiyunderivative works, in source code and object code form. 47*4882a593Smuzhiyun 48*4882a593Smuzhiyunb) Subject to the terms of this Agreement, each Contributor hereby grants 49*4882a593SmuzhiyunRecipient a non-exclusive, worldwide, royalty-free patent license under Licensed 50*4882a593SmuzhiyunPatents to make, use, sell, offer to sell, import and otherwise transfer the 51*4882a593SmuzhiyunContribution of such Contributor, if any, in source code and object code form. 52*4882a593SmuzhiyunThis patent license shall apply to the combination of the Contribution and the 53*4882a593SmuzhiyunProgram if, at the time the Contribution is added by the Contributor, such 54*4882a593Smuzhiyunaddition of the Contribution causes such combination to be covered by the 55*4882a593SmuzhiyunLicensed Patents. The patent license shall not apply to any other combinations 56*4882a593Smuzhiyunwhich include the Contribution. No hardware per se is licensed hereunder. 57*4882a593Smuzhiyun 58*4882a593Smuzhiyunc) Recipient understands that although each Contributor grants the licenses 59*4882a593Smuzhiyunto its Contributions set forth herein, no assurances are provided by any 60*4882a593SmuzhiyunContributor that the Program does not infringe the patent or other intellectual 61*4882a593Smuzhiyunproperty rights of any other entity. Each Contributor disclaims any liability to 62*4882a593SmuzhiyunRecipient for claims brought by any other entity based on infringement of 63*4882a593Smuzhiyunintellectual property rights or otherwise. As a condition to exercising the 64*4882a593Smuzhiyunrights and licenses granted hereunder, each Recipient hereby assumes sole 65*4882a593Smuzhiyunresponsibility to secure any other intellectual property rights needed, if any. 66*4882a593SmuzhiyunFor example, if a third party patent license is required to allow Recipient to 67*4882a593Smuzhiyundistribute the Program, it is Recipient`s responsibility to acquire that license 68*4882a593Smuzhiyunbefore distributing the Program. 69*4882a593Smuzhiyun 70*4882a593Smuzhiyund) Each Contributor represents that to its knowledge it has sufficient 71*4882a593Smuzhiyuncopyright rights in its Contribution, if any, to grant the copyright license set 72*4882a593Smuzhiyunforth in this Agreement. 73*4882a593Smuzhiyun 74*4882a593Smuzhiyun3. REQUIREMENTS 75*4882a593Smuzhiyun 76*4882a593SmuzhiyunA Contributor may choose to distribute the Program in object code form under its 77*4882a593Smuzhiyunown license agreement, provided that: 78*4882a593Smuzhiyun 79*4882a593Smuzhiyuna) it complies with the terms and conditions of this Agreement; and 80*4882a593Smuzhiyun 81*4882a593Smuzhiyunb) its license agreement: 82*4882a593Smuzhiyun 83*4882a593Smuzhiyuni) effectively disclaims on behalf of all Contributors all warranties and 84*4882a593Smuzhiyunconditions, express and implied, including warranties or conditions of title and 85*4882a593Smuzhiyunnon-infringement, and implied warranties or conditions of merchantability and 86*4882a593Smuzhiyunfitness for a particular purpose; 87*4882a593Smuzhiyun 88*4882a593Smuzhiyunii) effectively excludes on behalf of all Contributors all liability for 89*4882a593Smuzhiyundamages, including direct, indirect, special, incidental and consequential 90*4882a593Smuzhiyundamages, such as lost profits; 91*4882a593Smuzhiyun 92*4882a593Smuzhiyuniii) states that any provisions which differ from this Agreement are offered 93*4882a593Smuzhiyunby that Contributor alone and not by any other party; and 94*4882a593Smuzhiyun 95*4882a593Smuzhiyuniv) states that source code for the Program is available from such 96*4882a593SmuzhiyunContributor, and informs licensees how to obtain it in a reasonable manner on or 97*4882a593Smuzhiyunthrough a medium customarily used for software exchange. 98*4882a593Smuzhiyun 99*4882a593SmuzhiyunWhen the Program is made available in source code form: 100*4882a593Smuzhiyun 101*4882a593Smuzhiyuna) it must be made available under this Agreement; and 102*4882a593Smuzhiyun 103*4882a593Smuzhiyunb) a copy of this Agreement must be included with each copy of the Program. 104*4882a593Smuzhiyun 105*4882a593SmuzhiyunContributors may not remove or alter any copyright notices contained within the 106*4882a593SmuzhiyunProgram. 107*4882a593Smuzhiyun 108*4882a593SmuzhiyunEach Contributor must identify itself as the originator of its Contribution, if 109*4882a593Smuzhiyunany, in a manner that reasonably allows subsequent Recipients to identify the 110*4882a593Smuzhiyunoriginator of the Contribution. 111*4882a593Smuzhiyun 112*4882a593Smuzhiyun4. COMMERCIAL DISTRIBUTION 113*4882a593Smuzhiyun 114*4882a593SmuzhiyunCommercial distributors of software may accept certain responsibilities with 115*4882a593Smuzhiyunrespect to end users, business partners and the like. While this license is 116*4882a593Smuzhiyunintended to facilitate the commercial use of the Program, the Contributor who 117*4882a593Smuzhiyunincludes the Program in a commercial product offering should do so in a manner 118*4882a593Smuzhiyunwhich does not create potential liability for other Contributors. Therefore, if 119*4882a593Smuzhiyuna Contributor includes the Program in a commercial product offering, such 120*4882a593SmuzhiyunContributor ("Commercial Contributor") hereby agrees to defend and indemnify 121*4882a593Smuzhiyunevery other Contributor ("Indemnified Contributor") against any losses, damages 122*4882a593Smuzhiyunand costs (collectively "Losses") arising from claims, lawsuits and other legal 123*4882a593Smuzhiyunactions brought by a third party against the Indemnified Contributor to the 124*4882a593Smuzhiyunextent caused by the acts or omissions of such Commercial Contributor in 125*4882a593Smuzhiyunconnection with its distribution of the Program in a commercial product 126*4882a593Smuzhiyunoffering. The obligations in this section do not apply to any claims or Losses 127*4882a593Smuzhiyunrelating to any actual or alleged intellectual property infringement. In order 128*4882a593Smuzhiyunto qualify, an Indemnified Contributor must: a) promptly notify the Commercial 129*4882a593SmuzhiyunContributor in writing of such claim, and b) allow the Commercial Contributor to 130*4882a593Smuzhiyuncontrol, and cooperate with the Commercial Contributor in, the defense and any 131*4882a593Smuzhiyunrelated settlement negotiations. The Indemnified Contributor may participate in 132*4882a593Smuzhiyunany such claim at its own expense. 133*4882a593Smuzhiyun 134*4882a593SmuzhiyunFor example, a Contributor might include the Program in a commercial product 135*4882a593Smuzhiyunoffering, Product X. That Contributor is then a Commercial Contributor. If that 136*4882a593SmuzhiyunCommercial Contributor then makes performance claims, or offers warranties 137*4882a593Smuzhiyunrelated to Product X, those performance claims and warranties are such 138*4882a593SmuzhiyunCommercial Contributor`s responsibility alone. Under this section, the 139*4882a593SmuzhiyunCommercial Contributor would have to defend claims against the other 140*4882a593SmuzhiyunContributors related to those performance claims and warranties, and if a court 141*4882a593Smuzhiyunrequires any other Contributor to pay any damages as a result, the Commercial 142*4882a593SmuzhiyunContributor must pay those damages. 143*4882a593Smuzhiyun 144*4882a593Smuzhiyun5. NO WARRANTY 145*4882a593Smuzhiyun 146*4882a593SmuzhiyunEXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN 147*4882a593Smuzhiyun"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR 148*4882a593SmuzhiyunIMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, 149*4882a593SmuzhiyunNON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each 150*4882a593SmuzhiyunRecipient is solely responsible for determining the appropriateness of using and 151*4882a593Smuzhiyundistributing the Program and assumes all risks associated with its exercise of 152*4882a593Smuzhiyunrights under this Agreement, including but not limited to the risks and costs of 153*4882a593Smuzhiyunprogram errors, compliance with applicable laws, damage to or loss of data, 154*4882a593Smuzhiyunprograms or equipment, and unavailability or interruption of operations. 155*4882a593Smuzhiyun 156*4882a593Smuzhiyun6. DISCLAIMER OF LIABILITY 157*4882a593Smuzhiyun 158*4882a593SmuzhiyunEXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY 159*4882a593SmuzhiyunCONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, 160*4882a593SmuzhiyunSPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST 161*4882a593SmuzhiyunPROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 162*4882a593SmuzhiyunSTRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 163*4882a593SmuzhiyunOUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS 164*4882a593SmuzhiyunGRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 165*4882a593Smuzhiyun 166*4882a593Smuzhiyun7. GENERAL 167*4882a593Smuzhiyun 168*4882a593SmuzhiyunIf any provision of this Agreement is invalid or unenforceable under applicable 169*4882a593Smuzhiyunlaw, it shall not affect the validity or enforceability of the remainder of the 170*4882a593Smuzhiyunterms of this Agreement, and without further action by the parties hereto, such 171*4882a593Smuzhiyunprovision shall be reformed to the minimum extent necessary to make such 172*4882a593Smuzhiyunprovision valid and enforceable. 173*4882a593Smuzhiyun 174*4882a593SmuzhiyunIf Recipient institutes patent litigation against a Contributor with respect to 175*4882a593Smuzhiyuna patent applicable to software (including a cross-claim or counterclaim in a 176*4882a593Smuzhiyunlawsuit), then any patent licenses granted by that Contributor to such Recipient 177*4882a593Smuzhiyununder this Agreement shall terminate as of the date such litigation is filed. In 178*4882a593Smuzhiyunaddition, if Recipient institutes patent litigation against any entity 179*4882a593Smuzhiyun(including a cross-claim or counterclaim in a lawsuit) alleging that the Program 180*4882a593Smuzhiyunitself (excluding combinations of the Program with other software or hardware) 181*4882a593Smuzhiyuninfringes such Recipient`s patent(s), then such Recipient`s rights granted under 182*4882a593SmuzhiyunSection 2(b) shall terminate as of the date such litigation is filed. 183*4882a593Smuzhiyun 184*4882a593SmuzhiyunAll Recipient`s rights under this Agreement shall terminate if it fails to 185*4882a593Smuzhiyuncomply with any of the material terms or conditions of this Agreement and does 186*4882a593Smuzhiyunnot cure such failure in a reasonable period of time after becoming aware of 187*4882a593Smuzhiyunsuch noncompliance. If all Recipient`s rights under this Agreement terminate, 188*4882a593SmuzhiyunRecipient agrees to cease use and distribution of the Program as soon as 189*4882a593Smuzhiyunreasonably practicable. However, Recipient`s obligations under this Agreement 190*4882a593Smuzhiyunand any licenses granted by Recipient relating to the Program shall continue and 191*4882a593Smuzhiyunsurvive. 192*4882a593Smuzhiyun 193*4882a593SmuzhiyunEveryone is permitted to copy and distribute copies of this Agreement, but in 194*4882a593Smuzhiyunorder to avoid inconsistency the Agreement is copyrighted and may only be 195*4882a593Smuzhiyunmodified in the following manner. The Agreement Steward reserves the right to 196*4882a593Smuzhiyunpublish new versions (including revisions) of this Agreement from time to time. 197*4882a593SmuzhiyunNo one other than the Agreement Steward has the right to modify this Agreement. 198*4882a593SmuzhiyunIBM is the initial Agreement Steward. IBM may assign the responsibility to serve 199*4882a593Smuzhiyunas the Agreement Steward to a suitable separate entity. Each new version of the 200*4882a593SmuzhiyunAgreement will be given a distinguishing version number. The Program (including 201*4882a593SmuzhiyunContributions) may always be distributed subject to the version of the Agreement 202*4882a593Smuzhiyununder which it was received. In addition, after a new version of the Agreement 203*4882a593Smuzhiyunis published, Contributor may elect to distribute the Program (including its 204*4882a593SmuzhiyunContributions) under the new version. Except as expressly stated in Sections 205*4882a593Smuzhiyun2(a) and 2(b) above, Recipient receives no rights or licenses to the 206*4882a593Smuzhiyunintellectual property of any Contributor under this Agreement, whether 207*4882a593Smuzhiyunexpressly, by implication, estoppel or otherwise. All rights in the Program not 208*4882a593Smuzhiyunexpressly granted under this Agreement are reserved. 209*4882a593Smuzhiyun 210*4882a593SmuzhiyunThis Agreement is governed by the laws of the State of New York and the 211*4882a593Smuzhiyunintellectual property laws of the United States of America. No party to this 212*4882a593SmuzhiyunAgreement will bring a legal action under this Agreement more than one year 213*4882a593Smuzhiyunafter the cause of action arose. Each party waives its rights to a jury trial in 214*4882a593Smuzhiyunany resulting litigation. 215*4882a593Smuzhiyun 216