licensee 9.14.1 → 9.15.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (86) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE.md +1 -1
  3. data/bin/licensee +1 -1
  4. data/lib/licensee.rb +1 -1
  5. data/lib/licensee/commands/detect.rb +2 -4
  6. data/lib/licensee/commands/diff.rb +1 -3
  7. data/lib/licensee/content_helper.rb +23 -27
  8. data/lib/licensee/hash_helper.rb +1 -1
  9. data/lib/licensee/license.rb +28 -14
  10. data/lib/licensee/matchers/copyright.rb +2 -7
  11. data/lib/licensee/matchers/cran.rb +1 -1
  12. data/lib/licensee/matchers/dice.rb +1 -1
  13. data/lib/licensee/project_files/license_file.rb +29 -22
  14. data/lib/licensee/project_files/project_file.rb +2 -4
  15. data/lib/licensee/project_files/readme_file.rb +1 -1
  16. data/lib/licensee/projects/fs_project.rb +1 -3
  17. data/lib/licensee/projects/git_project.rb +6 -4
  18. data/lib/licensee/projects/project.rb +11 -10
  19. data/lib/licensee/version.rb +1 -1
  20. data/licensee.gemspec +5 -4
  21. data/spec/fixture_spec.rb +2 -2
  22. data/spec/fixtures/bsd-3-authorowner/LICENSE +27 -0
  23. data/spec/fixtures/cc-by-sa-mdlinks/License.md +173 -0
  24. data/spec/fixtures/cc-by-sa-nocclicensor/License.md +425 -0
  25. data/spec/fixtures/detect.json +5 -5
  26. data/spec/fixtures/eupl-cal2017/LICENSE.txt +274 -0
  27. data/spec/fixtures/fixtures.yml +45 -25
  28. data/spec/fixtures/license-hashes.json +39 -38
  29. data/spec/fixtures/pixar-modified-apache/LICENSE.txt +174 -0
  30. data/spec/integration_spec.rb +46 -6
  31. data/spec/licensee/commands/detect_spec.rb +2 -2
  32. data/spec/licensee/content_helper_spec.rb +14 -13
  33. data/spec/licensee/license_spec.rb +5 -5
  34. data/spec/licensee/matchers/dice_matcher_spec.rb +2 -2
  35. data/spec/licensee/project_files/license_file_spec.rb +8 -2
  36. data/spec/licensee/project_spec.rb +1 -3
  37. data/spec/licensee_spec.rb +1 -1
  38. data/spec/spec_helper.rb +3 -3
  39. data/spec/vendored_license_spec.rb +1 -1
  40. data/vendor/choosealicense.com/_licenses/apache-2.0.txt +1 -1
  41. data/vendor/choosealicense.com/_licenses/bsl-1.0.txt +1 -1
  42. data/vendor/choosealicense.com/_licenses/eupl-1.2.txt +75 -58
  43. data/vendor/choosealicense.com/_licenses/mit-0.txt +45 -0
  44. data/vendor/choosealicense.com/_licenses/odbl-1.0.txt +1 -1
  45. data/vendor/choosealicense.com/_licenses/unlicense.txt +1 -1
  46. data/vendor/license-list-XML/src/0BSD.xml +21 -0
  47. data/vendor/license-list-XML/src/AFL-3.0.xml +212 -0
  48. data/vendor/license-list-XML/src/AGPL-3.0.xml +852 -0
  49. data/vendor/license-list-XML/src/Apache-2.0.xml +223 -0
  50. data/vendor/license-list-XML/src/Artistic-2.0.xml +238 -0
  51. data/vendor/license-list-XML/src/BSD-2-Clause.xml +42 -0
  52. data/vendor/license-list-XML/src/BSD-3-Clause-Clear.xml +59 -0
  53. data/vendor/license-list-XML/src/BSD-3-Clause.xml +46 -0
  54. data/vendor/license-list-XML/src/BSD-4-Clause.xml +59 -0
  55. data/vendor/license-list-XML/src/BSL-1.0.xml +30 -0
  56. data/vendor/license-list-XML/src/CC-BY-4.0.xml +444 -0
  57. data/vendor/license-list-XML/src/CC-BY-SA-4.0.xml +475 -0
  58. data/vendor/license-list-XML/src/CC0-1.0.xml +153 -0
  59. data/vendor/license-list-XML/src/CECILL-2.1.xml +669 -0
  60. data/vendor/license-list-XML/src/ECL-2.0.xml +242 -0
  61. data/vendor/license-list-XML/src/EPL-1.0.xml +255 -0
  62. data/vendor/license-list-XML/src/EPL-2.0.xml +639 -0
  63. data/vendor/license-list-XML/src/EUPL-1.1.xml +337 -0
  64. data/vendor/license-list-XML/src/EUPL-1.2.xml +502 -0
  65. data/vendor/license-list-XML/src/GPL-2.0.xml +474 -0
  66. data/vendor/license-list-XML/src/GPL-3.0.xml +858 -0
  67. data/vendor/license-list-XML/src/ISC.xml +29 -0
  68. data/vendor/license-list-XML/src/LGPL-2.1.xml +662 -0
  69. data/vendor/license-list-XML/src/LGPL-3.0.xml +260 -0
  70. data/vendor/license-list-XML/src/LPPL-1.3c.xml +380 -0
  71. data/vendor/license-list-XML/src/MIT-0.xml +40 -0
  72. data/vendor/license-list-XML/src/MIT.xml +32 -0
  73. data/vendor/license-list-XML/src/MPL-2.0.xml +438 -0
  74. data/vendor/license-list-XML/src/MS-PL.xml +89 -0
  75. data/vendor/license-list-XML/src/MS-RL.xml +97 -0
  76. data/vendor/license-list-XML/src/NCSA.xml +60 -0
  77. data/vendor/license-list-XML/src/ODbL-1.0.xml +660 -0
  78. data/vendor/license-list-XML/src/OFL-1.1.xml +94 -0
  79. data/vendor/license-list-XML/src/OSL-3.0.xml +209 -0
  80. data/vendor/license-list-XML/src/PostgreSQL.xml +32 -0
  81. data/vendor/license-list-XML/src/UPL-1.0.xml +46 -0
  82. data/vendor/license-list-XML/src/Unlicense.xml +27 -0
  83. data/vendor/license-list-XML/src/Vim.xml +124 -0
  84. data/vendor/license-list-XML/src/WTFPL.xml +30 -0
  85. data/vendor/license-list-XML/src/Zlib.xml +38 -0
  86. metadata +73 -13
