You are on page 1of 4

kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkApachekLicense kkkkkkkkkkkkkkkkkkkkkkkkkkkVersionk2.0,kJanuaryk2004 kkkkkkkkkkkkkkkkkkkkkkkkhttp://www.apache.org/licenses/ kkkTERMSkANDkCONDITIONSkFORkUSE,kREPRODUCTION,kANDkDISTRIBUTION kkk1.kDefinitions. kkkkkk"License"kshallkmeankthektermskandkconditionskforkuse,kreproduction, kkkkkkandkdistributionkaskdefinedkbykSectionsk1kthroughk9kofkthiskdocument. kkkkkk"Licensor"kshallkmeankthekcopyrightkownerkorkentitykauthorizedkby kkkkkkthekcopyrightkownerkthatkiskgrantingkthekLicense. kkkkkk"LegalkEntity"kshallkmeankthekunionkofkthekactingkentitykandkall kkkkkkotherkentitieskthatkcontrol,karekcontrolledkby,korkarekunderkcommon kkkkkkcontrolkwithkthatkentity.

kForkthekpurposeskofkthiskdefinition, kkkkkk"control"kmeansk(i)kthekpower,kdirectkorkindirect,ktokcausekthe kkkkkkdirectionkorkmanagementkofksuchkentity,kwhetherkbykcontractkor kkkkkkotherwise,kork(ii)kownershipkofkfiftykpercentk(50%)korkmorekofkthe kkkkkkoutstandingkshares,kork(iii)kbeneficialkownershipkofksuchkentity. kkkkkk"You"k(ork"Your")kshallkmeankankindividualkorkLegalkEntity kkkkkkexercisingkpermissionskgrantedkbykthiskLicense. kkkkkk"Source"kformkshallkmeankthekpreferredkformkforkma ingkmodifications, kkkkkkincludingkbutknotklimitedktoksoftwareksourcekcode,kdocumentation kkkkkksource,kandkconfigurationkfiles. kkkkkk"Object"kformkshallkmeankanykformkresultingkfromkmechanical kkkkkktransformationkorktranslationkofkakSourcekform,kincludingkbut kkkkkknotklimitedktokcompiledkobjectkcode,kgeneratedkdocumentation, kkkkkkandkconversionsktokotherkmediaktypes. kkkkkk"Wor "kshallkmeankthekwor kofkauthorship,kwhetherkinkSourcekor kkkkkkObjectkform,kmadekavailablekunderkthekLicense,kaskindicatedkbyka kkkkkkcopyrightknoticekthatkiskincludedkinkorkattachedktokthekwor kkkkkk(ankexamplekiskprovidedkinkthekAppendixkbelow). kkkkkk"DerivativekWor s"kshallkmeankanykwor ,kwhetherkinkSourcekorkObject kkkkkkform,kthatkiskbasedkonk(orkderivedkfrom)kthekWor kandkforkwhichkthe kkkkkkeditorialkrevisions,kannotations,kelaborations,korkotherkmodifications kkkkkkrepresent,kaskakwhole,kankoriginalkwor kofkauthorship.kForkthekpurposes kkkkkkofkthiskLicense,kDerivativekWor skshallknotkincludekwor skthatkremain kkkkkkseparablekfrom,korkmerelyklin k(orkbindkbykname)ktokthekinterfaceskof, kkkkkkthekWor kandkDerivativekWor skthereof. kkkkkk"Contribution"kshallkmeankanykwor kofkauthorship,kincluding kkkkkkthekoriginalkversionkofkthekWor kandkanykmodificationskorkadditions kkkkkktokthatkWor korkDerivativekWor skthereof,kthatkiskintentionally kkkkkksubmittedktokLicensorkforkinclusionkinkthekWor kbykthekcopyrightkowner kkkkkkorkbykankindividualkorkLegalkEntitykauthorizedktoksubmitkonkbehalfkof kkkkkkthekcopyrightkowner.kForkthekpurposeskofkthiskdefinition,k"submitted" kkkkkkmeanskanykformkofkelectronic,kverbal,korkwrittenkcommunicationksent kkkkkktokthekLicensorkorkitskrepresentatives,kincludingkbutknotklimitedkto kkkkkkcommunicationkonkelectronickmailingklists,ksourcekcodekcontrolksystems, kkkkkkandkissuektrac ingksystemskthatkarekmanagedkby,korkonkbehalfkof,kthe kkkkkkLicensorkforkthekpurposekofkdiscussingkandkimprovingkthekWor ,kbut kkkkkkexcludingkcommunicationkthatkiskconspicuouslykmar edkorkotherwise

