|
1 | | -SONAR Source-Available License v1.0 |
2 | | -Last Updated November 13, 2024 |
3 | | - |
4 | | -1. DEFINITIONS |
5 | | - |
6 | | -"Agreement" means this Sonar Source-Available License v1.0 |
7 | | - |
8 | | -"Competing" means marketing a product or service as a substitute for the |
9 | | -functionality or value of SonarQube. A product or service may compete regardless |
10 | | -of how it is designed or deployed. For example, a product or service may compete |
11 | | -even if it provides its functionality via any kind of interface (including |
12 | | -services, libraries, or plug-ins), even if it is ported to a different platform |
13 | | -or programming language, and even if it is provided free of charge. |
14 | | - |
15 | | -"Contribution" means: |
16 | | - |
17 | | - a) in the case of the initial Contributor, the initial content Distributed under |
18 | | -this Agreement, and |
19 | | - |
20 | | - b) in the case of each subsequent Contributor: |
21 | | - i) changes to the Program, and |
22 | | - ii) additions to the Program; |
23 | | - |
24 | | -where such changes and/or additions to the Program originate from and are |
25 | | -Distributed by that particular Contributor. A Contribution "originates" from a |
26 | | -Contributor if it was added to the Program by such Contributor itself or anyone |
27 | | -acting on such Contributor's behalf. Contributions do not include changes or |
28 | | -additions to the Program that are not Modified Works. |
29 | | - |
30 | | -"Contributor" means any person or entity that Distributes the Program. |
31 | | - |
32 | | -"Derivative Works" shall mean any work, whether in Source Code or other form, |
33 | | -that is based on (or derived from) the Program and for which the editorial |
34 | | -revisions, annotations, elaborations, or other modifications represent, as a |
35 | | -whole, an original work of authorship. |
36 | | - |
37 | | -"Distribute" means the acts of a) distributing or b) making available in any |
38 | | -manner that enables the transfer of a copy. |
39 | | - |
40 | | -"Licensed Patents" mean patent claims licensable by a Contributor that are |
41 | | -necessarily infringed by the use or sale of its Contribution alone or when |
42 | | -combined with the Program. |
43 | | - |
44 | | -"Modified Works" shall mean any work in Source Code or other form that results |
45 | | -from an addition to, deletion from, or modification of the contents of the |
46 | | -Program, including, for purposes of clarity, any new file in Source Code form |
47 | | -that contains any contents of the Program. Modified Works shall not include |
48 | | -works that contain only declarations, interfaces, types, classes, structures, or |
49 | | -files of the Program solely in each case in order to link to, bind by name, or |
50 | | -subclass the Program or Modified Works thereof. |
51 | | - |
52 | | -"Non-competitive Purpose" means any purpose except for (a) providing to others |
53 | | -any product or service that includes or offers the same or substantially similar |
54 | | -functionality as SonarQube, (b) Competing with SonarQube, and/or (c) employing, |
55 | | -using, or engaging artificial intelligence technology that is not part of the |
56 | | -Program to ingest, interpret, analyze, train on, or interact with the data |
57 | | -provided by the Program, or to engage with the Program in any manner. |
58 | | - |
59 | | -"Notices" means any legal statements or attributions included with the Program, |
60 | | -including, without limitation, statements concerning copyright, patent, |
61 | | -trademark, disclaimers of warranty, or limitations of liability |
62 | | - |
63 | | -"Program" means the Contributions Distributed in accordance with this Agreement. |
64 | | - |
65 | | -"Recipient" means anyone who receives the Program under this Agreement, |
66 | | -including Contributors. |
67 | | - |
68 | | -"SonarQube" means an open-source or commercial edition of software offered by |
69 | | -SonarSource that is branded "SonarQube". |
70 | | - |
71 | | -"SonarSource" means SonarSource SA, a Swiss company registered in Switzerland |
72 | | -under UID No. CHE-114.587.664. |
73 | | - |
74 | | -"Source Code" means the form of a Program preferred for making modifications, |
75 | | -including but not limited to software source code, documentation source, and |
76 | | -configuration files. |
77 | | - |
78 | | -2. GRANT OF RIGHTS |
79 | | - |
80 | | - a) Subject to the terms of this Agreement, each Contributor hereby grants |
81 | | -Recipient a non-exclusive, worldwide, royalty-free copyright license, for any |
82 | | -Non-competitive Purpose, to reproduce, prepare Derivative Works of, publicly |
83 | | -display, publicly perform, Distribute and sublicense the Contribution of such |
84 | | -Contributor, if any, and such Derivative Works. |
85 | | - |
86 | | - b) Subject to the terms of this Agreement, each Contributor hereby grants |
87 | | -Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed |
88 | | -Patents, for any Non-competitive Purpose, to make, use, sell, offer to sell, |
89 | | -import, and otherwise transfer the Contribution of such Contributor, if any, in |
90 | | -Source Code or other form. This patent license shall apply to the combination of |
91 | | -the Contribution and the Program if, at the time the Contribution is added by |
92 | | -the Contributor, such addition of the Contribution causes such combination to be |
93 | | -covered by the Licensed Patents. The patent license shall not apply to any other |
94 | | -combinations that include the Contribution. |
95 | | - |
96 | | - c) Recipient understands that although each Contributor grants the licenses to |
97 | | -its Contributions set forth herein, no assurances are provided by any |
98 | | -Contributor that the Program does not infringe the patent or other intellectual |
99 | | -property rights of any other entity. Each Contributor disclaims any liability to |
100 | | -Recipient for claims brought by any other entity based on infringement of |
101 | | -intellectual property rights or otherwise. As a condition to exercising the |
102 | | -rights and licenses granted hereunder, each Recipient hereby assumes sole |
103 | | -responsibility to secure any other intellectual property rights needed, if any. |
104 | | -For example, if a third-party patent license is required to allow Recipient to |
105 | | -Distribute the Program, it is Recipient's responsibility to acquire that license |
106 | | -before distributing the Program. |
107 | | - |
108 | | - d) Each Contributor represents that to its knowledge it has sufficient copyright |
109 | | -rights in its Contribution, if any, to grant the copyright license set forth in |
110 | | -this Agreement. |
111 | | - |
112 | | -3. REQUIREMENTS |
113 | | - |
114 | | -3.1 If a Contributor Distributes the Program in any form, then the Program must |
115 | | -also be made available as Source Code, in accordance with section 3.2, and the |
116 | | -Contributor must accompany the Program with a statement that the Source Code for |
117 | | -the Program is available under this Agreement, and inform Recipients how to |
118 | | -obtain it in a reasonable manner on or through a medium customarily used for |
119 | | -software exchange; and |
120 | | - |
121 | | -3.2 When the Program is Distributed as Source Code: |
122 | | - |
123 | | - a) it must be made available under this Agreement, and |
124 | | - |
125 | | - b) a copy of this Agreement must be included with each copy of the Program. |
126 | | - |
127 | | -3.3 Contributors may not remove or alter any Notices contained within the |
128 | | -Program from any copy of the Program which they Distribute, provided that |
129 | | -Contributors may add their own appropriate Notices. |
130 | | - |
131 | | -4. NO WARRANTY |
132 | | - |
133 | | -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, AND TO THE EXTENT PERMITTED BY |
134 | | -APPLICABLE LAW, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES |
135 | | -OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT |
136 | | -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, |
137 | | -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely |
138 | | -responsible for determining the appropriateness of using and distributing the |
139 | | -Program and assumes all risks associated with its exercise of rights under this |
140 | | -Agreement, including but not limited to the risks and costs of program errors, |
141 | | -compliance with applicable laws, damage to or loss of data, programs or |
142 | | -equipment, and unavailability or interruption of operations. |
143 | | - |
144 | | -5. DISCLAIMER OF LIABILITY |
145 | | - |
146 | | -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, AND TO THE EXTENT PERMITTED BY |
147 | | -APPLICABLE LAW, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY |
148 | | -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
149 | | -DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY |
150 | | -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING |
151 | | -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF |
152 | | -THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF |
153 | | -THE POSSIBILITY OF SUCH DAMAGES. |
154 | | - |
155 | | -6. GENERAL |
156 | | - |
157 | | -If any provision of this Agreement is invalid or unenforceable under applicable |
158 | | -law, it shall not affect the validity or enforceability of the remainder of the |
159 | | -terms of this Agreement, and without further action by the parties hereto, such |
160 | | -provision shall be reformed to the minimum extent necessary to make such |
161 | | -provision valid and enforceable. |
162 | | - |
163 | | -If Recipient institutes patent litigation against any entity (including a |
164 | | -cross-claim or counterclaim in a lawsuit) alleging that the Program itself |
165 | | -(excluding combinations of the Program with other software or hardware) |
166 | | -infringes such Recipient’s patent(s), then such Recipient’s rights granted under |
167 | | -Section 2(b) shall terminate as of the date such litigation is filed. |
168 | | - |
169 | | -All Recipient’s rights under this Agreement shall terminate if it fails to |
170 | | -comply with any of the material terms or conditions of this Agreement and does |
171 | | -not cure such failure in a reasonable period of time after becoming aware of |
172 | | -such noncompliance. If all Recipient’s rights under this Agreement terminate, |
173 | | -Recipient agrees to cease use and distribution of the Program as soon as |
174 | | -reasonably practicable. However, Recipient’s obligations under this Agreement |
175 | | -and any licenses granted by Recipient relating to the Program shall continue and |
176 | | -survive. |
177 | | - |
178 | | -Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives |
179 | | -no rights or licenses to the intellectual property of any Contributor under this |
180 | | -Agreement, whether expressly, by implication, estoppel, or otherwise. All rights |
181 | | -in the Program not expressly granted under this Agreement are reserved. Nothing |
182 | | -in this Agreement is intended to be enforceable by any entity that is not a |
183 | | -Contributor or Recipient. No third-party beneficiary rights are created under |
184 | | -this Agreement. |
| 1 | +The MIT License (MIT) |
| 2 | + |
| 3 | +Copyright (c) 2025 SonarSource |
| 4 | +mailto:info AT sonarsource DOT com |
| 5 | + |
| 6 | +Permission is hereby granted, free of charge, to any person obtaining a copy |
| 7 | +of this software and associated documentation files (the "Software"), to deal |
| 8 | +in the Software without restriction, including without limitation the rights |
| 9 | +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| 10 | +copies of the Software, and to permit persons to whom the Software is |
| 11 | +furnished to do so, subject to the following conditions: |
| 12 | + |
| 13 | +The above copyright notice and this permission notice shall be included in all |
| 14 | +copies or substantial portions of the Software. |
| 15 | + |
| 16 | +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 17 | +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 18 | +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
| 19 | +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| 20 | +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
| 21 | +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
| 22 | +SOFTWARE. |
0 commit comments