@@ -0,0 +1,242 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <SPDXLicenseCollection xmlns="http://www.spdx.org/license">
3
+ <license isOsiApproved="true" licenseId="ECL-2.0"
4
+ name="Educational Community License v2.0">
5
+ <crossRefs>
6
+ <crossRef>https://opensource.org/licenses/ECL-2.0</crossRef>
7
+ </crossRefs>
8
+ <notes>The Educational Community License version 2.0 ("ECL") consists of the Apache 2.0 license, modified
9
+ to change the scope of the patent grant in section 3 to be specific to the needs of the education
10
+ communities using this license. The url included in the boilerplate notice does not work.
11
+ (15/10/10)
12
+ </notes>
13
+ <text>
14
+ <titleText>
15
+ <p>Educational Community License
16
+ <br/>Version 2.0, April 2007
17
+ </p>
18
+ </titleText>
19
+ <optional>
20
+ <p>http://www.osedu.org/licenses/</p>
21
+ <p>The Educational Community License version 2.0 ("ECL") consists of the Apache 2.0 license,
22
+ modified to change the scope of the patent grant in section 3 to be specific to the needs of the
23
+ education communities using this license. The original Apache 2.0 license can be found at:
24
+ http://www.apache.org/licenses/LICENSE-2.0</p>
25
+ </optional>
26
+ <p>TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION</p>
27
+ <list>
28
+ <item>
29
+ <bullet>1.</bullet>
30
+ Definitions.
31
+ <list>
32
+ <item>
33
+ <p>"License" shall mean the terms and conditions for use, reproduction, and distribution
34
+ as defined by Sections 1 through 9 of this document.</p>
35
+ </item>
36
+ <item>
37
+ <p>"Licensor" shall mean the copyright owner or entity authorized by the copyright owner
38
+ that is granting the License.</p>
39
+ </item>
40
+ <item>
41
+ <p>"Legal Entity" shall mean the union of the acting entity and all other entities that
42
+ control, are controlled by, or are under common control with that entity. For the purposes of
43
+ this definition, "control" means (i) the power, direct or indirect, to cause the
44
+ direction or management of such entity, whether by contract or otherwise, or (ii) ownership of
45
+ fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such
46
+ entity.</p>
47
+ </item>
48
+ <item>
49
+ <p>"You" (or "Your") shall mean an individual or Legal Entity exercising
50
+ permissions granted by this License.</p>
51
+ </item>
52
+ <item>
53
+ <p>"Source" form shall mean the preferred form for making modifications, including but not
54
+ limited to software source code, documentation source, and configuration files.</p>
55
+ </item>
56
+ <item>
57
+ <p>"Object" form shall mean any form resulting from mechanical transformation or
58
+ translation of a Source form, including but not limited to compiled object code, generated
59
+ documentation, and conversions to other media types.</p>
60
+ </item>
61
+ <item>
62
+ <p>"Work" shall mean the work of authorship, whether in Source or Object form, made
63
+ available under the License, as indicated by a copyright notice that is included in or
64
+ attached to the work (an example is provided in the Appendix below).</p>
65
+ </item>
66
+ <item>
67
+ <p>"Derivative Works" shall mean any work, whether in Source or Object form, that is based
68
+ on (or derived from) the Work and for which the editorial revisions, annotations,
69
+ elaborations, or other modifications represent, as a whole, an original work of authorship.
70
+ For the purposes of this License, Derivative Works shall not include works that remain
71
+ separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative
72
+ Works thereof.</p>
73
+ </item>
74
+ <item>
75
+ <p>"Contribution" shall mean any work of authorship, including the original version of the
76
+ Work and any modifications or additions to that Work or Derivative Works thereof, that is
77
+ intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an
78
+ individual or Legal Entity authorized to submit on behalf of the copyright owner. For the
79
+ purposes of this definition, "submitted" means any form of electronic, verbal, or
80
+ written communication sent to the Licensor or its representatives, including but not limited
81
+ to communication on electronic mailing lists, source code control systems, and issue tracking
82
+ systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and
83
+ improving the Work, but excluding communication that is conspicuously marked or otherwise
84
+ designated in writing by the copyright owner as "Not a Contribution."</p>
85
+ </item>
86
+ <item>
87
+ <p>"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom
88
+ a Contribution has been received by Licensor and subsequently incorporated within the
89
+ Work.</p>
90
+ </item>
91
+ </list>
92
+ </item>
93
+ <item>
94
+ <bullet>2.</bullet>
95
+ Grant of Copyright License.
96
+ <p>Subject to the terms and conditions of this License, each Contributor hereby grants to You a
97
+ perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to
98
+ reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and
99
+ distribute the Work and such Derivative Works in Source or Object form.</p>
100
+ </item>
101
+ <item>
102
+ <bullet>3.</bullet>
103
+ Grant of Patent License.
104
+ <p>Subject to the terms and conditions of this License, each Contributor hereby grants to You a
105
+ perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in
106
+ this section) patent license to make, have made, use, offer to sell, sell, import, and
107
+ otherwise transfer the Work, where such license applies only to those patent claims licensable
108
+ by such Contributor that are necessarily infringed by their Contribution(s) alone or by
109
+ combination of their Contribution(s) with the Work to which such Contribution(s) was
110
+ submitted. If You institute patent litigation against any entity (including a cross-claim or
111
+ counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the
112
+ Work constitutes direct or contributory patent infringement, then any patent licenses granted
113
+ to You under this License for that Work shall terminate as of the date such litigation is
114
+ filed. Any patent license granted hereby with respect to contributions by an individual
115
+ employed by an institution or organization is limited to patent claims where the individual
116
+ that is the author of the Work is also the inventor of the patent claims licensed, and where
117
+ the organization or institution has the right to grant such license under applicable grant and
118
+ research funding agreements. No other express or implied licenses are granted.</p>
119
+ </item>
120
+ <item>
121
+ <bullet>4.</bullet>
122
+ Redistribution.
123
+ <p>You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium,
124
+ with or without modifications, and in Source or Object form, provided that You meet the
125
+ following conditions:</p>
126
+ <list>
127
+ <item>
128
+ <bullet>a.</bullet>
129
+ You must give any other recipients of the Work or Derivative Works a copy of this License; and
130
+ </item>
131
+ <item>
132
+ <bullet>b.</bullet>
133
+ You must cause any modified files to carry prominent notices stating that You changed the files; and
134
+ </item>
135
+ <item>
136
+ <bullet>c.</bullet>
137
+ You must retain, in the Source form of any Derivative Works that You distribute, all
138
+ copyright, patent, trademark, and attribution notices from the Source form of the Work,
139
+ excluding those notices that do not pertain to any part of the Derivative Works; and
140
+ </item>
141
+ <item>
142
+ <bullet>d.</bullet>
143
+ If the Work includes a "NOTICE" text file as part of its distribution, then any
144
+ Derivative Works that You distribute must include a readable copy of the attribution
145
+ notices contained within such NOTICE file, excluding those notices that do not pertain to
146
+ any part of the Derivative Works, in at least one of the following places: within a NOTICE
147
+ text file distributed as part of the Derivative Works; within the Source form or
148
+ documentation, if provided along with the Derivative Works; or, within a display generated
149
+ by the Derivative Works, if and wherever such third-party notices normally appear. The
150
+ contents of the NOTICE file are for informational purposes only and do not modify the
151
+ License. You may add Your own attribution notices within Derivative Works that You
152
+ distribute, alongside or as an addendum to the NOTICE text from the Work, provided that
153
+ such additional attribution notices cannot be construed as modifying the License.
154
+ <p>You may add Your own copyright statement to Your modifications and may provide additional or
155
+ different license terms and conditions for use, reproduction, or distribution of Your
156
+ modifications, or for any such Derivative Works as a whole, provided Your use,
157
+ reproduction, and distribution of the Work otherwise complies with the conditions stated
158
+ in this License.</p>
159
+ </item>
160
+ </list>
161
+ </item>
162
+ <item>
163
+ <bullet>5.</bullet>
164
+ Submission of Contributions.
165
+ <p>Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in
166
+ the Work by You to the Licensor shall be under the terms and conditions of this License,
167
+ without any additional terms or conditions. Notwithstanding the above, nothing herein shall
168
+ supersede or modify the terms of any separate license agreement you may have executed with
169
+ Licensor regarding such Contributions.</p>
170
+ </item>
171
+ <item>
172
+ <bullet>6.</bullet>
173
+ Trademarks.
174
+ <p>This License does not grant permission to use the trade names, trademarks, service marks, or
175
+ product names of the Licensor, except as required for reasonable and customary use in
176
+ describing the origin of the Work and reproducing the content of the NOTICE file.</p>
177
+ </item>
178
+ <item>
179
+ <bullet>7.</bullet>
180
+ Disclaimer of Warranty.
181
+ <p>Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each
182
+ Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR
183
+ CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any
184
+ warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
185
+ PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or
186
+ redistributing the Work and assume any risks associated with Your exercise of permissions
187
+ under this License.</p>
188
+ </item>
189
+ <item>
190
+ <bullet>8.</bullet>
191
+ Limitation of Liability.
192
+ <p>In no event and under no legal theory, whether in tort (including negligence), contract, or
193
+ otherwise, unless required by applicable law (such as deliberate and grossly negligent acts)
194
+ or agreed to in writing, shall any Contributor be liable to You for damages, including any
195
+ direct, indirect, special, incidental, or consequential damages of any character arising as a
196
+ result of this License or out of the use or inability to use the Work (including but not
197
+ limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or
198
+ any and all other commercial damages or losses), even if such Contributor has been advised of
199
+ the possibility of such damages.</p>
200
+ </item>
201
+ <item>
202
+ <bullet>9.</bullet>
203
+ Accepting Warranty or Additional Liability.
204
+ </item>
205
+ </list>
206
+ <p>While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for,
207
+ acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent
208
+ with this License. However, in accepting such obligations, You may act only on Your own behalf and on
209
+ Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify,
210
+ defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against,
211
+ such Contributor by reason of your accepting any such warranty or additional liability.</p>
212
+
213
+ <optional>
214
+ <p>END OF TERMS AND CONDITIONS</p>
215
+ <p>APPENDIX: How to apply the Educational Community License to your work</p>
216
+ <p>To apply the Educational Community License to your work, attach
217
+ <br/>the following boilerplate notice, with the fields enclosed by
218
+ <br/>brackets "[]" replaced with your own identifying information.
219
+ <br/>(Don't include the brackets!) The text should be enclosed in the
220
+ <br/>appropriate comment syntax for the file format. We also recommend
221
+ <br/>that a file or class name and description of purpose be included on
222
+ <br/>the same "printed page" as the copyright notice for easier
223
+ <br/>identification within third-party archives.
224
+ </p>
225
+ <standardLicenseHeader>
226
+ <p>Copyright <alt name="copyright" match=".+">[yyyy] [name of copyright owner]</alt> Licensed under the
227
+ <br/>Educational Community License, Version 2.0 (the "License"); you may
228
+ <br/>not use this file except in compliance with the License. You may
229
+ <br/>obtain a copy of the License at
230
+ </p>
231
+ <p>http://www.osedu.org/licenses/ECL-2.0</p>
232
+ <p>Unless required by applicable law or agreed to in writing,
233
+ <br/>software distributed under the License is distributed on an "AS IS"
234
+ <br/>BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
235
+ <br/>or implied. See the License for the specific language governing
236
+ <br/>permissions and limitations under the License.
237
+ </p>
238
+ </standardLicenseHeader>
239
+ </optional>
240
+ </text>
241
+ </license>
242
+ </SPDXLicenseCollection>
@@ -0,0 +1,255 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <SPDXLicenseCollection xmlns="http://www.spdx.org/license">
3
+ <license isOsiApproved="true" licenseId="EPL-1.0" name="Eclipse Public License 1.0">
4
+ <crossRefs>
5
+ <crossRef>http://www.eclipse.org/legal/epl-v10.html</crossRef>
6
+ <crossRef>https://opensource.org/licenses/EPL-1.0</crossRef>
7
+ </crossRefs>
8
+ <notes>EPL replaced the CPL on 28 June 2005.</notes>
9
+ <text>
10
+ <titleText>
11
+ <p>Eclipse Public License - v 1.0</p>
12
+ </titleText>
13
+
14
+ <p>THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC LICENSE
15
+ ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES
16
+ RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.</p>
17
+ <list>
18
+ <item>
19
+ <bullet>1.</bullet>
20
+ DEFINITIONS
21
+ <br/>"Contribution" means:
22
+
23
+ <list>
24
+ <item>
25
+ <bullet>a)</bullet>
26
+ in the case of the initial Contributor, the initial code and documentation distributed under
27
+ this Agreement, and
28
+ </item>
29
+ <item>
30
+ <bullet>b)</bullet>
31
+ in the case of each subsequent Contributor:
32
+ <list>
33
+ <item>
34
+ <bullet>i)</bullet>
35
+ changes to the Program, and
36
+ </item>
37
+ <item>
38
+ <bullet>ii)</bullet>
39
+ additions to the Program;
40
+ <p>where such changes and/or additions to the Program originate from and are distributed by
41
+ that particular Contributor. A Contribution 'originates' from a Contributor
42
+ if it was added to the Program by such Contributor itself or anyone acting on such
43
+ Contributor's behalf. Contributions do not include additions to the Program
44
+ which: (i) are separate modules of software distributed in conjunction with the
45
+ Program under their own license agreement, and (ii) are not derivative works of the
46
+ Program. </p>
47
+ </item>
48
+ </list>
49
+ </item>
50
+ </list>
51
+ <p>"Contributor" means any person or entity that distributes the Program. </p>
52
+ <p>"Licensed Patents" mean patent claims licensable by a Contributor which are
53
+ necessarily infringed by the use or sale of its Contribution alone or when combined
54
+ with the Program.</p>
55
+ <p>"Program" means the Contributions distributed in accordance with this Agreement.</p>
56
+ <p>"Recipient" means anyone who receives the Program under this Agreement,
57
+ including all Contributors.</p>
58
+ </item>
59
+ <item>
60
+ <bullet>2.</bullet>
61
+ GRANT OF RIGHTS
62
+ <list>
63
+ <item>
64
+ <bullet>a)</bullet>
65
+ Subject to the terms of this Agreement, each Contributor hereby grants Recipient a
66
+ non-exclusive, worldwide, royalty-free copyright license to reproduce, prepare derivative
67
+ works of, publicly display, publicly perform, distribute and sublicense the Contribution
68
+ of such Contributor, if any, and such derivative works, in source code and object code
69
+ form.
70
+ </item>
71
+ <item>
72
+ <bullet>b)</bullet>
73
+ Subject to the terms of this Agreement, each Contributor hereby grants Recipient a
74
+ non-exclusive, worldwide, royalty-free patent license under Licensed Patents to make, use,
75
+ sell, offer to sell, import and otherwise transfer the Contribution of such Contributor,
76
+ if any, in source code and object code form. This patent license shall apply to the
77
+ combination of the Contribution and the Program if, at the time the Contribution is added
78
+ by the Contributor, such addition of the Contribution causes such combination to be
79
+ covered by the Licensed Patents. The patent license shall not apply to any other
80
+ combinations which include the Contribution. No hardware per se is licensed hereunder.
81
+ </item>
82
+ <item>
83
+ <bullet>c)</bullet>
84
+ Recipient understands that although each Contributor grants the licenses to its Contributions
85
+ set forth herein, no assurances are provided by any Contributor that the Program does not
86
+ infringe the patent or other intellectual property rights of any other entity. Each
87
+ Contributor disclaims any liability to Recipient for claims brought by any other entity
88
+ based on infringement of intellectual property rights or otherwise. As a condition to
89
+ exercising the rights and licenses granted hereunder, each Recipient hereby assumes sole
90
+ responsibility to secure any other intellectual property rights needed, if any. For
91
+ example, if a third party patent license is required to allow Recipient to distribute the
92
+ Program, it is Recipient's responsibility to acquire that license before distributing
93
+ the Program.
94
+ </item>
95
+ <item>
96
+ <bullet>d)</bullet>
97
+ Each Contributor represents that to its knowledge it has sufficient copyright rights in its
98
+ Contribution, if any, to grant the copyright license set forth in this Agreement.
99
+ </item>
100
+ </list>
101
+ </item>
102
+ <item>
103
+ <bullet>3.</bullet>
104
+ REQUIREMENTS
105
+ <br/>A Contributor may choose to distribute the Program in object code form under its own
106
+ license agreement, provided that:
107
+
108
+ <list>
109
+ <item>
110
+ <bullet>a)</bullet>
111
+ it complies with the terms and conditions of this Agreement; and
112
+ </item>
113
+ <item>
114
+ <bullet>b)</bullet>
115
+ its license agreement:
116
+ <list>
117
+ <item>
118
+ <bullet>i)</bullet>
119
+ effectively disclaims on behalf of all Contributors all warranties and conditions,
120
+ express and implied, including warranties or conditions of title and non-infringement,
121
+ and implied warranties or conditions of merchantability and fitness for a particular
122
+ purpose;
123
+ </item>
124
+ <item>
125
+ <bullet>ii)</bullet>
126
+ effectively excludes on behalf of all Contributors all liability for damages, including
127
+ direct, indirect, special, incidental and consequential damages, such as lost
128
+ profits;
129
+ </item>
130
+ <item>
131
+ <bullet>iii)</bullet>
132
+ states that any provisions which differ from this Agreement are offered by that
133
+ Contributor alone and not by any other party; and
134
+ </item>
135
+ <item>
136
+ <bullet>iv)</bullet>
137
+ states that source code for the Program is available from such Contributor, and informs
138
+ licensees how to obtain it in a reasonable manner on or through a medium customarily
139
+ used for software exchange.
140
+ </item>
141
+ </list>
142
+ </item>
143
+ </list>
144
+ <p>When the Program is made available in source code form:</p>
145
+ <list>
146
+ <item>
147
+ <bullet>a)</bullet>
148
+ it must be made available under this Agreement; and
149
+ </item>
150
+ <item>
151
+ <bullet>b)</bullet>
152
+ a copy of this Agreement must be included with each copy of the Program.
153
+ <br/>Contributors may not remove or alter any copyright notices contained within the Program.
154
+
155
+ </item>
156
+ </list>
157
+ <p>Each Contributor must identify itself as the originator of its Contribution, if any, in a
158
+ manner that reasonably allows subsequent Recipients to identify the originator of the
159
+ Contribution.</p>
160
+ </item>
161
+ <item>
162
+ <bullet>4.</bullet>
163
+ COMMERCIAL DISTRIBUTION
164
+ <br/>Commercial distributors of software may accept certain responsibilities with respect to end
165
+ users, business partners and the like. While this license is intended to facilitate
166
+ the commercial use of the Program, the Contributor who includes the Program in a
167
+ commercial product offering should do so in a manner which does not create potential
168
+ liability for other Contributors. Therefore, if a Contributor includes the Program in
169
+ a commercial product offering, such Contributor ("Commercial Contributor")
170
+ hereby agrees to defend and indemnify every other Contributor ("Indemnified
171
+ Contributor") against any losses, damages and costs (collectively
172
+ "Losses") arising from claims, lawsuits and other legal actions brought by a
173
+ third party against the Indemnified Contributor to the extent caused by the acts or
174
+ omissions of such Commercial Contributor in connection with its distribution of the
175
+ Program in a commercial product offering. The obligations in this section do not apply
176
+ to any claims or Losses relating to any actual or alleged intellectual property
177
+ infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify
178
+ the Commercial Contributor in writing of such claim, and b) allow the Commercial
179
+ Contributor to control, and cooperate with the Commercial Contributor in, the defense
180
+ and any related settlement negotiations. The Indemnified Contributor may participate
181
+ in any such claim at its own expense.
182
+
183
+ <p>For example, a Contributor might include the Program in a commercial product offering, Product X.
184
+ That Contributor is then a Commercial Contributor. If that Commercial Contributor then makes
185
+ performance claims, or offers warranties related to Product X, those performance claims and
186
+ warranties are such Commercial Contributor's responsibility alone. Under this section,
187
+ the Commercial Contributor would have to defend claims against the other Contributors related
188
+ to those performance claims and warranties, and if a court requires any other Contributor to
189
+ pay any damages as a result, the Commercial Contributor must pay those damages.</p>
190
+ </item>
191
+ <item>
192
+ <bullet>5.</bullet>
193
+ NO WARRANTY
194
+ <br/>EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS
195
+ IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR
196
+ IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE,
197
+ NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient
198
+ is solely responsible for determining the appropriateness of using and distributing
199
+ the Program and assumes all risks associated with its exercise of rights under this
200
+ Agreement, including but not limited to the risks and costs of program errors,
201
+ compliance with applicable laws, damage to or loss of data, programs or equipment, and
202
+ unavailability or interruption of operations.
203
+
204
+ </item>
205
+ <item>
206
+ <bullet>6.</bullet>
207
+ DISCLAIMER OF LIABILITY
208
+ <br/>EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS
209
+ SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
210
+ CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND
211
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
212
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE
213
+ PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE
214
+ POSSIBILITY OF SUCH DAMAGES.
215
+
216
+ </item>
217
+ <item>
218
+ <bullet>7.</bullet>
219
+ GENERAL
220
+ <p>If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect
221
+ the validity or enforceability of the remainder of the terms of this Agreement, and without further
222
+ action by the parties hereto, such provision shall be reformed to the minimum extent necessary to make
223
+ such provision valid and enforceable.</p>
224
+ <p>If Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in
225
+ a lawsuit) alleging that the Program itself (excluding combinations of the Program with other software
226
+ or hardware) infringes such Recipient's patent(s), then such Recipient's rights granted
227
+ under Section 2(b) shall terminate as of the date such litigation is filed.</p>
228
+ <p>All Recipient's rights under this Agreement shall terminate if it fails to comply with any of the
229
+ material terms or conditions of this Agreement and does not cure such failure in a reasonable period
230
+ of time after becoming aware of such noncompliance. If all Recipient's rights under this
231
+ Agreement terminate, Recipient agrees to cease use and distribution of the Program as soon as
232
+ reasonably practicable. However, Recipient's obligations under this Agreement and any licenses
233
+ granted by Recipient relating to the Program shall continue and survive.</p>
234
+ <p>Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid
235
+ inconsistency the Agreement is copyrighted and may only be modified in the following manner. The
236
+ Agreement Steward reserves the right to publish new versions (including revisions) of this Agreement
237
+ from time to time. No one other than the Agreement Steward has the right to modify this Agreement. The
238
+ Eclipse Foundation is the initial Agreement Steward. The Eclipse Foundation may assign the
239
+ responsibility to serve as the Agreement Steward to a suitable separate entity. Each new version of
240
+ the Agreement will be given a distinguishing version number. The Program (including Contributions) may
241
+ always be distributed subject to the version of the Agreement under which it was received. In
242
+ addition, after a new version of the Agreement is published, Contributor may elect to distribute the
243
+ Program (including its Contributions) under the new version. Except as expressly stated in Sections
244
+ 2(a) and 2(b) above, Recipient receives no rights or licenses to the intellectual property of any
245
+ Contributor under this Agreement, whether expressly, by implication, estoppel or otherwise. All rights
246
+ in the Program not expressly granted under this Agreement are reserved.</p>
247
+ <p>This Agreement is governed by the laws of the State of New York and the intellectual property laws of the
248
+ United States of America. No party to this Agreement will bring a legal action under this Agreement
249
+ more than one year after the cause of action arose. Each party waives its rights to a jury trial in
250
+ any resulting litigation.</p>
251
+ </item>
252
+ </list>
253
+ </text>
254
+ </license>
255
+ </SPDXLicenseCollection>