kkkkkkdesignatedkinkwritingkbykthekcopyrightkownerkask"NotkakContribution." kkkkkk"Contributor"kshallkmeankLicensorkandkanykindividualkorkLegalkEntity kkkkkkonkbehalfkofkwhomkakContributionkhaskbeenkreceivedkbykLicensorkand kkkkkksubsequentlykincorporatedkwithinkthekWor . kkk2.kGrantkofkCopyrightkLicense.kSubjectktokthektermskandkconditionskof kkkkkkthiskLicense,keachkContributorkherebykgrantsktokYoukakperpetual, kkkkkkworldwide,knon-exclusive,kno-charge,kroyalty-free,kirrevocable kkkkkkcopyrightklicensektokreproduce,kpreparekDerivativekWor skof, kkkkkkpubliclykdisplay,kpubliclykperform,ksublicense,kandkdistributekthe kkkkkkWor kandksuchkDerivativekWor skinkSourcekorkObjectkform. kkk3.kGrantkofkPatentkLicense.kSubjectktokthektermskandkconditionskof kkkkkkthiskLicense,keachkContributorkherebykgrantsktokYoukakperpetual, kkkkkkworldwide,knon-exclusive,kno-charge,kroyalty-free,kirrevocable kkkkkk(exceptkaskstatedkinkthisksection)kpatentklicensektokma e,khavekmade, kkkkkkuse,kofferktoksell,ksell,kimport,kandkotherwisektransferkthekWor , kkkkkkwhereksuchklicensekapplieskonlyktokthosekpatentkclaimsklicensable kkkkkkbyksuchkContributorkthatkareknecessarilykinfringedkbyktheir kkkkkkContribution(s)kalonekorkbykcombinationkofktheirkContribution(s) kkkkkkwithkthekWor ktokwhichksuchkContribution(s)kwasksubmitted.kIfkYou kkkkkkinstitutekpatentklitigationkagainstkanykentityk(includingka kkkkkkcross-claimkorkcounterclaimkinkaklawsuit)kallegingkthatkthekWor kkkkkkorkakContributionkincorporatedkwithinkthekWor kconstituteskdirect kkkkkkorkcontributorykpatentkinfringement,kthenkanykpatentklicenses kkkkkkgrantedktokYoukunderkthiskLicensekforkthatkWor kshallkterminate kkkkkkaskofkthekdateksuchklitigationkiskfiled. kkk4.kRedistribution.kYoukmaykreproducekandkdistributekcopieskofkthe kkkkkkWor korkDerivativekWor skthereofkinkanykmedium,kwithkorkwithout kkkkkkmodifications,kandkinkSourcekorkObjectkform,kprovidedkthatkYou kkkkkkmeetkthekfollowingkconditions: kkkkkk(a)kYoukmustkgivekanykotherkrecipientskofkthekWor kor kkkkkkkkkkDerivativekWor skakcopykofkthiskLicense;kand kkkkkk(b)kYoukmustkcausekanykmodifiedkfilesktokcarrykprominentknotices kkkkkkkkkkstatingkthatkYoukchangedkthekfiles;kand kkkkkk(c)kYoukmustkretain,kinkthekSourcekformkofkanykDerivativekWor s kkkkkkkkkkthatkYoukdistribute,kallkcopyright,kpatent,ktrademar ,kand kkkkkkkkkkattributionknoticeskfromkthekSourcekformkofkthekWor , kkkkkkkkkkexcludingkthoseknoticeskthatkdoknotkpertainktokanykpartkof kkkkkkkkkkthekDerivativekWor s;kand kkkkkk(d)kIfkthekWor kincludeskak"NOTICE"ktextkfilekaskpartkofkits kkkkkkkkkkdistribution,kthenkanykDerivativekWor skthatkYoukdistributekmust kkkkkkkkkkincludekakreadablekcopykofkthekattributionknoticeskcontained kkkkkkkkkkwithinksuchkNOTICEkfile,kexcludingkthoseknoticeskthatkdoknot kkkkkkkkkkpertainktokanykpartkofkthekDerivativekWor s,kinkatkleastkone kkkkkkkkkkofkthekfollowingkplaces:kwithinkakNOTICEktextkfilekdistributed kkkkkkkkkkaskpartkofkthekDerivativekWor s;kwithinkthekSourcekformkor kkkkkkkkkkdocumentation,kifkprovidedkalongkwithkthekDerivativekWor s;kor, kkkkkkkkkkwithinkakdisplaykgeneratedkbykthekDerivativekWor s,kifkand kkkkkkkkkkwhereverksuchkthird-partyknoticesknormallykappear.kThekcontents kkkkkkkkkkofkthekNOTICEkfilekarekforkinformationalkpurposeskonlykand kkkkkkkkkkdoknotkmodifykthekLicense.kYoukmaykaddkYourkownkattribution kkkkkkkkkknoticeskwithinkDerivativekWor skthatkYoukdistribute,kalongside kkkkkkkkkkorkaskankaddendumktokthekNOTICEktextkfromkthekWor ,kprovided

