bigindex-solr 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -0
- data/.gitignore +8 -0
- data/MIT-LICENSE +20 -0
- data/README.rdoc +73 -0
- data/Rakefile +49 -0
- data/VERSION +1 -0
- data/bigindex-solr.gemspec +141 -0
- data/examples/bigindex.yml +9 -0
- data/install.rb +17 -0
- data/lib/bigindex-solr.rb +32 -0
- data/lib/bigindex-solr/tasks.rb +3 -0
- data/lib/tasks/bigindex_solr.rake +55 -0
- data/schema.xml +126 -0
- data/solr/CHANGES.txt +562 -0
- data/solr/LICENSE.txt +608 -0
- data/solr/NOTICE.txt +57 -0
- data/solr/etc/jetty.xml +206 -0
- data/solr/etc/webdefault.xml +379 -0
- data/solr/lib/commons-codec-1.3.jar +0 -0
- data/solr/lib/commons-csv-0.1-SNAPSHOT.jar +0 -0
- data/solr/lib/commons-fileupload-1.2.jar +0 -0
- data/solr/lib/commons-io-1.2.jar +0 -0
- data/solr/lib/easymock.jar +0 -0
- data/solr/lib/jetty-6.1.3.jar +0 -0
- data/solr/lib/jetty-util-6.1.3.jar +0 -0
- data/solr/lib/jsp-2.1/ant-1.6.5.jar +0 -0
- data/solr/lib/jsp-2.1/core-3.1.1.jar +0 -0
- data/solr/lib/jsp-2.1/jsp-2.1.jar +0 -0
- data/solr/lib/jsp-2.1/jsp-api-2.1.jar +0 -0
- data/solr/lib/lucene-analyzers-2007-05-20_00-04-53.jar +0 -0
- data/solr/lib/lucene-core-2007-05-20_00-04-53.jar +0 -0
- data/solr/lib/lucene-highlighter-2007-05-20_00-04-53.jar +0 -0
- data/solr/lib/lucene-snowball-2007-05-20_00-04-53.jar +0 -0
- data/solr/lib/lucene-spellchecker-2007-05-20_00-04-53.jar +0 -0
- data/solr/lib/servlet-api-2.4.jar +0 -0
- data/solr/lib/servlet-api-2.5-6.1.3.jar +0 -0
- data/solr/lib/xpp3-1.1.3.4.O.jar +0 -0
- data/solr/solr/README.txt +52 -0
- data/solr/solr/bin/abc +176 -0
- data/solr/solr/bin/abo +176 -0
- data/solr/solr/bin/backup +108 -0
- data/solr/solr/bin/backupcleaner +142 -0
- data/solr/solr/bin/commit +128 -0
- data/solr/solr/bin/optimize +129 -0
- data/solr/solr/bin/readercycle +129 -0
- data/solr/solr/bin/rsyncd-disable +77 -0
- data/solr/solr/bin/rsyncd-enable +76 -0
- data/solr/solr/bin/rsyncd-start +145 -0
- data/solr/solr/bin/rsyncd-stop +105 -0
- data/solr/solr/bin/scripts-util +83 -0
- data/solr/solr/bin/snapcleaner +148 -0
- data/solr/solr/bin/snapinstaller +168 -0
- data/solr/solr/bin/snappuller +248 -0
- data/solr/solr/bin/snappuller-disable +77 -0
- data/solr/solr/bin/snappuller-enable +77 -0
- data/solr/solr/bin/snapshooter +109 -0
- data/solr/solr/conf/admin-extra.html +31 -0
- data/solr/solr/conf/protwords.txt +21 -0
- data/solr/solr/conf/schema.xml +126 -0
- data/solr/solr/conf/scripts.conf +24 -0
- data/solr/solr/conf/solrconfig.xml +458 -0
- data/solr/solr/conf/stopwords.txt +57 -0
- data/solr/solr/conf/synonyms.txt +31 -0
- data/solr/solr/conf/xslt/example.xsl +132 -0
- data/solr/solr/conf/xslt/example_atom.xsl +63 -0
- data/solr/solr/conf/xslt/example_rss.xsl +62 -0
- data/solr/solr/data/development/index/_a.fdt +0 -0
- data/solr/solr/data/development/index/_a.fdx +0 -0
- data/solr/solr/data/development/index/_a.fnm +2 -0
- data/solr/solr/data/development/index/_a.frq +1 -0
- data/solr/solr/data/development/index/_a.nrm +1 -0
- data/solr/solr/data/development/index/_a.prx +0 -0
- data/solr/solr/data/development/index/_a.tii +0 -0
- data/solr/solr/data/development/index/_a.tis +0 -0
- data/solr/solr/data/development/index/_a_1.del +0 -0
- data/solr/solr/data/development/index/_b.fdt +0 -0
- data/solr/solr/data/development/index/_b.fdx +0 -0
- data/solr/solr/data/development/index/_b.fnm +2 -0
- data/solr/solr/data/development/index/_b.frq +0 -0
- data/solr/solr/data/development/index/_b.nrm +1 -0
- data/solr/solr/data/development/index/_b.prx +0 -0
- data/solr/solr/data/development/index/_b.tii +0 -0
- data/solr/solr/data/development/index/_b.tis +0 -0
- data/solr/solr/data/development/index/_b_1.del +0 -0
- data/solr/solr/data/development/index/_c.fdt +0 -0
- data/solr/solr/data/development/index/_c.fdx +0 -0
- data/solr/solr/data/development/index/_c.fnm +2 -0
- data/solr/solr/data/development/index/_c.frq +1 -0
- data/solr/solr/data/development/index/_c.nrm +1 -0
- data/solr/solr/data/development/index/_c.prx +0 -0
- data/solr/solr/data/development/index/_c.tii +0 -0
- data/solr/solr/data/development/index/_c.tis +0 -0
- data/solr/solr/data/development/index/_c_1.del +0 -0
- data/solr/solr/data/development/index/segments.gen +0 -0
- data/solr/solr/data/development/index/segments_q +0 -0
- data/solr/start.jar +0 -0
- data/solr/webapps/solr.war +0 -0
- data/spec/bigindex-solr_spec.rb +7 -0
- data/spec/spec_helper.rb +9 -0
- metadata +163 -0
data/solr/LICENSE.txt
ADDED
@@ -0,0 +1,608 @@
|
|
1
|
+
Apache License
|
2
|
+
Version 2.0, January 2004
|
3
|
+
http://www.apache.org/licenses/
|
4
|
+
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
6
|
+
|
7
|
+
1. Definitions.
|
8
|
+
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
11
|
+
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
13
|
+
the copyright owner that is granting the License.
|
14
|
+
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
16
|
+
other entities that control, are controlled by, or are under common
|
17
|
+
control with that entity. For the purposes of this definition,
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
19
|
+
direction or management of such entity, whether by contract or
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
22
|
+
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
24
|
+
exercising permissions granted by this License.
|
25
|
+
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
27
|
+
including but not limited to software source code, documentation
|
28
|
+
source, and configuration files.
|
29
|
+
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
31
|
+
transformation or translation of a Source form, including but
|
32
|
+
not limited to compiled object code, generated documentation,
|
33
|
+
and conversions to other media types.
|
34
|
+
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
36
|
+
Object form, made available under the License, as indicated by a
|
37
|
+
copyright notice that is included in or attached to the work
|
38
|
+
(an example is provided in the Appendix below).
|
39
|
+
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
46
|
+
the Work and Derivative Works thereof.
|
47
|
+
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
49
|
+
the original version of the Work and any modifications or additions
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
61
|
+
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
64
|
+
subsequently incorporated within the Work.
|
65
|
+
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
72
|
+
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
78
|
+
where such license applies only to those patent claims licensable
|
79
|
+
by such Contributor that are necessarily infringed by their
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
82
|
+
institute patent litigation against any entity (including a
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
85
|
+
or contributory patent infringement, then any patent licenses
|
86
|
+
granted to You under this License for that Work shall terminate
|
87
|
+
as of the date such litigation is filed.
|
88
|
+
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
91
|
+
modifications, and in Source or Object form, provided that You
|
92
|
+
meet the following conditions:
|
93
|
+
|
94
|
+
(a) You must give any other recipients of the Work or
|
95
|
+
Derivative Works a copy of this License; and
|
96
|
+
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
98
|
+
stating that You changed the files; and
|
99
|
+
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
102
|
+
attribution notices from the Source form of the Work,
|
103
|
+
excluding those notices that do not pertain to any part of
|
104
|
+
the Derivative Works; and
|
105
|
+
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
108
|
+
include a readable copy of the attribution notices contained
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
111
|
+
of the following places: within a NOTICE text file distributed
|
112
|
+
as part of the Derivative Works; within the Source form or
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
114
|
+
within a display generated by the Derivative Works, if and
|
115
|
+
wherever such third-party notices normally appear. The contents
|
116
|
+
of the NOTICE file are for informational purposes only and
|
117
|
+
do not modify the License. You may add Your own attribution
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
120
|
+
that such additional attribution notices cannot be construed
|
121
|
+
as modifying the License.
|
122
|
+
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
124
|
+
may provide additional or different license terms and conditions
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
128
|
+
the conditions stated in this License.
|
129
|
+
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
133
|
+
this License, without any additional terms or conditions.
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
135
|
+
the terms of any separate license agreement you may have executed
|
136
|
+
with Licensor regarding such Contributions.
|
137
|
+
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
140
|
+
except as required for reasonable and customary use in describing the
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
142
|
+
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
152
|
+
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
158
|
+
incidental, or consequential damages of any character arising as a
|
159
|
+
result of this License or out of the use or inability to use the
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
162
|
+
other commercial damages or losses), even if such Contributor
|
163
|
+
has been advised of the possibility of such damages.
|
164
|
+
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
168
|
+
or other liability obligations and/or rights consistent with this
|
169
|
+
License. However, in accepting such obligations, You may act only
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
174
|
+
of your accepting any such warranty or additional liability.
|
175
|
+
|
176
|
+
END OF TERMS AND CONDITIONS
|
177
|
+
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
179
|
+
|
180
|
+
To apply the Apache License to your work, attach the following
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
182
|
+
replaced with your own identifying information. (Don't include
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
184
|
+
comment syntax for the file format. We also recommend that a
|
185
|
+
file or class name and description of purpose be included on the
|
186
|
+
same "printed page" as the copyright notice for easier
|
187
|
+
identification within third-party archives.
|
188
|
+
|
189
|
+
Copyright [yyyy] [name of copyright owner]
|
190
|
+
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
192
|
+
you may not use this file except in compliance with the License.
|
193
|
+
You may obtain a copy of the License at
|
194
|
+
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
196
|
+
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
200
|
+
See the License for the specific language governing permissions and
|
201
|
+
limitations under the License.
|
202
|
+
|
203
|
+
==========================================================================
|
204
|
+
The following license applies only to the xpp3 jar included with Solr
|
205
|
+
--------------------------------------------------------------------------
|
206
|
+
Indiana University Extreme! Lab Software License
|
207
|
+
|
208
|
+
Version 1.1.1
|
209
|
+
|
210
|
+
Copyright (c) 2002 Extreme! Lab, Indiana University. All rights reserved.
|
211
|
+
|
212
|
+
Redistribution and use in source and binary forms, with or without
|
213
|
+
modification, are permitted provided that the following conditions
|
214
|
+
are met:
|
215
|
+
|
216
|
+
1. Redistributions of source code must retain the above copyright notice,
|
217
|
+
this list of conditions and the following disclaimer.
|
218
|
+
|
219
|
+
2. Redistributions in binary form must reproduce the above copyright
|
220
|
+
notice, this list of conditions and the following disclaimer in
|
221
|
+
the documentation and/or other materials provided with the distribution.
|
222
|
+
|
223
|
+
3. The end-user documentation included with the redistribution, if any,
|
224
|
+
must include the following acknowledgment:
|
225
|
+
|
226
|
+
"This product includes software developed by the Indiana University
|
227
|
+
Extreme! Lab (http://www.extreme.indiana.edu/)."
|
228
|
+
|
229
|
+
Alternately, this acknowledgment may appear in the software itself,
|
230
|
+
if and wherever such third-party acknowledgments normally appear.
|
231
|
+
|
232
|
+
4. The names "Indiana Univeristy" and "Indiana Univeristy Extreme! Lab"
|
233
|
+
must not be used to endorse or promote products derived from this
|
234
|
+
software without prior written permission. For written permission,
|
235
|
+
please contact http://www.extreme.indiana.edu/.
|
236
|
+
|
237
|
+
5. Products derived from this software may not use "Indiana Univeristy"
|
238
|
+
name nor may "Indiana Univeristy" appear in their name, without prior
|
239
|
+
written permission of the Indiana University.
|
240
|
+
|
241
|
+
THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED
|
242
|
+
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
243
|
+
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
244
|
+
IN NO EVENT SHALL THE AUTHORS, COPYRIGHT HOLDERS OR ITS CONTRIBUTORS
|
245
|
+
BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
246
|
+
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
247
|
+
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
|
248
|
+
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
249
|
+
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
250
|
+
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
251
|
+
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
252
|
+
|
253
|
+
==========================================================================
|
254
|
+
Portions of Jetty 6 are bundled in the Solr example server.
|
255
|
+
Jetty 6 includes a binary javax.servlet package licensed under the
|
256
|
+
Common Development and Distribution License.
|
257
|
+
--------------------------------------------------------------------------
|
258
|
+
COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0
|
259
|
+
|
260
|
+
1. Definitions.
|
261
|
+
|
262
|
+
1.1. Contributor means each individual or entity that creates or contributes to
|
263
|
+
the creation of Modifications.
|
264
|
+
|
265
|
+
1.2. Contributor Version means the combination of the Original Software, prior
|
266
|
+
Modifications used by a Contributor (if any), and the Modifications made by
|
267
|
+
that particular Contributor.
|
268
|
+
|
269
|
+
1.3. Covered Software means (a) the Original Software, or (b) Modifications, or
|
270
|
+
(c) the combination of files containing Original Software with files containing
|
271
|
+
Modifications, in each case including portions thereof.
|
272
|
+
|
273
|
+
1.4. Executable means the Covered Software in any form other than Source Code.
|
274
|
+
|
275
|
+
1.5. Initial Developer means the individual or entity that first makes Original
|
276
|
+
Software available under this License.
|
277
|
+
|
278
|
+
1.6. Larger Work means a work which combines Covered Software or portions
|
279
|
+
thereof with code not governed by the terms of this License.
|
280
|
+
|
281
|
+
1.7. License means this document.
|
282
|
+
|
283
|
+
1.8. Licensable means having the right to grant, to the maximum extent
|
284
|
+
possible, whether at the time of the initial grant or subsequently acquired,
|
285
|
+
any and all of the rights conveyed herein.
|
286
|
+
|
287
|
+
1.9. Modifications means the Source Code and Executable form of any of the
|
288
|
+
following:
|
289
|
+
|
290
|
+
A. Any file that results from an addition to, deletion from or modification of
|
291
|
+
the contents of a file containing Original Software or previous Modifications;
|
292
|
+
|
293
|
+
B. Any new file that contains any part of the Original Software or previous
|
294
|
+
Modification; or
|
295
|
+
|
296
|
+
C. Any new file that is contributed or otherwise made available under the terms
|
297
|
+
of this License.
|
298
|
+
|
299
|
+
1.10. Original Software means the Source Code and Executable form of computer
|
300
|
+
software code that is originally released under this License.
|
301
|
+
|
302
|
+
1.11. Patent Claims means any patent claim(s), now owned or hereafter acquired,
|
303
|
+
including without limitation, method, process, and apparatus claims, in any
|
304
|
+
patent Licensable by grantor.
|
305
|
+
|
306
|
+
1.12. Source Code means (a) the common form of computer software code in which
|
307
|
+
modifications are made and (b) associated documentation included in or with
|
308
|
+
such code.
|
309
|
+
|
310
|
+
1.13. You (or Your) means an individual or a legal entity exercising rights
|
311
|
+
under, and complying with all of the terms of, this License. For legal
|
312
|
+
entities, You includes any entity which controls, is controlled by, or is under
|
313
|
+
common control with You. For purposes of this definition, control means (a)�the
|
314
|
+
power, direct or indirect, to cause the direction or management of such entity,
|
315
|
+
whether by contract or otherwise, or (b)�ownership of more than fifty percent
|
316
|
+
(50%) of the outstanding shares or beneficial ownership of such entity.
|
317
|
+
|
318
|
+
2. License Grants.
|
319
|
+
|
320
|
+
2.1. The Initial Developer Grant. Conditioned upon Your compliance with
|
321
|
+
Section 3.1 below and subject to third party intellectual property claims, the
|
322
|
+
Initial Developer hereby grants You a world-wide, royalty-free, non-exclusive
|
323
|
+
license: (a) under intellectual property rights (other than patent or
|
324
|
+
trademark) Licensable by Initial Developer, to use, reproduce, modify, display,
|
325
|
+
perform, sublicense and distribute the Original Software (or portions thereof),
|
326
|
+
with or without Modifications, and/or as part of a Larger Work; and (b) under
|
327
|
+
Patent Claims infringed by the making, using or selling of Original Software,
|
328
|
+
to make, have made, use, practice, sell, and offer for sale, and/or otherwise
|
329
|
+
dispose of the Original Software (or portions thereof). (c) The licenses
|
330
|
+
granted in Sections�2.1(a) and (b) are effective on the date Initial Developer
|
331
|
+
first distributes or otherwise makes the Original Software available to a third
|
332
|
+
party under the terms of this License. (d) Notwithstanding Section�2.1(b)
|
333
|
+
above, no patent license is granted: (1)�for code that You delete from the
|
334
|
+
Original Software, or (2)�for infringements caused by: (i)�the modification of
|
335
|
+
the Original Software, or (ii)�the combination of the Original Software with
|
336
|
+
other software or devices.
|
337
|
+
|
338
|
+
2.2. Contributor Grant. Conditioned upon Your compliance with Section 3.1
|
339
|
+
below and subject to third party intellectual property claims, each Contributor
|
340
|
+
hereby grants You a world-wide, royalty-free, non-exclusive license: (a) under
|
341
|
+
intellectual property rights (other than patent or trademark) Licensable by
|
342
|
+
Contributor to use, reproduce, modify, display, perform, sublicense and
|
343
|
+
distribute the Modifications created by such Contributor (or portions thereof),
|
344
|
+
either on an unmodified basis, with other Modifications, as Covered Software
|
345
|
+
and/or as part of a Larger Work; and (b) under Patent Claims infringed by the
|
346
|
+
making, using, or selling of Modifications made by that Contributor either
|
347
|
+
alone and/or in combination with its Contributor Version (or portions of such
|
348
|
+
combination), to make, use, sell, offer for sale, have made, and/or otherwise
|
349
|
+
dispose of: (1)�Modifications made by that Contributor (or portions thereof);
|
350
|
+
and (2)�the combination of Modifications made by that Contributor with its
|
351
|
+
Contributor Version (or portions of such combination). (c) The licenses
|
352
|
+
granted in Sections�2.2(a) and 2.2(b) are effective on the date Contributor
|
353
|
+
first distributes or otherwise makes the Modifications available to a third
|
354
|
+
party. (d) Notwithstanding Section�2.2(b) above, no patent license is granted:
|
355
|
+
(1)�for any code that Contributor has deleted from the Contributor Version;
|
356
|
+
(2)�for infringements caused by: (i)�third party modifications of Contributor
|
357
|
+
Version, or (ii)�the combination of Modifications made by that Contributor with
|
358
|
+
other software (except as part of the Contributor Version) or other devices; or
|
359
|
+
(3)�under Patent Claims infringed by Covered Software in the absence of
|
360
|
+
Modifications made by that Contributor.
|
361
|
+
|
362
|
+
3. Distribution Obligations.
|
363
|
+
|
364
|
+
3.1. Availability of Source Code.
|
365
|
+
|
366
|
+
Any Covered Software that You distribute or otherwise make available in
|
367
|
+
Executable form must also be made available in Source Code form and that Source
|
368
|
+
Code form must be distributed only under the terms of this License. You must
|
369
|
+
include a copy of this License with every copy of the Source Code form of the
|
370
|
+
Covered Software You distribute or otherwise make available. You must inform
|
371
|
+
recipients of any such Covered Software in Executable form as to how they can
|
372
|
+
obtain such Covered Software in Source Code form in a reasonable manner on or
|
373
|
+
through a medium customarily used for software exchange.
|
374
|
+
|
375
|
+
3.2. Modifications.
|
376
|
+
|
377
|
+
The Modifications that You create or to which You contribute are governed by
|
378
|
+
the terms of this License. You represent that You believe Your Modifications
|
379
|
+
are Your original creation(s) and/or You have sufficient rights to grant the
|
380
|
+
rights conveyed by this License.
|
381
|
+
|
382
|
+
3.3. Required Notices. You must include a notice in each of Your Modifications
|
383
|
+
that identifies You as the Contributor of the Modification. You may not remove
|
384
|
+
or alter any copyright, patent or trademark notices contained within the
|
385
|
+
Covered Software, or any notices of licensing or any descriptive text giving
|
386
|
+
attribution to any Contributor or the Initial Developer.
|
387
|
+
|
388
|
+
3.4. Application of Additional Terms. You may not offer or impose any terms on
|
389
|
+
any Covered Software in Source Code form that alters or restricts the
|
390
|
+
applicable version of this License or the recipients rights hereunder. You may
|
391
|
+
choose to offer, and to charge a fee for, warranty, support, indemnity or
|
392
|
+
liability obligations to one or more recipients of Covered Software. However,
|
393
|
+
you may do so only on Your own behalf, and not on behalf of the Initial
|
394
|
+
Developer or any Contributor. You must make it absolutely clear that any such
|
395
|
+
warranty, support, indemnity or liability obligation is offered by You alone,
|
396
|
+
and You hereby agree to indemnify the Initial Developer and every Contributor
|
397
|
+
for any liability incurred by the Initial Developer or such Contributor as a
|
398
|
+
result of warranty, support, indemnity or liability terms You offer.
|
399
|
+
|
400
|
+
3.5. Distribution of Executable Versions. You may distribute the Executable
|
401
|
+
form of the Covered Software under the terms of this License or under the terms
|
402
|
+
of a license of Your choice, which may contain terms different from this
|
403
|
+
License, provided that You are in compliance with the terms of this License and
|
404
|
+
that the license for the Executable form does not attempt to limit or alter the
|
405
|
+
recipients rights in the Source Code form from the rights set forth in this
|
406
|
+
License. If You distribute the Covered Software in Executable form under a
|
407
|
+
different license, You must make it absolutely clear that any terms which
|
408
|
+
differ from this License are offered by You alone, not by the Initial Developer
|
409
|
+
or Contributor. You hereby agree to indemnify the Initial Developer and every
|
410
|
+
Contributor for any liability incurred by the Initial Developer or such
|
411
|
+
Contributor as a result of any such terms You offer.
|
412
|
+
|
413
|
+
3.6. Larger Works. You may create a Larger Work by combining Covered Software
|
414
|
+
with other code not governed by the terms of this License and distribute the
|
415
|
+
Larger Work as a single product. In such a case, You must make sure the
|
416
|
+
requirements of this License are fulfilled for the Covered Software.
|
417
|
+
|
418
|
+
4. Versions of the License.
|
419
|
+
|
420
|
+
4.1. New Versions. Sun Microsystems, Inc. is the initial license steward and
|
421
|
+
may publish revised and/or new versions of this License from time to time. Each
|
422
|
+
version will be given a distinguishing version number. Except as provided in
|
423
|
+
Section 4.3, no one other than the license steward has the right to modify this
|
424
|
+
License.
|
425
|
+
|
426
|
+
4.2. Effect of New Versions.
|
427
|
+
|
428
|
+
You may always continue to use, distribute or otherwise make the Covered
|
429
|
+
Software available under the terms of the version of the License under which
|
430
|
+
You originally received the Covered Software. If the Initial Developer includes
|
431
|
+
a notice in the Original Software prohibiting it from being distributed or
|
432
|
+
otherwise made available under any subsequent version of the License, You must
|
433
|
+
distribute and make the Covered Software available under the terms of the
|
434
|
+
version of the License under which You originally received the Covered
|
435
|
+
Software. Otherwise, You may also choose to use, distribute or otherwise make
|
436
|
+
the Covered Software available under the terms of any subsequent version of the
|
437
|
+
License published by the license steward. 4.3. Modified Versions.
|
438
|
+
|
439
|
+
When You are an Initial Developer and You want to create a new license for Your
|
440
|
+
Original Software, You may create and use a modified version of this License if
|
441
|
+
You: (a)�rename the license and remove any references to the name of the
|
442
|
+
license steward (except to note that the license differs from this License);
|
443
|
+
and (b)�otherwise make it clear that the license contains terms which differ
|
444
|
+
from this License.
|
445
|
+
|
446
|
+
5. DISCLAIMER OF WARRANTY.
|
447
|
+
|
448
|
+
COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN AS IS BASIS, WITHOUT
|
449
|
+
WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT
|
450
|
+
LIMITATION, WARRANTIES THAT THE COVERED SOFTWARE IS FREE OF DEFECTS,
|
451
|
+
MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE RISK
|
452
|
+
AS TO THE QUALITY AND PERFORMANCE OF THE COVERED SOFTWARE IS WITH YOU. SHOULD
|
453
|
+
ANY COVERED SOFTWARE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL
|
454
|
+
DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING,
|
455
|
+
REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART
|
456
|
+
OF THIS LICENSE. NO USE OF ANY COVERED SOFTWARE IS AUTHORIZED HEREUNDER EXCEPT
|
457
|
+
UNDER THIS DISCLAIMER.
|
458
|
+
|
459
|
+
6. TERMINATION.
|
460
|
+
|
461
|
+
6.1. This License and the rights granted hereunder will terminate automatically
|
462
|
+
if You fail to comply with terms herein and fail to cure such breach within 30
|
463
|
+
days of becoming aware of the breach. Provisions which, by their nature, must
|
464
|
+
remain in effect beyond the termination of this License shall survive.
|
465
|
+
|
466
|
+
6.2. If You assert a patent infringement claim (excluding declaratory judgment
|
467
|
+
actions) against Initial Developer or a Contributor (the Initial Developer or
|
468
|
+
Contributor against whom You assert such claim is referred to as Participant)
|
469
|
+
alleging that the Participant Software (meaning the Contributor Version where
|
470
|
+
the Participant is a Contributor or the Original Software where the Participant
|
471
|
+
is the Initial Developer) directly or indirectly infringes any patent, then any
|
472
|
+
and all rights granted directly or indirectly to You by such Participant, the
|
473
|
+
Initial Developer (if the Initial Developer is not the Participant) and all
|
474
|
+
Contributors under Sections�2.1 and/or 2.2 of this License shall, upon 60 days
|
475
|
+
notice from Participant terminate prospectively and automatically at the
|
476
|
+
expiration of such 60 day notice period, unless if within such 60 day period
|
477
|
+
You withdraw Your claim with respect to the Participant Software against such
|
478
|
+
Participant either unilaterally or pursuant to a written agreement with
|
479
|
+
Participant.
|
480
|
+
|
481
|
+
6.3. In the event of termination under Sections�6.1 or 6.2 above, all end user
|
482
|
+
licenses that have been validly granted by You or any distributor hereunder
|
483
|
+
prior to termination (excluding licenses granted to You by any distributor)
|
484
|
+
shall survive termination.
|
485
|
+
|
486
|
+
7. LIMITATION OF LIABILITY.
|
487
|
+
|
488
|
+
UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT (INCLUDING
|
489
|
+
NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL DEVELOPER, ANY
|
490
|
+
OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED SOFTWARE, OR ANY SUPPLIER OF
|
491
|
+
ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL,
|
492
|
+
INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT
|
493
|
+
LIMITATION, DAMAGES FOR LOST PROFITS, LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER
|
494
|
+
FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES, EVEN
|
495
|
+
IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS
|
496
|
+
LIMITATION OF LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL
|
497
|
+
INJURY RESULTING FROM SUCH PARTYS NEGLIGENCE TO THE EXTENT APPLICABLE LAW
|
498
|
+
PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR
|
499
|
+
LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND
|
500
|
+
LIMITATION MAY NOT APPLY TO YOU.
|
501
|
+
|
502
|
+
8. U.S. GOVERNMENT END USERS.
|
503
|
+
|
504
|
+
The Covered Software is a commercial item, as that term is defined in
|
505
|
+
48�C.F.R.�2.101 (Oct. 1995), consisting of commercial computer software (as
|
506
|
+
that term is defined at 48 C.F.R. �252.227-7014(a)(1)) and commercial computer
|
507
|
+
software documentation as such terms are used in 48�C.F.R.�12.212 (Sept. 1995).
|
508
|
+
Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4
|
509
|
+
(June 1995), all U.S. Government End Users acquire Covered Software with only
|
510
|
+
those rights set forth herein. This U.S. Government Rights clause is in lieu
|
511
|
+
of, and supersedes, any other FAR, DFAR, or other clause or provision that
|
512
|
+
addresses Government rights in computer software under this License.
|
513
|
+
|
514
|
+
9. MISCELLANEOUS.
|
515
|
+
|
516
|
+
This License represents the complete agreement concerning subject matter
|
517
|
+
hereof. If any provision of this License is held to be unenforceable, such
|
518
|
+
provision shall be reformed only to the extent necessary to make it
|
519
|
+
enforceable. This License shall be governed by the law of the jurisdiction
|
520
|
+
specified in a notice contained within the Original Software (except to the
|
521
|
+
extent applicable law, if any, provides otherwise), excluding such
|
522
|
+
jurisdictions conflict-of-law provisions. Any litigation relating to this
|
523
|
+
License shall be subject to the jurisdiction of the courts located in the
|
524
|
+
jurisdiction and venue specified in a notice contained within the Original
|
525
|
+
Software, with the losing party responsible for costs, including, without
|
526
|
+
limitation, court costs and reasonable attorneys fees and expenses. The
|
527
|
+
application of the United Nations Convention on Contracts for the International
|
528
|
+
Sale of Goods is expressly excluded. Any law or regulation which provides that
|
529
|
+
the language of a contract shall be construed against the drafter shall not
|
530
|
+
apply to this License. You agree that You alone are responsible for compliance
|
531
|
+
with the United States export administration regulations (and the export
|
532
|
+
control laws and regulation of any other countries) when You use, distribute or
|
533
|
+
otherwise make available any Covered Software.
|
534
|
+
|
535
|
+
10. RESPONSIBILITY FOR CLAIMS.
|
536
|
+
|
537
|
+
As between Initial Developer and the Contributors, each party is responsible
|
538
|
+
for claims and damages arising, directly or indirectly, out of its utilization
|
539
|
+
of rights under this License and You agree to work with Initial Developer and
|
540
|
+
Contributors to distribute such responsibility on an equitable basis. Nothing
|
541
|
+
herein is intended or shall be deemed to constitute any admission of liability.
|
542
|
+
|
543
|
+
NOTICE PURSUANT TO SECTION 9 OF THE COMMON DEVELOPMENT AND DISTRIBUTION LICENSE
|
544
|
+
(CDDL) The GlassFish code released under the CDDL shall be governed by the laws
|
545
|
+
of the State of California (excluding conflict-of-law provisions). Any
|
546
|
+
litigation relating to this License shall be subject to the jurisdiction of the
|
547
|
+
Federal Courts of the Northern District of California and the state courts of
|
548
|
+
the State of California, with venue lying in Santa Clara County, California.
|
549
|
+
|
550
|
+
|
551
|
+
==========================================================================
|
552
|
+
The following license applies to parts of the lucene-snowball jar
|
553
|
+
that are generated from the snowball sources at http://snowball.tartarus.org/
|
554
|
+
--------------------------------------------------------------------------
|
555
|
+
The BSD License
|
556
|
+
|
557
|
+
Copyright (c) 2001, Dr Martin Porter, Copyright (c) 2002, Richard Boulton
|
558
|
+
All rights reserved.
|
559
|
+
|
560
|
+
Redistribution and use in source and binary forms, with or without
|
561
|
+
modification, are permitted provided that the following conditions are met:
|
562
|
+
|
563
|
+
* Redistributions of source code must retain the above copyright notice,
|
564
|
+
this list of conditions and the following disclaimer.
|
565
|
+
|
566
|
+
* Redistributions in binary form must reproduce the above copyright notice,
|
567
|
+
this list of conditions and the following disclaimer in the documentation
|
568
|
+
and/or other materials provided with the distribution.
|
569
|
+
|
570
|
+
* Neither the name of the <ORGANIZATION> nor the names of its contributors
|
571
|
+
may be used to endorse or promote products derived from this software
|
572
|
+
without specific prior written permission.
|
573
|
+
|
574
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
575
|
+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
576
|
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
577
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
|
578
|
+
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
579
|
+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
580
|
+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
581
|
+
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
582
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
583
|
+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
584
|
+
|
585
|
+
==========================================================================
|
586
|
+
The following license applies to easymock.jar
|
587
|
+
--------------------------------------------------------------------------
|
588
|
+
EasyMock 2 License (MIT License)
|
589
|
+
Copyright (c) 2001-2007 OFFIS, Tammo Freese.
|
590
|
+
|
591
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
592
|
+
this software and associated documentation files (the "Software"), to deal in
|
593
|
+
the Software without restriction, including without limitation the rights to
|
594
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
595
|
+
of the Software, and to permit persons to whom the Software is furnished to do
|
596
|
+
so, subject to the following conditions:
|
597
|
+
|
598
|
+
The above copyright notice and this permission notice shall be included in all
|
599
|
+
copies or substantial portions of the Software.
|
600
|
+
|
601
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
602
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
603
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
604
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
605
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
606
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
607
|
+
SOFTWARE.
|
608
|
+
|