kkkkkkkkkkthatksuchkadditionalkattributionknoticeskcannotkbekconstrued kkkkkkkkkkaskmodifyingkthekLicense. kkkkkkYoukmaykaddkYourkownkcopyrightkstatementktokYourkmodificationskand kkkkkkmaykprovidekadditionalkorkdifferentklicensektermskandkconditions kkkkkkforkuse,kreproduction,korkdistributionkofkYourkmodifications,kor kkkkkkforkanyksuchkDerivativekWor skaskakwhole,kprovidedkYourkuse, kkkkkkreproduction,kandkdistributionkofkthekWor kotherwisekcomplieskwith kkkkkkthekconditionskstatedkinkthiskLicense. kkk5.kSubmissionkofkContributions.kUnlesskYoukexplicitlykstatekotherwise, kkkkkkanykContributionkintentionallyksubmittedkforkinclusionkinkthekWor kkkkkkbykYouktokthekLicensorkshallkbekunderkthektermskandkconditionskof kkkkkkthiskLicense,kwithoutkanykadditionalktermskorkconditions. kkkkkkNotwithstandingkthekabove,knothingkhereinkshallksupersedekorkmodify kkkkkkthektermskofkanykseparateklicensekagreementkyoukmaykhavekexecuted kkkkkkwithkLicensorkregardingksuchkContributions. kkk6.kTrademar s.kThiskLicensekdoesknotkgrantkpermissionktokusekthektrade kkkkkknames,ktrademar s,kservicekmar s,korkproductknameskofkthekLicensor, kkkkkkexceptkaskrequiredkforkreasonablekandkcustomarykusekinkdescribingkthe kkkkkkoriginkofkthekWor kandkreproducingkthekcontentkofkthekNOTICEkfile. kkk7.kDisclaimerkofkWarranty.kUnlesskrequiredkbykapplicableklawkor kkkkkkagreedktokinkwriting,kLicensorkprovideskthekWor k(andkeach kkkkkkContributorkprovideskitskContributions)konkank"ASkIS"kBASIS, kkkkkkWITHOUTkWARRANTIESkORkCONDITIONSkOFkANYkKIND,keitherkexpresskor kkkkkkimplied,kincluding,kwithoutklimitation,kanykwarrantieskorkconditions kkkkkkofkTITLE,kNON-INFRINGEMENT,kMERCHANTABILITY,korkFITNESSkFORkA kkkkkkPARTICULARkPURPOSE.kYoukareksolelykresponsiblekforkdeterminingkthe kkkkkkappropriatenesskofkusingkorkredistributingkthekWor kandkassumekany kkkkkkris skassociatedkwithkYourkexercisekofkpermissionskunderkthiskLicense. kkk8.kLimitationkofkLiability.kInknokeventkandkunderknoklegalktheory, kkkkkkwhetherkinktortk(includingknegligence),kcontract,korkotherwise, kkkkkkunlesskrequiredkbykapplicableklawk(suchkaskdeliberatekandkgrossly kkkkkknegligentkacts)korkagreedktokinkwriting,kshallkanykContributorkbe kkkkkkliablektokYoukforkdamages,kincludingkanykdirect,kindirect,kspecial, kkkkkkincidental,korkconsequentialkdamageskofkanykcharacterkarisingkaska kkkkkkresultkofkthiskLicensekorkoutkofkthekusekorkinabilityktokusekthe kkkkkkWor k(includingkbutknotklimitedktokdamageskforklosskofkgoodwill, kkkkkkwor kstoppage,kcomputerkfailurekorkmalfunction,korkanykandkall kkkkkkotherkcommercialkdamageskorklosses),kevenkifksuchkContributor kkkkkkhaskbeenkadvisedkofkthekpossibilitykofksuchkdamages. kkk9.kAcceptingkWarrantykorkAdditionalkLiability.kWhilekredistributing kkkkkkthekWor korkDerivativekWor skthereof,kYoukmaykchoosektokoffer, kkkkkkandkchargekakfeekfor,kacceptancekofksupport,kwarranty,kindemnity, kkkkkkorkotherkliabilitykobligationskand/orkrightskconsistentkwithkthis kkkkkkLicense.kHowever,kinkacceptingksuchkobligations,kYoukmaykactkonly kkkkkkonkYourkownkbehalfkandkonkYourksolekresponsibility,knotkonkbehalf kkkkkkofkanykotherkContributor,kandkonlykifkYoukagreektokindemnify, kkkkkkdefend,kandkholdkeachkContributorkharmlesskforkanykliability kkkkkkincurredkby,korkclaimskassertedkagainst,ksuchkContributorkbykreason kkkkkkofkyourkacceptingkanyksuchkwarrantykorkadditionalkliability. kkkENDkOFkTERMSkANDkCONDITIONS kkkAPPENDIX:kHowktokapplykthekApachekLicensektokyourkwor .

kkkkkkTokapplykthekApachekLicensektokyourkwor ,kattachkthekfollowing kkkkkkboilerplateknotice,kwithkthekfieldskenclosedkbykbrac etsk"[]" kkkkkkreplacedkwithkyourkownkidentifyingkinformation.k(Don'tkinclude kkkkkkthekbrac ets!)kkThektextkshouldkbekenclosedkinkthekappropriate kkkkkkcommentksyntaxkforkthekfilekformat.kWekalsokrecommendkthatka kkkkkkfilekorkclassknamekandkdescriptionkofkpurposekbekincludedkonkthe kkkkkksamek"printedkpage"kaskthekcopyrightknoticekforkeasier kkkkkkidentificationkwithinkthird-partykarchives. kkkCopyrightk[yyyy]k[namekofkcopyrightkowner] kkkLicensedkunderkthekApachekLicense,kVersionk2.0k(thek"License"); kkkyoukmayknotkusekthiskfilekexceptkinkcompliancekwithkthekLicense. kkkYoukmaykobtainkakcopykofkthekLicensekat kkkkkkkhttp://www.apache.org/licenses/LICENSE-2.0 kkkUnlesskrequiredkbykapplicableklawkorkagreedktokinkwriting,ksoftware kkkdistributedkunderkthekLicensekiskdistributedkonkank"ASkIS"kBASIS, kkkWITHOUTkWARRANTIESkORkCONDITIONSkOFkANYkKIND,keitherkexpresskorkimplied. kkkSeekthekLicensekforkthekspecificklanguagekgoverningkpermissionskand kkklimitationskunderkthekLicense.

You might also like