Kitxuuu commited on
Commit
b073627
·
verified ·
1 Parent(s): 2a57a3c

Add files using upload-large-folder tool

Browse files
local-test-tika-full-01-vuln_6/afc-tika/LICENSE.txt ADDED
@@ -0,0 +1,461 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
203
+
204
+
205
+
206
+ APACHE TIKA SUBCOMPONENTS
207
+
208
+ Apache Tika includes a number of subcomponents with separate copyright notices
209
+ and license terms. Your use of these subcomponents is subject to the terms and
210
+ conditions of the following licenses.
211
+ -------------------------------
212
+ MIME type information from file-4.26.tar.gz (http://www.darwinsys.com/file/)
213
+
214
+ Copyright (c) Ian F. Darwin 1986, 1987, 1989, 1990, 1991, 1992, 1994, 1995.
215
+ Software written by Ian F. Darwin and others;
216
+ maintained 1994- Christos Zoulas.
217
+
218
+ This software is not subject to any export provision of the United States
219
+ Department of Commerce, and may be exported to any country or planet.
220
+
221
+ Redistribution and use in source and binary forms, with or without
222
+ modification, are permitted provided that the following conditions
223
+ are met:
224
+ 1. Redistributions of source code must retain the above copyright
225
+ notice immediately at the beginning of the file, without modification,
226
+ this list of conditions, and the following disclaimer.
227
+ 2. Redistributions in binary form must reproduce the above copyright
228
+ notice, this list of conditions and the following disclaimer in the
229
+ documentation and/or other materials provided with the distribution.
230
+
231
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
232
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
233
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
234
+ ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR
235
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
236
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
237
+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
238
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
239
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
240
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
241
+ SUCH DAMAGE.
242
+
243
+ -------------------------------
244
+ Charset detection code from ICU4J (http://site.icu-project.org/)
245
+
246
+ Copyright (c) 1995-2009 International Business Machines Corporation
247
+ and others
248
+
249
+ All rights reserved.
250
+
251
+ Permission is hereby granted, free of charge, to any person obtaining
252
+ a copy of this software and associated documentation files (the
253
+ "Software"), to deal in the Software without restriction, including
254
+ without limitation the rights to use, copy, modify, merge, publish,
255
+ distribute, and/or sell copies of the Software, and to permit persons
256
+ to whom the Software is furnished to do so, provided that the above
257
+ copyright notice(s) and this permission notice appear in all copies
258
+ of the Software and that both the above copyright notice(s) and this
259
+ permission notice appear in supporting documentation.
260
+
261
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
262
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
263
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS.
264
+ IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE
265
+ BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES,
266
+ OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
267
+ WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
268
+ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
269
+ SOFTWARE.
270
+
271
+ Except as contained in this notice, the name of a copyright holder shall
272
+ not be used in advertising or otherwise to promote the sale, use or other
273
+ dealings in this Software without prior written authorization of the
274
+ copyright holder.
275
+
276
+ -------------------------------
277
+ Parsing functionality provided by the NetCDF Java Library (http://www.unidata.ucar.edu/software/netcdf-java/)
278
+
279
+ Copyright 1993-2010 University Corporation for Atmospheric Research/Unidata
280
+
281
+ Portions of this software were developed by the Unidata Program at the University
282
+ Corporation for Atmospheric Research.
283
+
284
+ Access and use of this software shall impose the following obligations and understandings
285
+ on the user. The user is granted the right, without any fee or cost, to use, copy, modify,
286
+ alter, enhance and distribute this software, and any derivative works thereof, and its
287
+ supporting documentation for any purpose whatsoever, provided that this entire notice
288
+ appears in all copies of the software, derivative works and supporting documentation. Further,
289
+ UCAR requests that the user credit UCAR/Unidata in any publications that result from the use
290
+ of this software or in any product that includes this software, although this is not an obligation.
291
+ The names UCAR and/or Unidata, however, may not be used in any advertising or publicity to endorse
292
+ or promote any products or commercial entity unless specific written permission is obtained from
293
+ UCAR/Unidata. The user also understands that UCAR/Unidata is not obligated to provide the user with
294
+ any support, consulting, training or assistance of any kind with regard to the use, operation and
295
+ performance of this software nor to provide the user with any updates, revisions, new versions or
296
+ "bug fixes."
297
+
298
+ THIS SOFTWARE IS PROVIDED BY UCAR/UNIDATA "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
299
+ BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
300
+ ARE DISCLAIMED. IN NO EVENT SHALL UCAR/UNIDATA BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL
301
+ DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
302
+ OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE ACCESS,
303
+ USE OR PERFORMANCE OF THIS SOFTWARE.
304
+
305
+ -------------------------------
306
+ IPTC Photo Metadata descriptions are taken from the IPTC Photo Metadata
307
+ Standard, July 2010, Copyright 2010 International Press Telecommunications
308
+ Council.
309
+
310
+ 1. The Specifications and Materials are licensed for use only on the condition that you agree to be bound by the terms of this license. Subject to this and other licensing requirements contained herein, you may, on a non-exclusive basis, use the Specifications and Materials.
311
+ 2. The IPTC openly provides the Specifications and Materials for voluntary use by individuals, partnerships, companies, corporations, organizations and any other entity for use at the entity's own risk. This disclaimer, license and release is intended to apply to the IPTC, its officers, directors, agents, representatives, members, contributors, affiliates, contractors, or co-venturers acting jointly or severally.
312
+ 3. The Document and translations thereof may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published and distributed, in whole or in part, without restriction of any kind, provided that the copyright and license notices and references to the IPTC appearing in the Document and the terms of this Specifications License Agreement are included on all such copies and derivative works. Further, upon the receipt of written permission from the IPTC, the Document may be modified for the purpose of developing applications that use IPTC Specifications or as required to translate the Document into languages other than English.
313
+ 4. Any use, duplication, distribution, or exploitation of the Document and Specifications and Materials in any manner is at your own risk.
314
+ 5. NO WARRANTY, EXPRESSED OR IMPLIED, IS MADE REGARDING THE ACCURACY, ADEQUACY, COMPLETENESS, LEGALITY, RELIABILITY OR USEFULNESS OF ANY INFORMATION CONTAINED IN THE DOCUMENT OR IN ANY SPECIFICATION OR OTHER PRODUCT OR SERVICE PRODUCED OR SPONSORED BY THE IPTC. THE DOCUMENT AND THE INFORMATION CONTAINED HEREIN AND INCLUDED IN ANY SPECIFICATION OR OTHER PRODUCT OR SERVICE OF THE IPTC IS PROVIDED ON AN "AS IS" BASIS. THE IPTC DISCLAIMS ALL WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, ANY ACTUAL OR ASSERTED WARRANTY OF NON-INFRINGEMENT OF PROPRIETARY RIGHTS, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE. NEITHER THE IPTC NOR ITS CONTRIBUTORS SHALL BE HELD LIABLE FOR ANY IMPROPER OR INCORRECT USE OF INFORMATION. NEITHER THE IPTC NOR ITS CONTRIBUTORS ASSUME ANY RESPONSIBILITY FOR ANYONE'S USE OF INFORMATION PROVIDED BY THE IPTC. IN NO EVENT SHALL THE IPTC OR ITS CONTRIBUTORS BE LIABLE TO ANYONE FOR DAMAGES OF ANY KIND, INCLUDING BUT NOT LIMITED TO, COMPENSATORY DAMAGES, LOST PROFITS, LOST DATA OR ANY FORM OF SPECIAL, INCIDENTAL, INDIRECT, CONSEQUENTIAL OR PUNITIVE DAMAGES OF ANY KIND WHETHER BASED ON BREACH OF CONTRACT OR WARRANTY, TORT, PRODUCT LIABILITY OR OTHERWISE.
315
+ 6. The IPTC takes no position regarding the validity or scope of any Intellectual Property or other rights that might be claimed to pertain to the implementation or use of the technology described in the Document or the extent to which any license under such rights might or might not be available. The IPTC does not represent that it has made any effort to identify any such rights. Copies of claims of rights made available for publication, assurances of licenses to be made available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementers or users of the Specifications and Materials, can be obtained from the Managing Director of the IPTC.
316
+ 7. By using the Specifications and Materials including the Document in any manner or for any purpose, you release the IPTC from all liabilities, claims, causes of action, allegations, losses, injuries, damages, or detriments of any nature arising from or relating to the use of the Specifications, Materials or any portion thereof. You further agree not to file a lawsuit, make a claim, or take any other formal or informal legal action against the IPTC, resulting from your acquisition, use, duplication, distribution, or exploitation of the Specifications, Materials or any portion thereof. Finally, you hereby agree that the IPTC is not liable for any direct, indirect, special or consequential damages arising from or relating to your acquisition, use, duplication, distribution, or exploitation of the Specifications, Materials or any portion thereof.
317
+ 8. Specifications and Materials may be downloaded or copied provided that ALL copies retain the ownership, copyright and license notices.
318
+ 9. Materials may not be edited, modified, or presented in a context that creates a misleading or false impression or statement as to the positions, actions, or statements of the IPTC.
319
+ 10. The name and trademarks of the IPTC may not be used in advertising, publicity, or in relation to products or services and their names without the specific, written prior permission of the IPTC. Any permitted use of the trademarks of the IPTC, whether registered or not, shall be accompanied by an appropriate mark and attribution, as agreed with the IPTC.
320
+ 11. Specifications may be extended by both members and non-members to provide additional functionality (Extension Specifications) provided that there is a clear recognition of the IPTC IP and its ownership in the Extension Specifications and the related documentation and provided that the extensions are clearly identified and provided that a perpetual license is granted by the creator of the Extension Specifications for other members and non-members to use the Extension Specifications and to continue extensions of the Extension Specifications. The IPTC does not waive any of its rights in the Specifications and Materials in this context. The Extension Specifications may be considered the intellectual property of their creator. The IPTC expressly disclaims any responsibility for damage caused by an extension to the Specifications.
321
+ 12. Specifications and Materials may be included in derivative work of both members and non-members provided that there is a clear recognition of the IPTC IP and its ownership in the derivative work and its related documentation. The IPTC does not waive any of its rights in the Specifications and Materials in this context. Derivative work in its entirety may be considered the intellectual property of the creator of the work .The IPTC expressly disclaims any responsibility for damage caused when its IP is used in a derivative context.
322
+ 13. This Specifications License Agreement is perpetual subject to your conformance to the terms of this Agreement. The IPTC may terminate this Specifications License Agreement immediately upon your breach of this Agreement and, upon such termination you will cease all use, duplication, distribution, and/or exploitation in any manner of the Specifications and Materials.
323
+ 14. This Specifications License Agreement reflects the entire agreement of the parties regarding the subject matter hereof and supersedes all prior agreements or representations regarding such matters, whether written or oral. To the extent any portion or provision of this Specifications License Agreement is found to be illegal or unenforceable, then the remaining provisions of this Specifications License Agreement will remain in full force and effect and the illegal or unenforceable provision will be construed to give it such effect as it may properly have that is consistent with the intentions of the parties.
324
+ 15. This Specifications License Agreement may only be modified in writing signed by an authorized representative of the IPTC.
325
+ 16. This Specifications License Agreement is governed by the law of United Kingdom, as such law is applied to contracts made and fully performed in the United Kingdom. Any disputes arising from or relating to this Specifications License Agreement will be resolved in the courts of the United Kingdom. You consent to the jurisdiction of such courts over you and covenant not to assert before such courts any objection to proceeding in such forums.
326
+
327
+ -------------------------------
328
+ JUnRAR (https://github.com/edmund-wagner/junrar/)
329
+
330
+ JUnRAR is based on the UnRAR tool, and covered by the same license
331
+ It was formerly available from http://java-unrar.svn.sourceforge.net/
332
+
333
+ ****** ***** ****** UnRAR - free utility for RAR archives
334
+ ** ** ** ** ** ** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
335
+ ****** ******* ****** License for use and distribution of
336
+ ** ** ** ** ** ** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
337
+ ** ** ** ** ** ** FREE portable version
338
+ ~~~~~~~~~~~~~~~~~~~~~
339
+
340
+ The source code of UnRAR utility is freeware. This means:
341
+
342
+ 1. All copyrights to RAR and the utility UnRAR are exclusively
343
+ owned by the author - Alexander Roshal.
344
+
345
+ 2. The UnRAR sources may be used in any software to handle RAR
346
+ archives without limitations free of charge, but cannot be used
347
+ to re-create the RAR compression algorithm, which is proprietary.
348
+ Distribution of modified UnRAR sources in separate form or as a
349
+ part of other software is permitted, provided that it is clearly
350
+ stated in the documentation and source comments that the code may
351
+ not be used to develop a RAR (WinRAR) compatible archiver.
352
+
353
+ 3. The UnRAR utility may be freely distributed. It is allowed
354
+ to distribute UnRAR inside of other software packages.
355
+
356
+ 4. THE RAR ARCHIVER AND THE UnRAR UTILITY ARE DISTRIBUTED "AS IS".
357
+ NO WARRANTY OF ANY KIND IS EXPRESSED OR IMPLIED. YOU USE AT
358
+ YOUR OWN RISK. THE AUTHOR WILL NOT BE LIABLE FOR DATA LOSS,
359
+ DAMAGES, LOSS OF PROFITS OR ANY OTHER KIND OF LOSS WHILE USING
360
+ OR MISUSING THIS SOFTWARE.
361
+
362
+ 5. Installing and using the UnRAR utility signifies acceptance of
363
+ these terms and conditions of the license.
364
+
365
+ 6. If you don't agree with terms of the license you must remove
366
+ UnRAR files from your storage devices and cease to use the
367
+ utility.
368
+
369
+ Thank you for your interest in RAR and UnRAR. Alexander L. Roshal
370
+
371
+ -------------------------------
372
+ Sqlite (optional) (bundled in org.xerial's sqlite-jdbc)
373
+ This product bundles Sqlite, which is in the Public Domain. For details
374
+ see: https://www.sqlite.org/copyright.html
375
+
376
+ -------------------------------
377
+ Sample DXF file testDXF.dxf (in tika-parsers/src/test/resources/test-documents)
378
+ Copyright 2012 Ho Thanh Tam, www.cadkit.net
379
+
380
+ Permission to use, copy, modify, and distribute this software and its
381
+ documentation for any purpose is hereby granted without fee, provided
382
+ that the above copyright notice, author statement appear in all copies
383
+ of this software and related documentation.
384
+
385
+ -------------------------------
386
+ H2 Database in tika-eval
387
+ This software contains unmodified binary redistributions for
388
+ H2 database engine (http://www.h2database.com/),
389
+ which is dual licensed and available under the MPL 2.0
390
+ (Mozilla Public License) or under the EPL 1.0 (Eclipse Public License).
391
+ An original copy of the license agreement can be found at:
392
+ http://www.h2database.com/html/license.html
393
+
394
+ -------------------------------
395
+ org.brotli.dec dependency of commons-compress (MIT License)
396
+
397
+ Copyright (c) 2009, 2010, 2013-2016 by the Brotli Authors.
398
+
399
+ Permission is hereby granted, free of charge, to any person obtaining a copy
400
+ of this software and associated documentation files (the "Software"), to deal
401
+ in the Software without restriction, including without limitation the rights
402
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
403
+ copies of the Software, and to permit persons to whom the Software is
404
+ furnished to do so, subject to the following conditions:
405
+
406
+ The above copyright notice and this permission notice shall be included in
407
+ all copies or substantial portions of the Software.
408
+
409
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
410
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
411
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
412
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
413
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
414
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
415
+ THE SOFTWARE.
416
+
417
+ ----------------------------------------------
418
+ quine.gz test file (MIT License)
419
+ https://twitter.com/WhoStoleHonno/status/1153315367235784704?s=20
420
+
421
+ Copyright (c) 2019 by Matthew Barber.
422
+
423
+ Permission is hereby granted, free of charge, to any person obtaining a copy
424
+ of this software and associated documentation files (the "Software"), to deal
425
+ in the Software without restriction, including without limitation the rights
426
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
427
+ copies of the Software, and to permit persons to whom the Software is
428
+ furnished to do so, subject to the following conditions:
429
+
430
+ The above copyright notice and this permission notice shall be included in
431
+ all copies or substantial portions of the Software.
432
+
433
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
434
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
435
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
436
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
437
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
438
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
439
+ THE SOFTWARE.
440
+
441
+ com.googlecode.plist:dd-plist
442
+ dd-plist - An open source library to parse and generate property lists
443
+ Copyright (C) 2016 Daniel Dreibrodt
444
+
445
+ Permission is hereby granted, free of charge, to any person obtaining a copy
446
+ of this software and associated documentation files (the "Software"), to deal
447
+ in the Software without restriction, including without limitation the rights
448
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
449
+ copies of the Software, and to permit persons to whom the Software is
450
+ furnished to do so, subject to the following conditions:
451
+
452
+ The above copyright notice and this permission notice shall be included in
453
+ all copies or substantial portions of the Software.
454
+
455
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
456
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
457
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
458
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
459
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
460
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
461
+ SOFTWARE.
local-test-tika-full-01-vuln_6/afc-tika/NOTICE.txt ADDED
@@ -0,0 +1,1568 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Apache Tika
2
+ Copyright 2021 The Apache Software Foundation
3
+
4
+ This product includes software developed at
5
+ The Apache Software Foundation (http://www.apache.org/).
6
+
7
+ Copyright 1993-2010 University Corporation for Atmospheric Research/Unidata
8
+ This software contains code derived from UCAR/Unidata's NetCDF library.
9
+
10
+ Tika-server component uses CDDL-licensed dependencies: jersey (http://jersey.java.net/) and
11
+ Grizzly (http://grizzly.java.net/)
12
+
13
+ Tika-parsers component uses CDDL/LGPL dual-licensed dependency: jhighlight (https://github.com/codelibs/jhighlight)
14
+
15
+ OpenCSV: Copyright 2005 Bytecode Pty Ltd. Licensed under the Apache License, Version 2.0
16
+
17
+ IPTC Photo Metadata descriptions Copyright 2010 International Press Telecommunications Council.
18
+
19
+ Tika-mimetypes.xml includes mimetype definitions that were adapted from the PRONOM Technical Registry
20
+ by The National Archives (http://www.nationalarchives.gov.uk/PRONOM/Default.aspx). PRONOM is published
21
+ under the Open Government License 3.0 (http://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/)
22
+
23
+ -------------------------------
24
+ For compatibility with Java > 8
25
+ org.glassfish.jaxb:jaxb-runtime
26
+
27
+ License: CDDL 1.1, GPL2 w/ CPE
28
+
29
+ COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.1
30
+ 1. Definitions.
31
+
32
+ 1.1. "Contributor" means each individual or entity that creates or
33
+ contributes to the creation of Modifications.
34
+
35
+ 1.2. "Contributor Version" means the combination of the Original
36
+ Software, prior Modifications used by a Contributor (if any), and
37
+ the Modifications made by that particular Contributor.
38
+
39
+ 1.3. "Covered Software" means (a) the Original Software, or (b)
40
+ Modifications, or (c) the combination of files containing Original
41
+ Software with files containing Modifications, in each case including
42
+ portions thereof.
43
+
44
+ 1.4. "Executable" means the Covered Software in any form other than
45
+ Source Code.
46
+
47
+ 1.5. "Initial Developer" means the individual or entity that first
48
+ makes Original Software available under this License.
49
+
50
+ 1.6. "Larger Work" means a work which combines Covered Software or
51
+ portions thereof with code not governed by the terms of this License.
52
+
53
+ 1.7. "License" means this document.
54
+
55
+ 1.8. "Licensable" means having the right to grant, to the maximum
56
+ extent possible, whether at the time of the initial grant or
57
+ subsequently acquired, any and all of the rights conveyed herein.
58
+
59
+ 1.9. "Modifications" means the Source Code and Executable form of
60
+ any of the following:
61
+
62
+ A. Any file that results from an addition to, deletion from or
63
+ modification of the contents of a file containing Original Software
64
+ or previous Modifications;
65
+
66
+ B. Any new file that contains any part of the Original Software or
67
+ previous Modification; or
68
+
69
+ C. Any new file that is contributed or otherwise made available
70
+ under the terms of this License.
71
+
72
+ 1.10. "Original Software" means the Source Code and Executable form
73
+ of computer software code that is originally released under this
74
+ License.
75
+
76
+ 1.11. "Patent Claims" means any patent claim(s), now owned or
77
+ hereafter acquired, including without limitation, method, process,
78
+ and apparatus claims, in any patent Licensable by grantor.
79
+
80
+ 1.12. "Source Code" means (a) the common form of computer software
81
+ code in which modifications are made and (b) associated
82
+ documentation included in or with such code.
83
+
84
+ 1.13. "You" (or "Your") means an individual or a legal entity
85
+ exercising rights under, and complying with all of the terms of,
86
+ this License. For legal entities, "You" includes any entity which
87
+ controls, is controlled by, or is under common control with You. For
88
+ purposes of this definition, "control" means (a) the power, direct
89
+ or indirect, to cause the direction or management of such entity,
90
+ whether by contract or otherwise, or (b) ownership of more than
91
+ fifty percent (50%) of the outstanding shares or beneficial
92
+ ownership of such entity.
93
+
94
+ 2. License Grants.
95
+
96
+ 2.1. The Initial Developer Grant.
97
+
98
+ Conditioned upon Your compliance with Section 3.1 below and subject
99
+ to third party intellectual property claims, the Initial Developer
100
+ hereby grants You a world-wide, royalty-free, non-exclusive license:
101
+
102
+ (a) under intellectual property rights (other than patent or
103
+ trademark) Licensable by Initial Developer, to use, reproduce,
104
+ modify, display, perform, sublicense and distribute the Original
105
+ Software (or portions thereof), with or without Modifications,
106
+ and/or as part of a Larger Work; and
107
+
108
+ (b) under Patent Claims infringed by the making, using or selling of
109
+ Original Software, to make, have made, use, practice, sell, and
110
+ offer for sale, and/or otherwise dispose of the Original Software
111
+ (or portions thereof).
112
+
113
+ (c) The licenses granted in Sections 2.1(a) and (b) are effective on
114
+ the date Initial Developer first distributes or otherwise makes the
115
+ Original Software available to a third party under the terms of this
116
+ License.
117
+
118
+ (d) Notwithstanding Section 2.1(b) above, no patent license is
119
+ granted: (1) for code that You delete from the Original Software, or
120
+ (2) for infringements caused by: (i) the modification of the
121
+ Original Software, or (ii) the combination of the Original Software
122
+ with other software or devices.
123
+
124
+ 2.2. Contributor Grant.
125
+
126
+ Conditioned upon Your compliance with Section 3.1 below and subject
127
+ to third party intellectual property claims, each Contributor hereby
128
+ grants You a world-wide, royalty-free, non-exclusive license:
129
+
130
+ (a) under intellectual property rights (other than patent or
131
+ trademark) Licensable by Contributor to use, reproduce, modify,
132
+ display, perform, sublicense and distribute the Modifications
133
+ created by such Contributor (or portions thereof), either on an
134
+ unmodified basis, with other Modifications, as Covered Software
135
+ and/or as part of a Larger Work; and
136
+
137
+ (b) under Patent Claims infringed by the making, using, or selling
138
+ of Modifications made by that Contributor either alone and/or in
139
+ combination with its Contributor Version (or portions of such
140
+ combination), to make, use, sell, offer for sale, have made, and/or
141
+ otherwise dispose of: (1) Modifications made by that Contributor (or
142
+ portions thereof); and (2) the combination of Modifications made by
143
+ that Contributor with its Contributor Version (or portions of such
144
+ combination).
145
+
146
+ (c) The licenses granted in Sections 2.2(a) and 2.2(b) are effective
147
+ on the date Contributor first distributes or otherwise makes the
148
+ Modifications available to a third party.
149
+
150
+ (d) Notwithstanding Section 2.2(b) above, no patent license is
151
+ granted: (1) for any code that Contributor has deleted from the
152
+ Contributor Version; (2) for infringements caused by: (i) third
153
+ party modifications of Contributor Version, or (ii) the combination
154
+ of Modifications made by that Contributor with other software
155
+ (except as part of the Contributor Version) or other devices; or (3)
156
+ under Patent Claims infringed by Covered Software in the absence of
157
+ Modifications made by that Contributor.
158
+
159
+ 3. Distribution Obligations.
160
+
161
+ 3.1. Availability of Source Code.
162
+
163
+ Any Covered Software that You distribute or otherwise make available
164
+ in Executable form must also be made available in Source Code form
165
+ and that Source Code form must be distributed only under the terms
166
+ of this License. You must include a copy of this License with every
167
+ copy of the Source Code form of the Covered Software You distribute
168
+ or otherwise make available. You must inform recipients of any such
169
+ Covered Software in Executable form as to how they can obtain such
170
+ Covered Software in Source Code form in a reasonable manner on or
171
+ through a medium customarily used for software exchange.
172
+
173
+ 3.2. Modifications.
174
+
175
+ The Modifications that You create or to which You contribute are
176
+ governed by the terms of this License. You represent that You
177
+ believe Your Modifications are Your original creation(s) and/or You
178
+ have sufficient rights to grant the rights conveyed by this License.
179
+
180
+ 3.3. Required Notices.
181
+
182
+ You must include a notice in each of Your Modifications that
183
+ identifies You as the Contributor of the Modification. You may not
184
+ remove or alter any copyright, patent or trademark notices contained
185
+ within the Covered Software, or any notices of licensing or any
186
+ descriptive text giving attribution to any Contributor or the
187
+ Initial Developer.
188
+
189
+ 3.4. Application of Additional Terms.
190
+
191
+ You may not offer or impose any terms on any Covered Software in
192
+ Source Code form that alters or restricts the applicable version of
193
+ this License or the recipients' rights hereunder. You may choose to
194
+ offer, and to charge a fee for, warranty, support, indemnity or
195
+ liability obligations to one or more recipients of Covered Software.
196
+ However, you may do so only on Your own behalf, and not on behalf of
197
+ the Initial Developer or any Contributor. You must make it
198
+ absolutely clear that any such warranty, support, indemnity or
199
+ liability obligation is offered by You alone, and You hereby agree
200
+ to indemnify the Initial Developer and every Contributor for any
201
+ liability incurred by the Initial Developer or such Contributor as a
202
+ result of warranty, support, indemnity or liability terms You offer.
203
+
204
+ 3.5. Distribution of Executable Versions.
205
+
206
+ You may distribute the Executable form of the Covered Software under
207
+ the terms of this License or under the terms of a license of Your
208
+ choice, which may contain terms different from this License,
209
+ provided that You are in compliance with the terms of this License
210
+ and that the license for the Executable form does not attempt to
211
+ limit or alter the recipient's rights in the Source Code form from
212
+ the rights set forth in this License. If You distribute the Covered
213
+ Software in Executable form under a different license, You must make
214
+ it absolutely clear that any terms which differ from this License
215
+ are offered by You alone, not by the Initial Developer or
216
+ Contributor. You hereby agree to indemnify the Initial Developer and
217
+ every Contributor for any liability incurred by the Initial
218
+ Developer or such Contributor as a result of any such terms You offer.
219
+
220
+ 3.6. Larger Works.
221
+
222
+ You may create a Larger Work by combining Covered Software with
223
+ other code not governed by the terms of this License and distribute
224
+ the Larger Work as a single product. In such a case, You must make
225
+ sure the requirements of this License are fulfilled for the Covered
226
+ Software.
227
+
228
+ 4. Versions of the License.
229
+
230
+ 4.1. New Versions.
231
+
232
+ Oracle is the initial license steward and may publish revised and/or
233
+ new versions of this License from time to time. Each version will be
234
+ given a distinguishing version number. Except as provided in Section
235
+ 4.3, no one other than the license steward has the right to modify
236
+ this License.
237
+
238
+ 4.2. Effect of New Versions.
239
+
240
+ You may always continue to use, distribute or otherwise make the
241
+ Covered Software available under the terms of the version of the
242
+ License under which You originally received the Covered Software. If
243
+ the Initial Developer includes a notice in the Original Software
244
+ prohibiting it from being distributed or otherwise made available
245
+ under any subsequent version of the License, You must distribute and
246
+ make the Covered Software available under the terms of the version
247
+ of the License under which You originally received the Covered
248
+ Software. Otherwise, You may also choose to use, distribute or
249
+ otherwise make the Covered Software available under the terms of any
250
+ subsequent version of the License published by the license steward.
251
+
252
+ 4.3. Modified Versions.
253
+
254
+ When You are an Initial Developer and You want to create a new
255
+ license for Your Original Software, You may create and use a
256
+ modified version of this License if You: (a) rename the license and
257
+ remove any references to the name of the license steward (except to
258
+ note that the license differs from this License); and (b) otherwise
259
+ make it clear that the license contains terms which differ from this
260
+ License.
261
+
262
+ 5. DISCLAIMER OF WARRANTY.
263
+
264
+ COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS,
265
+ WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED,
266
+ INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED SOFTWARE
267
+ IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR
268
+ NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF
269
+ THE COVERED SOFTWARE IS WITH YOU. SHOULD ANY COVERED SOFTWARE PROVE
270
+ DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY
271
+ OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING,
272
+ REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN
273
+ ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY COVERED SOFTWARE IS
274
+ AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
275
+
276
+ 6. TERMINATION.
277
+
278
+ 6.1. This License and the rights granted hereunder will terminate
279
+ automatically if You fail to comply with terms herein and fail to
280
+ cure such breach within 30 days of becoming aware of the breach.
281
+ Provisions which, by their nature, must remain in effect beyond the
282
+ termination of this License shall survive.
283
+
284
+ 6.2. If You assert a patent infringement claim (excluding
285
+ declaratory judgment actions) against Initial Developer or a
286
+ Contributor (the Initial Developer or Contributor against whom You
287
+ assert such claim is referred to as "Participant") alleging that the
288
+ Participant Software (meaning the Contributor Version where the
289
+ Participant is a Contributor or the Original Software where the
290
+ Participant is the Initial Developer) directly or indirectly
291
+ infringes any patent, then any and all rights granted directly or
292
+ indirectly to You by such Participant, the Initial Developer (if the
293
+ Initial Developer is not the Participant) and all Contributors under
294
+ Sections 2.1 and/or 2.2 of this License shall, upon 60 days notice
295
+ from Participant terminate prospectively and automatically at the
296
+ expiration of such 60 day notice period, unless if within such 60
297
+ day period You withdraw Your claim with respect to the Participant
298
+ Software against such Participant either unilaterally or pursuant to
299
+ a written agreement with Participant.
300
+
301
+ 6.3. If You assert a patent infringement claim against Participant
302
+ alleging that the Participant Software directly or indirectly
303
+ infringes any patent where such claim is resolved (such as by
304
+ license or settlement) prior to the initiation of patent
305
+ infringement litigation, then the reasonable value of the licenses
306
+ granted by such Participant under Sections 2.1 or 2.2 shall be taken
307
+ into account in determining the amount or value of any payment or
308
+ license.
309
+
310
+ 6.4. In the event of termination under Sections 6.1 or 6.2 above,
311
+ all end user licenses that have been validly granted by You or any
312
+ distributor hereunder prior to termination (excluding licenses
313
+ granted to You by any distributor) shall survive termination.
314
+
315
+ 7. LIMITATION OF LIABILITY.
316
+
317
+ UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
318
+ (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE
319
+ INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF
320
+ COVERED SOFTWARE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE
321
+ TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR
322
+ CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT
323
+ LIMITATION, DAMAGES FOR LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER
324
+ FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR
325
+ LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE
326
+ POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF LIABILITY SHALL NOT
327
+ APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY RESULTING FROM SUCH
328
+ PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW PROHIBITS SUCH
329
+ LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR
330
+ LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION
331
+ AND LIMITATION MAY NOT APPLY TO YOU.
332
+
333
+ 8. U.S. GOVERNMENT END USERS.
334
+
335
+ The Covered Software is a "commercial item," as that term is defined
336
+ in 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer
337
+ software" (as that term is defined at 48 C.F.R. §
338
+ 252.227-7014(a)(1)) and "commercial computer software documentation"
339
+ as such terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent
340
+ with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4
341
+ (June 1995), all U.S. Government End Users acquire Covered Software
342
+ with only those rights set forth herein. This U.S. Government Rights
343
+ clause is in lieu of, and supersedes, any other FAR, DFAR, or other
344
+ clause or provision that addresses Government rights in computer
345
+ software under this License.
346
+
347
+ 9. MISCELLANEOUS.
348
+
349
+ This License represents the complete agreement concerning subject
350
+ matter hereof. If any provision of this License is held to be
351
+ unenforceable, such provision shall be reformed only to the extent
352
+ necessary to make it enforceable. This License shall be governed by
353
+ the law of the jurisdiction specified in a notice contained within
354
+ the Original Software (except to the extent applicable law, if any,
355
+ provides otherwise), excluding such jurisdiction's conflict-of-law
356
+ provisions. Any litigation relating to this License shall be subject
357
+ to the jurisdiction of the courts located in the jurisdiction and
358
+ venue specified in a notice contained within the Original Software,
359
+ with the losing party responsible for costs, including, without
360
+ limitation, court costs and reasonable attorneys' fees and expenses.
361
+ The application of the United Nations Convention on Contracts for
362
+ the International Sale of Goods is expressly excluded. Any law or
363
+ regulation which provides that the language of a contract shall be
364
+ construed against the drafter shall not apply to this License. You
365
+ agree that You alone are responsible for compliance with the United
366
+ States export administration regulations (and the export control
367
+ laws and regulation of any other countries) when You use, distribute
368
+ or otherwise make available any Covered Software.
369
+
370
+ 10. RESPONSIBILITY FOR CLAIMS.
371
+
372
+ As between Initial Developer and the Contributors, each party is
373
+ responsible for claims and damages arising, directly or indirectly,
374
+ out of its utilization of rights under this License and You agree to
375
+ work with Initial Developer and Contributors to distribute such
376
+ responsibility on an equitable basis. Nothing herein is intended or
377
+ shall be deemed to constitute any admission of liability.
378
+
379
+ NOTICE PURSUANT TO SECTION 9 OF THE COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL)
380
+
381
+ The code released under the CDDL shall be governed by the laws of the
382
+ State of California (excluding conflict-of-law provisions). Any
383
+ litigation relating to this License shall be subject to the jurisdiction
384
+ of the Federal Courts of the Northern District of California and the
385
+ state courts of the State of California, with venue lying in Santa Clara
386
+ County, California.
387
+
388
+ The GNU General Public License (GPL) Version 2, June 1991
389
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
390
+ 51 Franklin Street, Fifth Floor
391
+ Boston, MA 02110-1335
392
+ USA
393
+
394
+ Everyone is permitted to copy and distribute verbatim copies
395
+ of this license document, but changing it is not allowed.
396
+
397
+ Preamble
398
+
399
+ The licenses for most software are designed to take away your freedom to
400
+ share and change it. By contrast, the GNU General Public License is
401
+ intended to guarantee your freedom to share and change free software--to
402
+ make sure the software is free for all its users. This General Public
403
+ License applies to most of the Free Software Foundation's software and
404
+ to any other program whose authors commit to using it. (Some other Free
405
+ Software Foundation software is covered by the GNU Library General
406
+ Public License instead.) You can apply it to your programs, too.
407
+
408
+ When we speak of free software, we are referring to freedom, not price.
409
+ Our General Public Licenses are designed to make sure that you have the
410
+ freedom to distribute copies of free software (and charge for this
411
+ service if you wish), that you receive source code or can get it if you
412
+ want it, that you can change the software or use pieces of it in new
413
+ free programs; and that you know you can do these things.
414
+
415
+ To protect your rights, we need to make restrictions that forbid anyone
416
+ to deny you these rights or to ask you to surrender the rights. These
417
+ restrictions translate to certain responsibilities for you if you
418
+ distribute copies of the software, or if you modify it.
419
+
420
+ For example, if you distribute copies of such a program, whether gratis
421
+ or for a fee, you must give the recipients all the rights that you have.
422
+ You must make sure that they, too, receive or can get the source code.
423
+ And you must show them these terms so they know their rights.
424
+
425
+ We protect your rights with two steps: (1) copyright the software, and
426
+ (2) offer you this license which gives you legal permission to copy,
427
+ distribute and/or modify the software.
428
+
429
+ Also, for each author's protection and ours, we want to make certain
430
+ that everyone understands that there is no warranty for this free
431
+ software. If the software is modified by someone else and passed on, we
432
+ want its recipients to know that what they have is not the original, so
433
+ that any problems introduced by others will not reflect on the original
434
+ authors' reputations.
435
+
436
+ Finally, any free program is threatened constantly by software patents.
437
+ We wish to avoid the danger that redistributors of a free program will
438
+ individually obtain patent licenses, in effect making the program
439
+ proprietary. To prevent this, we have made it clear that any patent must
440
+ be licensed for everyone's free use or not licensed at all.
441
+
442
+ The precise terms and conditions for copying, distribution and
443
+ modification follow.
444
+
445
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
446
+
447
+ 0. This License applies to any program or other work which contains a
448
+ notice placed by the copyright holder saying it may be distributed under
449
+ the terms of this General Public License. The "Program", below, refers
450
+ to any such program or work, and a "work based on the Program" means
451
+ either the Program or any derivative work under copyright law: that is
452
+ to say, a work containing the Program or a portion of it, either
453
+ verbatim or with modifications and/or translated into another language.
454
+ (Hereinafter, translation is included without limitation in the term
455
+ "modification".) Each licensee is addressed as "you".
456
+
457
+ Activities other than copying, distribution and modification are not
458
+ covered by this License; they are outside its scope. The act of running
459
+ the Program is not restricted, and the output from the Program is
460
+ covered only if its contents constitute a work based on the Program
461
+ (independent of having been made by running the Program). Whether that
462
+ is true depends on what the Program does.
463
+
464
+ 1. You may copy and distribute verbatim copies of the Program's source
465
+ code as you receive it, in any medium, provided that you conspicuously
466
+ and appropriately publish on each copy an appropriate copyright notice
467
+ and disclaimer of warranty; keep intact all the notices that refer to
468
+ this License and to the absence of any warranty; and give any other
469
+ recipients of the Program a copy of this License along with the Program.
470
+
471
+ You may charge a fee for the physical act of transferring a copy, and
472
+ you may at your option offer warranty protection in exchange for a fee.
473
+
474
+ 2. You may modify your copy or copies of the Program or any portion of
475
+ it, thus forming a work based on the Program, and copy and distribute
476
+ such modifications or work under the terms of Section 1 above, provided
477
+ that you also meet all of these conditions:
478
+
479
+ a) You must cause the modified files to carry prominent notices
480
+ stating that you changed the files and the date of any change.
481
+
482
+ b) You must cause any work that you distribute or publish, that in
483
+ whole or in part contains or is derived from the Program or any part
484
+ thereof, to be licensed as a whole at no charge to all third parties
485
+ under the terms of this License.
486
+
487
+ c) If the modified program normally reads commands interactively
488
+ when run, you must cause it, when started running for such
489
+ interactive use in the most ordinary way, to print or display an
490
+ announcement including an appropriate copyright notice and a notice
491
+ that there is no warranty (or else, saying that you provide a
492
+ warranty) and that users may redistribute the program under these
493
+ conditions, and telling the user how to view a copy of this License.
494
+ (Exception: if the Program itself is interactive but does not
495
+ normally print such an announcement, your work based on the Program
496
+ is not required to print an announcement.)
497
+
498
+ These requirements apply to the modified work as a whole. If
499
+ identifiable sections of that work are not derived from the Program, and
500
+ can be reasonably considered independent and separate works in
501
+ themselves, then this License, and its terms, do not apply to those
502
+ sections when you distribute them as separate works. But when you
503
+ distribute the same sections as part of a whole which is a work based on
504
+ the Program, the distribution of the whole must be on the terms of this
505
+ License, whose permissions for other licensees extend to the entire
506
+ whole, and thus to each and every part regardless of who wrote it.
507
+
508
+ Thus, it is not the intent of this section to claim rights or contest
509
+ your rights to work written entirely by you; rather, the intent is to
510
+ exercise the right to control the distribution of derivative or
511
+ collective works based on the Program.
512
+
513
+ In addition, mere aggregation of another work not based on the Program
514
+ with the Program (or with a work based on the Program) on a volume of a
515
+ storage or distribution medium does not bring the other work under the
516
+ scope of this License.
517
+
518
+ 3. You may copy and distribute the Program (or a work based on it,
519
+ under Section 2) in object code or executable form under the terms of
520
+ Sections 1 and 2 above provided that you also do one of the following:
521
+
522
+ a) Accompany it with the complete corresponding machine-readable
523
+ source code, which must be distributed under the terms of Sections 1
524
+ and 2 above on a medium customarily used for software interchange; or,
525
+
526
+ b) Accompany it with a written offer, valid for at least three
527
+ years, to give any third party, for a charge no more than your cost
528
+ of physically performing source distribution, a complete
529
+ machine-readable copy of the corresponding source code, to be
530
+ distributed under the terms of Sections 1 and 2 above on a medium
531
+ customarily used for software interchange; or,
532
+
533
+ c) Accompany it with the information you received as to the offer to
534
+ distribute corresponding source code. (This alternative is allowed
535
+ only for noncommercial distribution and only if you received the
536
+ program in object code or executable form with such an offer, in
537
+ accord with Subsection b above.)
538
+
539
+ The source code for a work means the preferred form of the work for
540
+ making modifications to it. For an executable work, complete source code
541
+ means all the source code for all modules it contains, plus any
542
+ associated interface definition files, plus the scripts used to control
543
+ compilation and installation of the executable. However, as a special
544
+ exception, the source code distributed need not include anything that is
545
+ normally distributed (in either source or binary form) with the major
546
+ components (compiler, kernel, and so on) of the operating system on
547
+ which the executable runs, unless that component itself accompanies the
548
+ executable.
549
+
550
+ If distribution of executable or object code is made by offering access
551
+ to copy from a designated place, then offering equivalent access to copy
552
+ the source code from the same place counts as distribution of the source
553
+ code, even though third parties are not compelled to copy the source
554
+ along with the object code.
555
+
556
+ 4. You may not copy, modify, sublicense, or distribute the Program
557
+ except as expressly provided under this License. Any attempt otherwise
558
+ to copy, modify, sublicense or distribute the Program is void, and will
559
+ automatically terminate your rights under this License. However, parties
560
+ who have received copies, or rights, from you under this License will
561
+ not have their licenses terminated so long as such parties remain in
562
+ full compliance.
563
+
564
+ 5. You are not required to accept this License, since you have not
565
+ signed it. However, nothing else grants you permission to modify or
566
+ distribute the Program or its derivative works. These actions are
567
+ prohibited by law if you do not accept this License. Therefore, by
568
+ modifying or distributing the Program (or any work based on the
569
+ Program), you indicate your acceptance of this License to do so, and all
570
+ its terms and conditions for copying, distributing or modifying the
571
+ Program or works based on it.
572
+
573
+ 6. Each time you redistribute the Program (or any work based on the
574
+ Program), the recipient automatically receives a license from the
575
+ original licensor to copy, distribute or modify the Program subject to
576
+ these terms and conditions. You may not impose any further restrictions
577
+ on the recipients' exercise of the rights granted herein. You are not
578
+ responsible for enforcing compliance by third parties to this License.
579
+
580
+ 7. If, as a consequence of a court judgment or allegation of patent
581
+ infringement or for any other reason (not limited to patent issues),
582
+ conditions are imposed on you (whether by court order, agreement or
583
+ otherwise) that contradict the conditions of this License, they do not
584
+ excuse you from the conditions of this License. If you cannot distribute
585
+ so as to satisfy simultaneously your obligations under this License and
586
+ any other pertinent obligations, then as a consequence you may not
587
+ distribute the Program at all. For example, if a patent license would
588
+ not permit royalty-free redistribution of the Program by all those who
589
+ receive copies directly or indirectly through you, then the only way you
590
+ could satisfy both it and this License would be to refrain entirely from
591
+ distribution of the Program.
592
+
593
+ If any portion of this section is held invalid or unenforceable under
594
+ any particular circumstance, the balance of the section is intended to
595
+ apply and the section as a whole is intended to apply in other
596
+ circumstances.
597
+
598
+ It is not the purpose of this section to induce you to infringe any
599
+ patents or other property right claims or to contest validity of any
600
+ such claims; this section has the sole purpose of protecting the
601
+ integrity of the free software distribution system, which is implemented
602
+ by public license practices. Many people have made generous
603
+ contributions to the wide range of software distributed through that
604
+ system in reliance on consistent application of that system; it is up to
605
+ the author/donor to decide if he or she is willing to distribute
606
+ software through any other system and a licensee cannot impose that choice.
607
+
608
+ This section is intended to make thoroughly clear what is believed to be
609
+ a consequence of the rest of this License.
610
+
611
+ 8. If the distribution and/or use of the Program is restricted in
612
+ certain countries either by patents or by copyrighted interfaces, the
613
+ original copyright holder who places the Program under this License may
614
+ add an explicit geographical distribution limitation excluding those
615
+ countries, so that distribution is permitted only in or among countries
616
+ not thus excluded. In such case, this License incorporates the
617
+ limitation as if written in the body of this License.
618
+
619
+ 9. The Free Software Foundation may publish revised and/or new
620
+ versions of the General Public License from time to time. Such new
621
+ versions will be similar in spirit to the present version, but may
622
+ differ in detail to address new problems or concerns.
623
+
624
+ Each version is given a distinguishing version number. If the Program
625
+ specifies a version number of this License which applies to it and "any
626
+ later version", you have the option of following the terms and
627
+ conditions either of that version or of any later version published by
628
+ the Free Software Foundation. If the Program does not specify a version
629
+ number of this License, you may choose any version ever published by the
630
+ Free Software Foundation.
631
+
632
+ 10. If you wish to incorporate parts of the Program into other free
633
+ programs whose distribution conditions are different, write to the
634
+ author to ask for permission. For software which is copyrighted by the
635
+ Free Software Foundation, write to the Free Software Foundation; we
636
+ sometimes make exceptions for this. Our decision will be guided by the
637
+ two goals of preserving the free status of all derivatives of our free
638
+ software and of promoting the sharing and reuse of software generally.
639
+
640
+ NO WARRANTY
641
+
642
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO
643
+ WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
644
+ EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
645
+ OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND,
646
+ EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
647
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE
648
+ ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH
649
+ YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL
650
+ NECESSARY SERVICING, REPAIR OR CORRECTION.
651
+
652
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
653
+ WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
654
+ AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR
655
+ DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL
656
+ DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM
657
+ (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED
658
+ INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF
659
+ THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR
660
+ OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
661
+
662
+ END OF TERMS AND CONDITIONS
663
+
664
+ How to Apply These Terms to Your New Programs
665
+
666
+ If you develop a new program, and you want it to be of the greatest
667
+ possible use to the public, the best way to achieve this is to make it
668
+ free software which everyone can redistribute and change under these terms.
669
+
670
+ To do so, attach the following notices to the program. It is safest to
671
+ attach them to the start of each source file to most effectively convey
672
+ the exclusion of warranty; and each file should have at least the
673
+ "copyright" line and a pointer to where the full notice is found.
674
+
675
+ One line to give the program's name and a brief idea of what it does.
676
+ Copyright (C) <year> <name of author>
677
+
678
+ This program is free software; you can redistribute it and/or modify
679
+ it under the terms of the GNU General Public License as published by
680
+ the Free Software Foundation; either version 2 of the License, or
681
+ (at your option) any later version.
682
+
683
+ This program is distributed in the hope that it will be useful, but
684
+ WITHOUT ANY WARRANTY; without even the implied warranty of
685
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
686
+ General Public License for more details.
687
+
688
+ You should have received a copy of the GNU General Public License
689
+ along with this program; if not, write to the Free Software
690
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA
691
+
692
+ Also add information on how to contact you by electronic and paper mail.
693
+
694
+ If the program is interactive, make it output a short notice like this
695
+ when it starts in an interactive mode:
696
+
697
+ Gnomovision version 69, Copyright (C) year name of author
698
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type
699
+ `show w'. This is free software, and you are welcome to redistribute
700
+ it under certain conditions; type `show c' for details.
701
+
702
+ The hypothetical commands `show w' and `show c' should show the
703
+ appropriate parts of the General Public License. Of course, the commands
704
+ you use may be called something other than `show w' and `show c'; they
705
+ could even be mouse-clicks or menu items--whatever suits your program.
706
+
707
+ You should also get your employer (if you work as a programmer) or your
708
+ school, if any, to sign a "copyright disclaimer" for the program, if
709
+ necessary. Here is a sample; alter the names:
710
+
711
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the
712
+ program `Gnomovision' (which makes passes at compilers) written by
713
+ James Hacker.
714
+
715
+ signature of Ty Coon, 1 April 1989
716
+ Ty Coon, President of Vice
717
+
718
+ This General Public License does not permit incorporating your program
719
+ into proprietary programs. If your program is a subroutine library, you
720
+ may consider it more useful to permit linking proprietary applications
721
+ with the library. If this is what you want to do, use the GNU Library
722
+ General Public License instead of this License.
723
+ Certain source files distributed by Oracle America, Inc. and/or its
724
+ affiliates are subject to the following clarification and special
725
+ exception to the GPLv2, based on the GNU Project exception for its
726
+ Classpath libraries, known as the GNU Classpath Exception, but only
727
+ where Oracle has expressly included in the particular source file's
728
+ header the words "Oracle designates this particular file as subject to
729
+ the "Classpath" exception as provided by Oracle in the LICENSE file
730
+ that accompanied this code."
731
+
732
+ You should also note that Oracle includes multiple, independent
733
+ programs in this software package. Some of those programs are provided
734
+ under licenses deemed incompatible with the GPLv2 by the Free Software
735
+ Foundation and others. For example, the package includes programs
736
+ licensed under the Apache License, Version 2.0. Such programs are
737
+ licensed to you under their original licenses.
738
+
739
+ Oracle facilitates your further distribution of this package by adding
740
+ the Classpath Exception to the necessary parts of its GPLv2 code, which
741
+ permits you to use that code in combination with other independent
742
+ modules not licensed under the GPLv2. However, note that this would
743
+ not permit you to commingle code under an incompatible license with
744
+ Oracle's GPLv2 licensed code by, for example, cutting and pasting such
745
+ code into a file also containing Oracle's GPLv2 licensed code and then
746
+ distributing the result. Additionally, if you were to remove the
747
+ Classpath Exception from any of the files to which it applies and
748
+ distribute the result, you would likely be required to license some or
749
+ all of the other code in that distribution under the GPLv2 as well, and
750
+ since the GPLv2 is incompatible with the license terms of some items
751
+ included in the distribution by Oracle, removing the Classpath
752
+ Exception could therefore effectively compromise your ability to
753
+ further distribute the package.
754
+
755
+ Proceed with caution and we recommend that you obtain the advice of a
756
+ lawyer skilled in open source matters before removing the Classpath
757
+ Exception or making modifications to this package which may
758
+ subsequently be redistributed and/or involve the use of third party
759
+ software.
760
+
761
+ CLASSPATH EXCEPTION
762
+ Linking this library statically or dynamically with other modules is
763
+ making a combined work based on this library. Thus, the terms and
764
+ conditions of the GNU General Public License version 2 cover the whole
765
+ combination.
766
+
767
+ As a special exception, the copyright holders of this library give you
768
+ permission to link this library with independent modules to produce an
769
+ executable, regardless of the license terms of these independent
770
+ modules, and to copy and distribute the resulting executable under
771
+ terms of your choice, provided that you also meet, for each linked
772
+ independent module, the terms and conditions of the license of that
773
+ module. An independent module is a module which is not derived from or
774
+ based on this library. If you modify this library, you may extend this
775
+ exception to your version of the library, but you are not obligated to
776
+ do so. If you do not wish to do so, delete this exception statement
777
+ from your version.
778
+
779
+
780
+ -------------------------------
781
+ For compatibility with Java > 8
782
+ com.sun.activation:javax.activation
783
+
784
+ License: CDDL 1.1, GPL2 w/ CPE
785
+
786
+ COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.1
787
+
788
+ 1. Definitions.
789
+
790
+ 1.1. "Contributor" means each individual or entity that creates or
791
+ contributes to the creation of Modifications.
792
+
793
+ 1.2. "Contributor Version" means the combination of the Original
794
+ Software, prior Modifications used by a Contributor (if any), and
795
+ the Modifications made by that particular Contributor.
796
+
797
+ 1.3. "Covered Software" means (a) the Original Software, or (b)
798
+ Modifications, or (c) the combination of files containing Original
799
+ Software with files containing Modifications, in each case including
800
+ portions thereof.
801
+
802
+ 1.4. "Executable" means the Covered Software in any form other than
803
+ Source Code.
804
+
805
+ 1.5. "Initial Developer" means the individual or entity that first
806
+ makes Original Software available under this License.
807
+
808
+ 1.6. "Larger Work" means a work which combines Covered Software or
809
+ portions thereof with code not governed by the terms of this License.
810
+
811
+ 1.7. "License" means this document.
812
+
813
+ 1.8. "Licensable" means having the right to grant, to the maximum
814
+ extent possible, whether at the time of the initial grant or
815
+ subsequently acquired, any and all of the rights conveyed herein.
816
+
817
+ 1.9. "Modifications" means the Source Code and Executable form of
818
+ any of the following:
819
+
820
+ A. Any file that results from an addition to, deletion from or
821
+ modification of the contents of a file containing Original Software
822
+ or previous Modifications;
823
+
824
+ B. Any new file that contains any part of the Original Software or
825
+ previous Modification; or
826
+
827
+ C. Any new file that is contributed or otherwise made available
828
+ under the terms of this License.
829
+
830
+ 1.10. "Original Software" means the Source Code and Executable form
831
+ of computer software code that is originally released under this
832
+ License.
833
+
834
+ 1.11. "Patent Claims" means any patent claim(s), now owned or
835
+ hereafter acquired, including without limitation, method, process,
836
+ and apparatus claims, in any patent Licensable by grantor.
837
+
838
+ 1.12. "Source Code" means (a) the common form of computer software
839
+ code in which modifications are made and (b) associated
840
+ documentation included in or with such code.
841
+
842
+ 1.13. "You" (or "Your") means an individual or a legal entity
843
+ exercising rights under, and complying with all of the terms of,
844
+ this License. For legal entities, "You" includes any entity which
845
+ controls, is controlled by, or is under common control with You. For
846
+ purposes of this definition, "control" means (a) the power, direct
847
+ or indirect, to cause the direction or management of such entity,
848
+ whether by contract or otherwise, or (b) ownership of more than
849
+ fifty percent (50%) of the outstanding shares or beneficial
850
+ ownership of such entity.
851
+
852
+ 2. License Grants.
853
+
854
+ 2.1. The Initial Developer Grant.
855
+
856
+ Conditioned upon Your compliance with Section 3.1 below and subject
857
+ to third party intellectual property claims, the Initial Developer
858
+ hereby grants You a world-wide, royalty-free, non-exclusive license:
859
+
860
+ (a) under intellectual property rights (other than patent or
861
+ trademark) Licensable by Initial Developer, to use, reproduce,
862
+ modify, display, perform, sublicense and distribute the Original
863
+ Software (or portions thereof), with or without Modifications,
864
+ and/or as part of a Larger Work; and
865
+
866
+ (b) under Patent Claims infringed by the making, using or selling of
867
+ Original Software, to make, have made, use, practice, sell, and
868
+ offer for sale, and/or otherwise dispose of the Original Software
869
+ (or portions thereof).
870
+
871
+ (c) The licenses granted in Sections 2.1(a) and (b) are effective on
872
+ the date Initial Developer first distributes or otherwise makes the
873
+ Original Software available to a third party under the terms of this
874
+ License.
875
+
876
+ (d) Notwithstanding Section 2.1(b) above, no patent license is
877
+ granted: (1) for code that You delete from the Original Software, or
878
+ (2) for infringements caused by: (i) the modification of the
879
+ Original Software, or (ii) the combination of the Original Software
880
+ with other software or devices.
881
+
882
+ 2.2. Contributor Grant.
883
+
884
+ Conditioned upon Your compliance with Section 3.1 below and subject
885
+ to third party intellectual property claims, each Contributor hereby
886
+ grants You a world-wide, royalty-free, non-exclusive license:
887
+
888
+ (a) under intellectual property rights (other than patent or
889
+ trademark) Licensable by Contributor to use, reproduce, modify,
890
+ display, perform, sublicense and distribute the Modifications
891
+ created by such Contributor (or portions thereof), either on an
892
+ unmodified basis, with other Modifications, as Covered Software
893
+ and/or as part of a Larger Work; and
894
+
895
+ (b) under Patent Claims infringed by the making, using, or selling
896
+ of Modifications made by that Contributor either alone and/or in
897
+ combination with its Contributor Version (or portions of such
898
+ combination), to make, use, sell, offer for sale, have made, and/or
899
+ otherwise dispose of: (1) Modifications made by that Contributor (or
900
+ portions thereof); and (2) the combination of Modifications made by
901
+ that Contributor with its Contributor Version (or portions of such
902
+ combination).
903
+
904
+ (c) The licenses granted in Sections 2.2(a) and 2.2(b) are effective
905
+ on the date Contributor first distributes or otherwise makes the
906
+ Modifications available to a third party.
907
+
908
+ (d) Notwithstanding Section 2.2(b) above, no patent license is
909
+ granted: (1) for any code that Contributor has deleted from the
910
+ Contributor Version; (2) for infringements caused by: (i) third
911
+ party modifications of Contributor Version, or (ii) the combination
912
+ of Modifications made by that Contributor with other software
913
+ (except as part of the Contributor Version) or other devices; or (3)
914
+ under Patent Claims infringed by Covered Software in the absence of
915
+ Modifications made by that Contributor.
916
+
917
+ 3. Distribution Obligations.
918
+
919
+ 3.1. Availability of Source Code.
920
+
921
+ Any Covered Software that You distribute or otherwise make available
922
+ in Executable form must also be made available in Source Code form
923
+ and that Source Code form must be distributed only under the terms
924
+ of this License. You must include a copy of this License with every
925
+ copy of the Source Code form of the Covered Software You distribute
926
+ or otherwise make available. You must inform recipients of any such
927
+ Covered Software in Executable form as to how they can obtain such
928
+ Covered Software in Source Code form in a reasonable manner on or
929
+ through a medium customarily used for software exchange.
930
+
931
+ 3.2. Modifications.
932
+
933
+ The Modifications that You create or to which You contribute are
934
+ governed by the terms of this License. You represent that You
935
+ believe Your Modifications are Your original creation(s) and/or You
936
+ have sufficient rights to grant the rights conveyed by this License.
937
+
938
+ 3.3. Required Notices.
939
+
940
+ You must include a notice in each of Your Modifications that
941
+ identifies You as the Contributor of the Modification. You may not
942
+ remove or alter any copyright, patent or trademark notices contained
943
+ within the Covered Software, or any notices of licensing or any
944
+ descriptive text giving attribution to any Contributor or the
945
+ Initial Developer.
946
+
947
+ 3.4. Application of Additional Terms.
948
+
949
+ You may not offer or impose any terms on any Covered Software in
950
+ Source Code form that alters or restricts the applicable version of
951
+ this License or the recipients' rights hereunder. You may choose to
952
+ offer, and to charge a fee for, warranty, support, indemnity or
953
+ liability obligations to one or more recipients of Covered Software.
954
+ However, you may do so only on Your own behalf, and not on behalf of
955
+ the Initial Developer or any Contributor. You must make it
956
+ absolutely clear that any such warranty, support, indemnity or
957
+ liability obligation is offered by You alone, and You hereby agree
958
+ to indemnify the Initial Developer and every Contributor for any
959
+ liability incurred by the Initial Developer or such Contributor as a
960
+ result of warranty, support, indemnity or liability terms You offer.
961
+
962
+ 3.5. Distribution of Executable Versions.
963
+
964
+ You may distribute the Executable form of the Covered Software under
965
+ the terms of this License or under the terms of a license of Your
966
+ choice, which may contain terms different from this License,
967
+ provided that You are in compliance with the terms of this License
968
+ and that the license for the Executable form does not attempt to
969
+ limit or alter the recipient's rights in the Source Code form from
970
+ the rights set forth in this License. If You distribute the Covered
971
+ Software in Executable form under a different license, You must make
972
+ it absolutely clear that any terms which differ from this License
973
+ are offered by You alone, not by the Initial Developer or
974
+ Contributor. You hereby agree to indemnify the Initial Developer and
975
+ every Contributor for any liability incurred by the Initial
976
+ Developer or such Contributor as a result of any such terms You offer.
977
+
978
+ 3.6. Larger Works.
979
+
980
+ You may create a Larger Work by combining Covered Software with
981
+ other code not governed by the terms of this License and distribute
982
+ the Larger Work as a single product. In such a case, You must make
983
+ sure the requirements of this License are fulfilled for the Covered
984
+ Software.
985
+
986
+ 4. Versions of the License.
987
+
988
+ 4.1. New Versions.
989
+
990
+ Oracle is the initial license steward and may publish revised and/or
991
+ new versions of this License from time to time. Each version will be
992
+ given a distinguishing version number. Except as provided in Section
993
+ 4.3, no one other than the license steward has the right to modify
994
+ this License.
995
+
996
+ 4.2. Effect of New Versions.
997
+
998
+ You may always continue to use, distribute or otherwise make the
999
+ Covered Software available under the terms of the version of the
1000
+ License under which You originally received the Covered Software. If
1001
+ the Initial Developer includes a notice in the Original Software
1002
+ prohibiting it from being distributed or otherwise made available
1003
+ under any subsequent version of the License, You must distribute and
1004
+ make the Covered Software available under the terms of the version
1005
+ of the License under which You originally received the Covered
1006
+ Software. Otherwise, You may also choose to use, distribute or
1007
+ otherwise make the Covered Software available under the terms of any
1008
+ subsequent version of the License published by the license steward.
1009
+
1010
+ 4.3. Modified Versions.
1011
+
1012
+ When You are an Initial Developer and You want to create a new
1013
+ license for Your Original Software, You may create and use a
1014
+ modified version of this License if You: (a) rename the license and
1015
+ remove any references to the name of the license steward (except to
1016
+ note that the license differs from this License); and (b) otherwise
1017
+ make it clear that the license contains terms which differ from this
1018
+ License.
1019
+
1020
+ 5. DISCLAIMER OF WARRANTY.
1021
+
1022
+ COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS,
1023
+ WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED,
1024
+ INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED SOFTWARE
1025
+ IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR
1026
+ NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF
1027
+ THE COVERED SOFTWARE IS WITH YOU. SHOULD ANY COVERED SOFTWARE PROVE
1028
+ DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY
1029
+ OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING,
1030
+ REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN
1031
+ ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY COVERED SOFTWARE IS
1032
+ AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
1033
+
1034
+ 6. TERMINATION.
1035
+
1036
+ 6.1. This License and the rights granted hereunder will terminate
1037
+ automatically if You fail to comply with terms herein and fail to
1038
+ cure such breach within 30 days of becoming aware of the breach.
1039
+ Provisions which, by their nature, must remain in effect beyond the
1040
+ termination of this License shall survive.
1041
+
1042
+ 6.2. If You assert a patent infringement claim (excluding
1043
+ declaratory judgment actions) against Initial Developer or a
1044
+ Contributor (the Initial Developer or Contributor against whom You
1045
+ assert such claim is referred to as "Participant") alleging that the
1046
+ Participant Software (meaning the Contributor Version where the
1047
+ Participant is a Contributor or the Original Software where the
1048
+ Participant is the Initial Developer) directly or indirectly
1049
+ infringes any patent, then any and all rights granted directly or
1050
+ indirectly to You by such Participant, the Initial Developer (if the
1051
+ Initial Developer is not the Participant) and all Contributors under
1052
+ Sections 2.1 and/or 2.2 of this License shall, upon 60 days notice
1053
+ from Participant terminate prospectively and automatically at the
1054
+ expiration of such 60 day notice period, unless if within such 60
1055
+ day period You withdraw Your claim with respect to the Participant
1056
+ Software against such Participant either unilaterally or pursuant to
1057
+ a written agreement with Participant.
1058
+
1059
+ 6.3. If You assert a patent infringement claim against Participant
1060
+ alleging that the Participant Software directly or indirectly
1061
+ infringes any patent where such claim is resolved (such as by
1062
+ license or settlement) prior to the initiation of patent
1063
+ infringement litigation, then the reasonable value of the licenses
1064
+ granted by such Participant under Sections 2.1 or 2.2 shall be taken
1065
+ into account in determining the amount or value of any payment or
1066
+ license.
1067
+
1068
+ 6.4. In the event of termination under Sections 6.1 or 6.2 above,
1069
+ all end user licenses that have been validly granted by You or any
1070
+ distributor hereunder prior to termination (excluding licenses
1071
+ granted to You by any distributor) shall survive termination.
1072
+
1073
+ 7. LIMITATION OF LIABILITY.
1074
+
1075
+ UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
1076
+ (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE
1077
+ INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF
1078
+ COVERED SOFTWARE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE
1079
+ TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR
1080
+ CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT
1081
+ LIMITATION, DAMAGES FOR LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER
1082
+ FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR
1083
+ LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE
1084
+ POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF LIABILITY SHALL NOT
1085
+ APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY RESULTING FROM SUCH
1086
+ PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW PROHIBITS SUCH
1087
+ LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR
1088
+ LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION
1089
+ AND LIMITATION MAY NOT APPLY TO YOU.
1090
+
1091
+ 8. U.S. GOVERNMENT END USERS.
1092
+
1093
+ The Covered Software is a "commercial item," as that term is defined
1094
+ in 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer
1095
+ software" (as that term is defined at 48 C.F.R. §
1096
+ 252.227-7014(a)(1)) and "commercial computer software documentation"
1097
+ as such terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent
1098
+ with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4
1099
+ (June 1995), all U.S. Government End Users acquire Covered Software
1100
+ with only those rights set forth herein. This U.S. Government Rights
1101
+ clause is in lieu of, and supersedes, any other FAR, DFAR, or other
1102
+ clause or provision that addresses Government rights in computer
1103
+ software under this License.
1104
+
1105
+ 9. MISCELLANEOUS.
1106
+
1107
+ This License represents the complete agreement concerning subject
1108
+ matter hereof. If any provision of this License is held to be
1109
+ unenforceable, such provision shall be reformed only to the extent
1110
+ necessary to make it enforceable. This License shall be governed by
1111
+ the law of the jurisdiction specified in a notice contained within
1112
+ the Original Software (except to the extent applicable law, if any,
1113
+ provides otherwise), excluding such jurisdiction's conflict-of-law
1114
+ provisions. Any litigation relating to this License shall be subject
1115
+ to the jurisdiction of the courts located in the jurisdiction and
1116
+ venue specified in a notice contained within the Original Software,
1117
+ with the losing party responsible for costs, including, without
1118
+ limitation, court costs and reasonable attorneys' fees and expenses.
1119
+ The application of the United Nations Convention on Contracts for
1120
+ the International Sale of Goods is expressly excluded. Any law or
1121
+ regulation which provides that the language of a contract shall be
1122
+ construed against the drafter shall not apply to this License. You
1123
+ agree that You alone are responsible for compliance with the United
1124
+ States export administration regulations (and the export control
1125
+ laws and regulation of any other countries) when You use, distribute
1126
+ or otherwise make available any Covered Software.
1127
+
1128
+ 10. RESPONSIBILITY FOR CLAIMS.
1129
+
1130
+ As between Initial Developer and the Contributors, each party is
1131
+ responsible for claims and damages arising, directly or indirectly,
1132
+ out of its utilization of rights under this License and You agree to
1133
+ work with Initial Developer and Contributors to distribute such
1134
+ responsibility on an equitable basis. Nothing herein is intended or
1135
+ shall be deemed to constitute any admission of liability.
1136
+
1137
+ ------------------------------------------------------------------------
1138
+
1139
+ NOTICE PURSUANT TO SECTION 9 OF THE COMMON DEVELOPMENT AND DISTRIBUTION
1140
+ LICENSE (CDDL)
1141
+
1142
+ The code released under the CDDL shall be governed by the laws of the
1143
+ State of California (excluding conflict-of-law provisions). Any
1144
+ litigation relating to this License shall be subject to the jurisdiction
1145
+ of the Federal Courts of the Northern District of California and the
1146
+ state courts of the State of California, with venue lying in Santa Clara
1147
+ County, California.
1148
+
1149
+
1150
+
1151
+ The GNU General Public License (GPL) Version 2, June 1991
1152
+
1153
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
1154
+ 51 Franklin Street, Fifth Floor
1155
+ Boston, MA 02110-1335
1156
+ USA
1157
+
1158
+ Everyone is permitted to copy and distribute verbatim copies
1159
+ of this license document, but changing it is not allowed.
1160
+
1161
+ Preamble
1162
+
1163
+ The licenses for most software are designed to take away your freedom to
1164
+ share and change it. By contrast, the GNU General Public License is
1165
+ intended to guarantee your freedom to share and change free software--to
1166
+ make sure the software is free for all its users. This General Public
1167
+ License applies to most of the Free Software Foundation's software and
1168
+ to any other program whose authors commit to using it. (Some other Free
1169
+ Software Foundation software is covered by the GNU Library General
1170
+ Public License instead.) You can apply it to your programs, too.
1171
+
1172
+ When we speak of free software, we are referring to freedom, not price.
1173
+ Our General Public Licenses are designed to make sure that you have the
1174
+ freedom to distribute copies of free software (and charge for this
1175
+ service if you wish), that you receive source code or can get it if you
1176
+ want it, that you can change the software or use pieces of it in new
1177
+ free programs; and that you know you can do these things.
1178
+
1179
+ To protect your rights, we need to make restrictions that forbid anyone
1180
+ to deny you these rights or to ask you to surrender the rights. These
1181
+ restrictions translate to certain responsibilities for you if you
1182
+ distribute copies of the software, or if you modify it.
1183
+
1184
+ For example, if you distribute copies of such a program, whether gratis
1185
+ or for a fee, you must give the recipients all the rights that you have.
1186
+ You must make sure that they, too, receive or can get the source code.
1187
+ And you must show them these terms so they know their rights.
1188
+
1189
+ We protect your rights with two steps: (1) copyright the software, and
1190
+ (2) offer you this license which gives you legal permission to copy,
1191
+ distribute and/or modify the software.
1192
+
1193
+ Also, for each author's protection and ours, we want to make certain
1194
+ that everyone understands that there is no warranty for this free
1195
+ software. If the software is modified by someone else and passed on, we
1196
+ want its recipients to know that what they have is not the original, so
1197
+ that any problems introduced by others will not reflect on the original
1198
+ authors' reputations.
1199
+
1200
+ Finally, any free program is threatened constantly by software patents.
1201
+ We wish to avoid the danger that redistributors of a free program will
1202
+ individually obtain patent licenses, in effect making the program
1203
+ proprietary. To prevent this, we have made it clear that any patent must
1204
+ be licensed for everyone's free use or not licensed at all.
1205
+
1206
+ The precise terms and conditions for copying, distribution and
1207
+ modification follow.
1208
+
1209
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
1210
+
1211
+ 0. This License applies to any program or other work which contains a
1212
+ notice placed by the copyright holder saying it may be distributed under
1213
+ the terms of this General Public License. The "Program", below, refers
1214
+ to any such program or work, and a "work based on the Program" means
1215
+ either the Program or any derivative work under copyright law: that is
1216
+ to say, a work containing the Program or a portion of it, either
1217
+ verbatim or with modifications and/or translated into another language.
1218
+ (Hereinafter, translation is included without limitation in the term
1219
+ "modification".) Each licensee is addressed as "you".
1220
+
1221
+ Activities other than copying, distribution and modification are not
1222
+ covered by this License; they are outside its scope. The act of running
1223
+ the Program is not restricted, and the output from the Program is
1224
+ covered only if its contents constitute a work based on the Program
1225
+ (independent of having been made by running the Program). Whether that
1226
+ is true depends on what the Program does.
1227
+
1228
+ 1. You may copy and distribute verbatim copies of the Program's source
1229
+ code as you receive it, in any medium, provided that you conspicuously
1230
+ and appropriately publish on each copy an appropriate copyright notice
1231
+ and disclaimer of warranty; keep intact all the notices that refer to
1232
+ this License and to the absence of any warranty; and give any other
1233
+ recipients of the Program a copy of this License along with the Program.
1234
+
1235
+ You may charge a fee for the physical act of transferring a copy, and
1236
+ you may at your option offer warranty protection in exchange for a fee.
1237
+
1238
+ 2. You may modify your copy or copies of the Program or any portion of
1239
+ it, thus forming a work based on the Program, and copy and distribute
1240
+ such modifications or work under the terms of Section 1 above, provided
1241
+ that you also meet all of these conditions:
1242
+
1243
+ a) You must cause the modified files to carry prominent notices
1244
+ stating that you changed the files and the date of any change.
1245
+
1246
+ b) You must cause any work that you distribute or publish, that in
1247
+ whole or in part contains or is derived from the Program or any part
1248
+ thereof, to be licensed as a whole at no charge to all third parties
1249
+ under the terms of this License.
1250
+
1251
+ c) If the modified program normally reads commands interactively
1252
+ when run, you must cause it, when started running for such
1253
+ interactive use in the most ordinary way, to print or display an
1254
+ announcement including an appropriate copyright notice and a notice
1255
+ that there is no warranty (or else, saying that you provide a
1256
+ warranty) and that users may redistribute the program under these
1257
+ conditions, and telling the user how to view a copy of this License.
1258
+ (Exception: if the Program itself is interactive but does not
1259
+ normally print such an announcement, your work based on the Program
1260
+ is not required to print an announcement.)
1261
+
1262
+ These requirements apply to the modified work as a whole. If
1263
+ identifiable sections of that work are not derived from the Program, and
1264
+ can be reasonably considered independent and separate works in
1265
+ themselves, then this License, and its terms, do not apply to those
1266
+ sections when you distribute them as separate works. But when you
1267
+ distribute the same sections as part of a whole which is a work based on
1268
+ the Program, the distribution of the whole must be on the terms of this
1269
+ License, whose permissions for other licensees extend to the entire
1270
+ whole, and thus to each and every part regardless of who wrote it.
1271
+
1272
+ Thus, it is not the intent of this section to claim rights or contest
1273
+ your rights to work written entirely by you; rather, the intent is to
1274
+ exercise the right to control the distribution of derivative or
1275
+ collective works based on the Program.
1276
+
1277
+ In addition, mere aggregation of another work not based on the Program
1278
+ with the Program (or with a work based on the Program) on a volume of a
1279
+ storage or distribution medium does not bring the other work under the
1280
+ scope of this License.
1281
+
1282
+ 3. You may copy and distribute the Program (or a work based on it,
1283
+ under Section 2) in object code or executable form under the terms of
1284
+ Sections 1 and 2 above provided that you also do one of the following:
1285
+
1286
+ a) Accompany it with the complete corresponding machine-readable
1287
+ source code, which must be distributed under the terms of Sections 1
1288
+ and 2 above on a medium customarily used for software interchange; or,
1289
+
1290
+ b) Accompany it with a written offer, valid for at least three
1291
+ years, to give any third party, for a charge no more than your cost
1292
+ of physically performing source distribution, a complete
1293
+ machine-readable copy of the corresponding source code, to be
1294
+ distributed under the terms of Sections 1 and 2 above on a medium
1295
+ customarily used for software interchange; or,
1296
+
1297
+ c) Accompany it with the information you received as to the offer to
1298
+ distribute corresponding source code. (This alternative is allowed
1299
+ only for noncommercial distribution and only if you received the
1300
+ program in object code or executable form with such an offer, in
1301
+ accord with Subsection b above.)
1302
+
1303
+ The source code for a work means the preferred form of the work for
1304
+ making modifications to it. For an executable work, complete source code
1305
+ means all the source code for all modules it contains, plus any
1306
+ associated interface definition files, plus the scripts used to control
1307
+ compilation and installation of the executable. However, as a special
1308
+ exception, the source code distributed need not include anything that is
1309
+ normally distributed (in either source or binary form) with the major
1310
+ components (compiler, kernel, and so on) of the operating system on
1311
+ which the executable runs, unless that component itself accompanies the
1312
+ executable.
1313
+
1314
+ If distribution of executable or object code is made by offering access
1315
+ to copy from a designated place, then offering equivalent access to copy
1316
+ the source code from the same place counts as distribution of the source
1317
+ code, even though third parties are not compelled to copy the source
1318
+ along with the object code.
1319
+
1320
+ 4. You may not copy, modify, sublicense, or distribute the Program
1321
+ except as expressly provided under this License. Any attempt otherwise
1322
+ to copy, modify, sublicense or distribute the Program is void, and will
1323
+ automatically terminate your rights under this License. However, parties
1324
+ who have received copies, or rights, from you under this License will
1325
+ not have their licenses terminated so long as such parties remain in
1326
+ full compliance.
1327
+
1328
+ 5. You are not required to accept this License, since you have not
1329
+ signed it. However, nothing else grants you permission to modify or
1330
+ distribute the Program or its derivative works. These actions are
1331
+ prohibited by law if you do not accept this License. Therefore, by
1332
+ modifying or distributing the Program (or any work based on the
1333
+ Program), you indicate your acceptance of this License to do so, and all
1334
+ its terms and conditions for copying, distributing or modifying the
1335
+ Program or works based on it.
1336
+
1337
+ 6. Each time you redistribute the Program (or any work based on the
1338
+ Program), the recipient automatically receives a license from the
1339
+ original licensor to copy, distribute or modify the Program subject to
1340
+ these terms and conditions. You may not impose any further restrictions
1341
+ on the recipients' exercise of the rights granted herein. You are not
1342
+ responsible for enforcing compliance by third parties to this License.
1343
+
1344
+ 7. If, as a consequence of a court judgment or allegation of patent
1345
+ infringement or for any other reason (not limited to patent issues),
1346
+ conditions are imposed on you (whether by court order, agreement or
1347
+ otherwise) that contradict the conditions of this License, they do not
1348
+ excuse you from the conditions of this License. If you cannot distribute
1349
+ so as to satisfy simultaneously your obligations under this License and
1350
+ any other pertinent obligations, then as a consequence you may not
1351
+ distribute the Program at all. For example, if a patent license would
1352
+ not permit royalty-free redistribution of the Program by all those who
1353
+ receive copies directly or indirectly through you, then the only way you
1354
+ could satisfy both it and this License would be to refrain entirely from
1355
+ distribution of the Program.
1356
+
1357
+ If any portion of this section is held invalid or unenforceable under
1358
+ any particular circumstance, the balance of the section is intended to
1359
+ apply and the section as a whole is intended to apply in other
1360
+ circumstances.
1361
+
1362
+ It is not the purpose of this section to induce you to infringe any
1363
+ patents or other property right claims or to contest validity of any
1364
+ such claims; this section has the sole purpose of protecting the
1365
+ integrity of the free software distribution system, which is implemented
1366
+ by public license practices. Many people have made generous
1367
+ contributions to the wide range of software distributed through that
1368
+ system in reliance on consistent application of that system; it is up to
1369
+ the author/donor to decide if he or she is willing to distribute
1370
+ software through any other system and a licensee cannot impose that choice.
1371
+
1372
+ This section is intended to make thoroughly clear what is believed to be
1373
+ a consequence of the rest of this License.
1374
+
1375
+ 8. If the distribution and/or use of the Program is restricted in
1376
+ certain countries either by patents or by copyrighted interfaces, the
1377
+ original copyright holder who places the Program under this License may
1378
+ add an explicit geographical distribution limitation excluding those
1379
+ countries, so that distribution is permitted only in or among countries
1380
+ not thus excluded. In such case, this License incorporates the
1381
+ limitation as if written in the body of this License.
1382
+
1383
+ 9. The Free Software Foundation may publish revised and/or new
1384
+ versions of the General Public License from time to time. Such new
1385
+ versions will be similar in spirit to the present version, but may
1386
+ differ in detail to address new problems or concerns.
1387
+
1388
+ Each version is given a distinguishing version number. If the Program
1389
+ specifies a version number of this License which applies to it and "any
1390
+ later version", you have the option of following the terms and
1391
+ conditions either of that version or of any later version published by
1392
+ the Free Software Foundation. If the Program does not specify a version
1393
+ number of this License, you may choose any version ever published by the
1394
+ Free Software Foundation.
1395
+
1396
+ 10. If you wish to incorporate parts of the Program into other free
1397
+ programs whose distribution conditions are different, write to the
1398
+ author to ask for permission. For software which is copyrighted by the
1399
+ Free Software Foundation, write to the Free Software Foundation; we
1400
+ sometimes make exceptions for this. Our decision will be guided by the
1401
+ two goals of preserving the free status of all derivatives of our free
1402
+ software and of promoting the sharing and reuse of software generally.
1403
+
1404
+ NO WARRANTY
1405
+
1406
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO
1407
+ WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
1408
+ EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
1409
+ OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND,
1410
+ EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
1411
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE
1412
+ ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH
1413
+ YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL
1414
+ NECESSARY SERVICING, REPAIR OR CORRECTION.
1415
+
1416
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
1417
+ WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
1418
+ AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR
1419
+ DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL
1420
+ DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM
1421
+ (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED
1422
+ INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF
1423
+ THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR
1424
+ OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
1425
+
1426
+ END OF TERMS AND CONDITIONS
1427
+
1428
+ How to Apply These Terms to Your New Programs
1429
+
1430
+ If you develop a new program, and you want it to be of the greatest
1431
+ possible use to the public, the best way to achieve this is to make it
1432
+ free software which everyone can redistribute and change under these terms.
1433
+
1434
+ To do so, attach the following notices to the program. It is safest to
1435
+ attach them to the start of each source file to most effectively convey
1436
+ the exclusion of warranty; and each file should have at least the
1437
+ "copyright" line and a pointer to where the full notice is found.
1438
+
1439
+ One line to give the program's name and a brief idea of what it does.
1440
+ Copyright (C) <year> <name of author>
1441
+
1442
+ This program is free software; you can redistribute it and/or modify
1443
+ it under the terms of the GNU General Public License as published by
1444
+ the Free Software Foundation; either version 2 of the License, or
1445
+ (at your option) any later version.
1446
+
1447
+ This program is distributed in the hope that it will be useful, but
1448
+ WITHOUT ANY WARRANTY; without even the implied warranty of
1449
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1450
+ General Public License for more details.
1451
+
1452
+ You should have received a copy of the GNU General Public License
1453
+ along with this program; if not, write to the Free Software
1454
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA
1455
+
1456
+ Also add information on how to contact you by electronic and paper mail.
1457
+
1458
+ If the program is interactive, make it output a short notice like this
1459
+ when it starts in an interactive mode:
1460
+
1461
+ Gnomovision version 69, Copyright (C) year name of author
1462
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type
1463
+ `show w'. This is free software, and you are welcome to redistribute
1464
+ it under certain conditions; type `show c' for details.
1465
+
1466
+ The hypothetical commands `show w' and `show c' should show the
1467
+ appropriate parts of the General Public License. Of course, the commands
1468
+ you use may be called something other than `show w' and `show c'; they
1469
+ could even be mouse-clicks or menu items--whatever suits your program.
1470
+
1471
+ You should also get your employer (if you work as a programmer) or your
1472
+ school, if any, to sign a "copyright disclaimer" for the program, if
1473
+ necessary. Here is a sample; alter the names:
1474
+
1475
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the
1476
+ program `Gnomovision' (which makes passes at compilers) written by
1477
+ James Hacker.
1478
+
1479
+ signature of Ty Coon, 1 April 1989
1480
+ Ty Coon, President of Vice
1481
+
1482
+ This General Public License does not permit incorporating your program
1483
+ into proprietary programs. If your program is a subroutine library, you
1484
+ may consider it more useful to permit linking proprietary applications
1485
+ with the library. If this is what you want to do, use the GNU Library
1486
+ General Public License instead of this License.
1487
+
1488
+ #
1489
+
1490
+ Certain source files distributed by Oracle America, Inc. and/or its
1491
+ affiliates are subject to the following clarification and special
1492
+ exception to the GPLv2, based on the GNU Project exception for its
1493
+ Classpath libraries, known as the GNU Classpath Exception, but only
1494
+ where Oracle has expressly included in the particular source file's
1495
+ header the words "Oracle designates this particular file as subject to
1496
+ the "Classpath" exception as provided by Oracle in the LICENSE file
1497
+ that accompanied this code."
1498
+
1499
+ You should also note that Oracle includes multiple, independent
1500
+ programs in this software package. Some of those programs are provided
1501
+ under licenses deemed incompatible with the GPLv2 by the Free Software
1502
+ Foundation and others. For example, the package includes programs
1503
+ licensed under the Apache License, Version 2.0. Such programs are
1504
+ licensed to you under their original licenses.
1505
+
1506
+ Oracle facilitates your further distribution of this package by adding
1507
+ the Classpath Exception to the necessary parts of its GPLv2 code, which
1508
+ permits you to use that code in combination with other independent
1509
+ modules not licensed under the GPLv2. However, note that this would
1510
+ not permit you to commingle code under an incompatible license with
1511
+ Oracle's GPLv2 licensed code by, for example, cutting and pasting such
1512
+ code into a file also containing Oracle's GPLv2 licensed code and then
1513
+ distributing the result. Additionally, if you were to remove the
1514
+ Classpath Exception from any of the files to which it applies and
1515
+ distribute the result, you would likely be required to license some or
1516
+ all of the other code in that distribution under the GPLv2 as well, and
1517
+ since the GPLv2 is incompatible with the license terms of some items
1518
+ included in the distribution by Oracle, removing the Classpath
1519
+ Exception could therefore effectively compromise your ability to
1520
+ further distribute the package.
1521
+
1522
+ Proceed with caution and we recommend that you obtain the advice of a
1523
+ lawyer skilled in open source matters before removing the Classpath
1524
+ Exception or making modifications to this package which may
1525
+ subsequently be redistributed and/or involve the use of third party
1526
+ software.
1527
+
1528
+ CLASSPATH EXCEPTION
1529
+ Linking this library statically or dynamically with other modules is
1530
+ making a combined work based on this library. Thus, the terms and
1531
+ conditions of the GNU General Public License version 2 cover the whole
1532
+ combination.
1533
+
1534
+ As a special exception, the copyright holders of this library give you
1535
+ permission to link this library with independent modules to produce an
1536
+ executable, regardless of the license terms of these independent
1537
+ modules, and to copy and distribute the resulting executable under
1538
+ terms of your choice, provided that you also meet, for each linked
1539
+ independent module, the terms and conditions of the license of that
1540
+ module. An independent module is a module which is not derived from or
1541
+ based on this library. If you modify this library, you may extend this
1542
+ exception to your version of the library, but you are not obligated to
1543
+ do so. If you do not wish to do so, delete this exception statement
1544
+ from your version.
1545
+
1546
+ --------------------
1547
+ The Fakeload library
1548
+
1549
+ MIT License
1550
+
1551
+ Copyright (c) 2017 Marten Sigwart
1552
+
1553
+ Permission is hereby granted, free of charge, to any person
1554
+ obtaining a copy of this software and associated documentation files
1555
+ (the "Software"), to deal in the Software without restriction, including
1556
+ without limitation the rights to use, copy, modify, merge, publish,
1557
+ distribute, sublicense, and/or sell copies of the Software, and to permit
1558
+ persons to whom the Software is furnished to do so, subject to the following conditions:
1559
+
1560
+ The above copyright notice and this permission notice shall be included in
1561
+ all copies or substantial portions of the Software.
1562
+
1563
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
1564
+ INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
1565
+ PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
1566
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
1567
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
1568
+ OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
local-test-tika-full-01-vuln_6/afc-tika/README.md ADDED
@@ -0,0 +1,192 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Welcome to Apache Tika <https://tika.apache.org/>
2
+ =================================================
3
+
4
+ [![license](https://img.shields.io/github/license/apache/tika.svg?maxAge=2592000)](http://www.apache.org/licenses/LICENSE-2.0)
5
+ [![Jenkins](https://img.shields.io/jenkins/s/https/ci-builds.apache.org/job/Tika/job/tika-main-jdk17.svg?maxAge=3600)](https://ci-builds.apache.org/job/Tika/job/tika-main-jdk17/)
6
+ [![Jenkins tests](https://img.shields.io/jenkins/t/https/ci-builds.apache.org/job/Tika/job/tika-main-jdk17.svg?maxAge=3600)](https://ci-builds.apache.org/job/Tika/job/tika-main-jdk17/lastBuild/testReport/)
7
+ [![Maven Central](https://img.shields.io/maven-central/v/org.apache.tika/tika.svg?maxAge=86400)](http://search.maven.org/#search|ga|1|g%3A%22org.apache.tika%22)
8
+
9
+ Apache Tika(TM) is a toolkit for detecting and extracting metadata and structured text content from various documents using existing parser libraries.
10
+
11
+ Tika is a project of the [Apache Software Foundation](https://www.apache.org).
12
+
13
+ Apache Tika, Tika, Apache, the Apache feather logo, and the Apache Tika project logo are trademarks of The Apache Software Foundation.
14
+
15
+ Getting Started
16
+ ===============
17
+ Pre-built binaries of Apache Tika standalone applications are available
18
+ from https://tika.apache.org/download.html . Pre-built binaries of all the
19
+ Tika jars can be fetched from Maven Central or your favourite Maven mirror.
20
+
21
+ **Tika 2.X and support for Java 8 is planned to reach End of Life (EOL) in April, 2025.
22
+ See [Tika Roadmap 2.x, 3.x and beyond](https://cwiki.apache.org/confluence/display/TIKA/Tika+Roadmap+--+2.x%2C+3.x+and+Beyond).**
23
+
24
+ Tika is based on **Java 17** and uses the [Maven 3](https://maven.apache.org) build system.
25
+ **N.B.** [Docker](https://www.docker.com/products/personal) is used for tests in tika-integration-tests.
26
+ As of Tika 2.5.1, if Docker is not installed, those tests are skipped. Docker is required for a successful
27
+ build on earlier 2.x versions.
28
+
29
+ To build Tika from source, use the following command in the main directory:
30
+
31
+ mvn clean install
32
+
33
+
34
+ The build consists of a number of components, including a standalone runnable jar that you can use to try out Tika features. You can run it like this:
35
+
36
+ java -jar tika-app/target/tika-app-*.jar --help
37
+
38
+
39
+ To build a specific project (for example, tika-server-standard):
40
+
41
+ mvn clean install -am -pl :tika-server-standard
42
+
43
+ If the ossindex-maven-plugin is causing the build to fail because a dependency
44
+ has now been discovered to have a vulnerability:
45
+
46
+ mvn clean install -Dossindex.skip
47
+
48
+
49
+ Maven Dependencies
50
+ ==================
51
+
52
+ Apache Tika provides *Bill of Material* (BOM) artifact to align Tika module versions and simplify version management.
53
+ To avoid convergence errors in your own project, import this
54
+ bom or Tika's parent pom.xml in your dependency management section.
55
+
56
+ If you use Apache Maven:
57
+
58
+ ```xml
59
+ <project>
60
+ <dependencyManagement>
61
+ <dependencies>
62
+ <dependency>
63
+ <groupId>org.apache.tika</groupId>
64
+ <artifactId>tika-bom</artifactId>
65
+ <version>4.x.y</version>
66
+ <type>pom</type>
67
+ <scope>import</scope>
68
+ </dependency>
69
+ </dependencies>
70
+ </dependencyManagement>
71
+
72
+ <dependencies>
73
+ <dependency>
74
+ <groupId>org.apache.tika</groupId>
75
+ <artifactId>tika-parsers-standard-package</artifactId>
76
+ <!-- version not required since BOM included -->
77
+ </dependency>
78
+ </dependencies>
79
+ </project>
80
+ ```
81
+
82
+ For Gradle:
83
+
84
+ ```kotlin
85
+ dependencies {
86
+ implementation(platform("org.apache.tika:tika-bom:4.x.y"))
87
+
88
+ // version not required since bom (platform in Gradle terms)
89
+ implementation("org.apache.tika:tika-parsers-standard-package")
90
+ }
91
+ ```
92
+
93
+ Migrating to 4.x
94
+ ================
95
+ TBD
96
+
97
+ Contributing via Github
98
+ =======================
99
+ See the [pull request template](https://github.com/apache/tika/blob/main/.github/pull_request_template.md).
100
+
101
+ **NOTE:** Please open pull requests against the `main` branch. We locked `master` in September 2020 and no longer use it.
102
+
103
+ ## Thanks to all the people who have contributed
104
+
105
+ [![contributors](https://contributors-img.web.app/image?repo=apache/tika)](https://github.com/apache/tika/graphs/contributors)
106
+
107
+ Building from a Specific Tag
108
+ ============================
109
+ Let's assume that you want to build the 3.0.1 tag:
110
+ ```
111
+ 0. Download and install hub.github.com
112
+ 1. git clone https://github.com/apache/tika.git
113
+ 2. cd tika
114
+ 3. git checkout 3.0.1
115
+ 4. mvn clean install
116
+ ```
117
+
118
+ If a new vulnerability has been discovered between the date of the
119
+ tag and the date you are building the tag, you may need to build with:
120
+
121
+ ```
122
+ 4. mvn clean install -Dossindex.skip
123
+ ```
124
+
125
+ If a local test is not working in your environment, please notify
126
+ the project at dev@tika.apache.org. As an immediate workaround,
127
+ you can turn off individual tests with e.g.:
128
+
129
+ ```
130
+ 4. mvn clean install -Dossindex.skip -Dtest=\!UnpackerResourceTest#testPDFImages
131
+ ```
132
+
133
+ License (see also LICENSE.txt)
134
+ ==============================
135
+
136
+ Collective work: Copyright 2011 The Apache Software Foundation.
137
+
138
+ Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
139
+
140
+ <https://www.apache.org/licenses/LICENSE-2.0>
141
+
142
+ Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
143
+
144
+ Apache Tika includes a number of subcomponents with separate copyright notices and license terms. Your use of these subcomponents is subject to the terms and conditions of the licenses listed in the LICENSE.txt file.
145
+
146
+ Export Control
147
+ ==============
148
+
149
+ This distribution includes cryptographic software. The country in which you currently reside may have restrictions on the import, possession, use, and/or re-export to another country, of encryption software. BEFORE using any encryption software, please check your country's laws, regulations and policies concerning the import, possession, or use, and re-export of encryption software, to see if this is permitted. See <http://www.wassenaar.org/> for more information.
150
+
151
+ The U.S. Government Department of Commerce, Bureau of Industry and Security (BIS), has classified this software as Export Commodity Control Number (ECCN) 5D002.C.1, which includes information security software using or performing cryptographic functions with asymmetric algorithms. The form and manner of this Apache Software Foundation distribution makes it eligible for export under the License Exception ENC Technology Software Unrestricted (TSU) exception (see the BIS Export Administration Regulations, Section 740.13) for both object code and source code.
152
+
153
+ The following provides more details on the included cryptographic software:
154
+
155
+ Apache Tika uses the Bouncy Castle generic encryption libraries for extracting text content and metadata from encrypted PDF files. See <http://www.bouncycastle.org/> for more details on Bouncy Castle.
156
+
157
+ Mailing Lists
158
+ =============
159
+
160
+ Discussion about Tika takes place on the following mailing lists:
161
+
162
+ * user@tika.apache.org - About using Tika
163
+ * dev@tika.apache.org - About developing Tika
164
+
165
+ Notification on all code changes are sent to the following mailing list:
166
+
167
+ * commits@tika.apache.org
168
+
169
+ The mailing lists are open to anyone and publicly archived.
170
+
171
+ You can subscribe the mailing lists by sending a message to
172
+ [LIST]-subscribe@tika.apache.org (for example, user-subscribe@...).
173
+ To unsubscribe, send a message to [LIST]-unsubscribe@tika.apache.org.
174
+ For more instructions, send a message to [LIST]-help@tika.apache.org.
175
+
176
+ Issue Tracker
177
+ =============
178
+
179
+ If you encounter errors in Tika or want to suggest an improvement or a new feature,
180
+ please visit the [Tika issue tracker](https://issues.apache.org/jira/browse/TIKA).
181
+ There you can also find the latest information on known issues and
182
+ recent bug fixes and enhancements.
183
+
184
+ Build Issues
185
+ ============
186
+
187
+ *TODO*
188
+
189
+ * Need to install jce
190
+
191
+ * If you find any other issues while building, please email the dev@tika.apache.org
192
+ list.
local-test-tika-full-01-vuln_6/afc-tika/tika-batch/pom.xml ADDED
@@ -0,0 +1,143 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+
3
+ <!--
4
+ Licensed to the Apache Software Foundation (ASF) under one
5
+ or more contributor license agreements. See the NOTICE file
6
+ distributed with this work for additional information
7
+ regarding copyright ownership. The ASF licenses this file
8
+ to you under the Apache License, Version 2.0 (the
9
+ "License"); you may not use this file except in compliance
10
+ with the License. You may obtain a copy of the License at
11
+
12
+ http://www.apache.org/licenses/LICENSE-2.0
13
+
14
+ Unless required by applicable law or agreed to in writing,
15
+ software distributed under the License is distributed on an
16
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17
+ KIND, either express or implied. See the License for the
18
+ specific language governing permissions and limitations
19
+ under the License.
20
+ -->
21
+
22
+ <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
23
+ <modelVersion>4.0.0</modelVersion>
24
+
25
+ <parent>
26
+ <groupId>org.apache.tika</groupId>
27
+ <artifactId>tika-parent</artifactId>
28
+ <version>4.0.0-SNAPSHOT</version>
29
+ <relativePath>../tika-parent/pom.xml</relativePath>
30
+ </parent>
31
+
32
+ <artifactId>tika-batch</artifactId>
33
+ <packaging>jar</packaging>
34
+ <name>Apache Tika batch</name>
35
+ <url>https://tika.apache.org/</url>
36
+
37
+ <dependencies>
38
+ <dependency>
39
+ <groupId>${project.groupId}</groupId>
40
+ <artifactId>tika-core</artifactId>
41
+ <version>${project.version}</version>
42
+ <scope>provided</scope>
43
+ </dependency>
44
+ <dependency>
45
+ <groupId>${project.groupId}</groupId>
46
+ <artifactId>tika-serialization</artifactId>
47
+ <version>${project.version}</version>
48
+ <scope>provided</scope>
49
+ </dependency>
50
+
51
+ <dependency>
52
+ <groupId>org.apache.commons</groupId>
53
+ <artifactId>commons-compress</artifactId>
54
+ <scope>provided</scope>
55
+ </dependency>
56
+ <dependency>
57
+ <groupId>commons-cli</groupId>
58
+ <artifactId>commons-cli</artifactId>
59
+ </dependency>
60
+
61
+ <dependency>
62
+ <groupId>org.apache.tika</groupId>
63
+ <artifactId>tika-core</artifactId>
64
+ <version>${project.version}</version>
65
+ <type>test-jar</type>
66
+ <scope>test</scope>
67
+ </dependency>
68
+ <dependency>
69
+ <groupId>org.slf4j</groupId>
70
+ <artifactId>slf4j-simple</artifactId>
71
+ <scope>test</scope>
72
+ </dependency>
73
+ </dependencies>
74
+
75
+ <build>
76
+ <plugins>
77
+ <plugin>
78
+ <groupId>org.apache.rat</groupId>
79
+ <artifactId>apache-rat-plugin</artifactId>
80
+ <version>${rat.version}</version>
81
+ <configuration>
82
+ <excludes>
83
+ <exclude>src/test/resources/org/apache/tika/**</exclude>
84
+ <exclude>src/test/resources/*.txt</exclude>
85
+ </excludes>
86
+ </configuration>
87
+ </plugin>
88
+ <plugin>
89
+ <groupId>org.apache.maven.plugins</groupId>
90
+ <artifactId>maven-jar-plugin</artifactId>
91
+ <configuration>
92
+ <archive>
93
+ <manifestEntries>
94
+ <Automatic-Module-Name>org.apache.tika.batch</Automatic-Module-Name>
95
+ </manifestEntries>
96
+ </archive>
97
+ </configuration>
98
+ <executions>
99
+ <execution>
100
+ <goals>
101
+ <goal>test-jar</goal>
102
+ </goals>
103
+ </execution>
104
+ </executions>
105
+ </plugin>
106
+ <plugin>
107
+ <groupId>org.apache.maven.plugins</groupId>
108
+ <artifactId>maven-checkstyle-plugin</artifactId>
109
+ <version>${checkstyle.plugin.version}</version>
110
+ <dependencies>
111
+ <dependency>
112
+ <groupId>com.puppycrawl.tools</groupId>
113
+ <artifactId>checkstyle</artifactId>
114
+ <version>${puppycrawl.version}</version>
115
+ </dependency>
116
+ </dependencies>
117
+ <executions>
118
+ <execution>
119
+ <id>validate</id>
120
+ <phase>validate</phase>
121
+ <configuration>
122
+ <configLocation>checkstyle.xml</configLocation>
123
+ <inputEncoding>UTF-8</inputEncoding>
124
+ <consoleOutput>false</consoleOutput>
125
+ <includeTestSourceDirectory>true</includeTestSourceDirectory>
126
+ <testSourceDirectories>${project.basedir}/src/test/java</testSourceDirectories>
127
+ <violationSeverity>error</violationSeverity>
128
+ <failOnViolation>true</failOnViolation>
129
+ </configuration>
130
+ <goals>
131
+ <goal>check</goal>
132
+ </goals>
133
+ </execution>
134
+ </executions>
135
+ </plugin>
136
+
137
+ </plugins>
138
+ </build>
139
+
140
+ <scm>
141
+ <tag>3.0.0-rc1</tag>
142
+ </scm>
143
+ </project>
local-test-tika-full-01-vuln_6/afc-tika/tika-core/pom.xml ADDED
@@ -0,0 +1,296 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+
3
+ <!--
4
+ Licensed to the Apache Software Foundation (ASF) under one
5
+ or more contributor license agreements. See the NOTICE file
6
+ distributed with this work for additional information
7
+ regarding copyright ownership. The ASF licenses this file
8
+ to you under the Apache License, Version 2.0 (the
9
+ "License"); you may not use this file except in compliance
10
+ with the License. You may obtain a copy of the License at
11
+
12
+ http://www.apache.org/licenses/LICENSE-2.0
13
+
14
+ Unless required by applicable law or agreed to in writing,
15
+ software distributed under the License is distributed on an
16
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17
+ KIND, either express or implied. See the License for the
18
+ specific language governing permissions and limitations
19
+ under the License.
20
+ -->
21
+
22
+ <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
23
+ <modelVersion>4.0.0</modelVersion>
24
+
25
+ <parent>
26
+ <groupId>org.apache.tika</groupId>
27
+ <artifactId>tika-parent</artifactId>
28
+ <version>4.0.0-SNAPSHOT</version>
29
+ <relativePath>../tika-parent/pom.xml</relativePath>
30
+ </parent>
31
+
32
+ <artifactId>tika-core</artifactId>
33
+ <packaging>bundle</packaging>
34
+ <name>Apache Tika core</name>
35
+ <url>https://tika.apache.org/</url>
36
+
37
+ <dependencies>
38
+ <!-- See https://issues.apache.org/jira/browse/TIKA-2566 for more info -->
39
+ <dependency>
40
+ <groupId>org.slf4j</groupId>
41
+ <artifactId>slf4j-api</artifactId>
42
+ </dependency>
43
+ <dependency>
44
+ <groupId>commons-io</groupId>
45
+ <artifactId>commons-io</artifactId>
46
+ </dependency>
47
+
48
+ <!-- Optional OSGi dependencies, used only when running within OSGi -->
49
+ <dependency>
50
+ <groupId>org.osgi</groupId>
51
+ <artifactId>org.osgi.core</artifactId>
52
+ <scope>provided</scope>
53
+ <optional>true</optional>
54
+ </dependency>
55
+ <dependency>
56
+ <groupId>org.osgi</groupId>
57
+ <artifactId>org.osgi.compendium</artifactId>
58
+ <scope>provided</scope>
59
+ <optional>true</optional>
60
+ </dependency>
61
+ <dependency>
62
+ <groupId>biz.aQute.bnd</groupId>
63
+ <artifactId>biz.aQute.bndlib</artifactId>
64
+ <scope>provided</scope>
65
+ </dependency>
66
+
67
+ <!-- Test dependencies -->
68
+ <dependency>
69
+ <groupId>com.google.guava</groupId>
70
+ <artifactId>guava</artifactId>
71
+ <scope>test</scope>
72
+ </dependency>
73
+ <dependency>
74
+ <groupId>com.martensigwart</groupId>
75
+ <artifactId>fakeload</artifactId>
76
+ <version>${fakeload.version}</version>
77
+ <scope>test</scope>
78
+ </dependency>
79
+ <dependency>
80
+ <groupId>org.apache.logging.log4j</groupId>
81
+ <artifactId>log4j-core</artifactId>
82
+ <scope>test</scope>
83
+ </dependency>
84
+ <dependency>
85
+ <groupId>org.apache.logging.log4j</groupId>
86
+ <artifactId>log4j-slf4j2-impl</artifactId>
87
+ <scope>test</scope>
88
+ </dependency>
89
+ <dependency>
90
+ <groupId>org.junit.jupiter</groupId>
91
+ <artifactId>junit-jupiter-api</artifactId>
92
+ <scope>test</scope>
93
+ </dependency>
94
+ <dependency>
95
+ <groupId>org.junit.jupiter</groupId>
96
+ <artifactId>junit-jupiter-engine</artifactId>
97
+ <scope>test</scope>
98
+ </dependency>
99
+ </dependencies>
100
+
101
+ <build>
102
+ <plugins>
103
+ <plugin>
104
+ <groupId>org.apache.maven.plugins</groupId>
105
+ <artifactId>maven-checkstyle-plugin</artifactId>
106
+ <version>${checkstyle.plugin.version}</version>
107
+ <dependencies>
108
+ <dependency>
109
+ <groupId>com.puppycrawl.tools</groupId>
110
+ <artifactId>checkstyle</artifactId>
111
+ <version>${puppycrawl.version}</version>
112
+ </dependency>
113
+ </dependencies>
114
+ <executions>
115
+ <execution>
116
+ <id>validate</id>
117
+ <phase>validate</phase>
118
+ <configuration>
119
+ <configLocation>checkstyle.xml</configLocation>
120
+ <inputEncoding>UTF-8</inputEncoding>
121
+ <consoleOutput>false</consoleOutput>
122
+ <includeTestSourceDirectory>true</includeTestSourceDirectory>
123
+ <testSourceDirectories>${project.basedir}/src/test/java</testSourceDirectories>
124
+ <violationSeverity>error</violationSeverity>
125
+ <failOnViolation>true</failOnViolation>
126
+ </configuration>
127
+ <goals>
128
+ <goal>check</goal>
129
+ </goals>
130
+ </execution>
131
+ </executions>
132
+ </plugin>
133
+ <plugin>
134
+ <groupId>org.apache.felix</groupId>
135
+ <artifactId>maven-bundle-plugin</artifactId>
136
+ <version>${maven.bundle.version}</version>
137
+ <extensions>true</extensions>
138
+ <configuration>
139
+ <instructions>
140
+ <Bundle-DocURL>${project.url}</Bundle-DocURL>
141
+ <Bundle-Activator>
142
+ org.apache.tika.config.TikaActivator
143
+ </Bundle-Activator>
144
+ <Bundle-ActivationPolicy>lazy</Bundle-ActivationPolicy>
145
+ <Import-Package>org.apache.commons.io.*;version="[2,3)",*</Import-Package>
146
+ <Export-Package>
147
+ org.apache.tika.*
148
+ </Export-Package>
149
+ </instructions>
150
+ </configuration>
151
+ </plugin>
152
+ <plugin>
153
+ <groupId>org.apache.rat</groupId>
154
+ <artifactId>apache-rat-plugin</artifactId>
155
+ <version>${rat.version}</version>
156
+ <configuration>
157
+ <excludes>
158
+ <exclude>src/test/resources/org/apache/tika/**</exclude>
159
+ <exclude>src/main/resources/org/apache/tika/language/*.ngp</exclude>
160
+ <exclude>src/main/resources/org/apache/tika/detect/*.nnmodel</exclude>
161
+ <exclude>src/test/resources/test-documents/file-list.txt</exclude>
162
+ <exclude>src/test/resources/test-documents/ang20150420t182050_corr_v1e_img.hdr</exclude>
163
+ </excludes>
164
+ </configuration>
165
+ </plugin>
166
+ <plugin>
167
+ <groupId>org.apache.maven.plugins</groupId>
168
+ <artifactId>maven-jar-plugin</artifactId>
169
+ <configuration>
170
+ <archive>
171
+ <manifestEntries>
172
+ <Automatic-Module-Name>org.apache.tika.core</Automatic-Module-Name>
173
+ </manifestEntries>
174
+ </archive>
175
+ </configuration>
176
+ <executions>
177
+ <execution>
178
+ <goals>
179
+ <goal>test-jar</goal>
180
+ </goals>
181
+ </execution>
182
+ </executions>
183
+ </plugin>
184
+ <!--
185
+ <plugin>
186
+ <groupId>org.codehaus.mojo</groupId>
187
+ <artifactId>clirr-maven-plugin</artifactId>
188
+ <version>2.8</version>
189
+ <executions>
190
+ <execution>
191
+ <phase>verify</phase>
192
+ <goals>
193
+ <goal>check</goal>
194
+ </goals>
195
+ <configuration>
196
+ <comparisonArtifacts>
197
+ <comparisonArtifact>
198
+ <groupId>org.apache.tika</groupId>
199
+ <artifactId>tika-core</artifactId>
200
+ <version>2.3.0</version>
201
+ <type>jar</type>
202
+ </comparisonArtifact>
203
+ </comparisonArtifacts>
204
+ </configuration>
205
+ </execution>
206
+ </executions>
207
+ </plugin> -->
208
+ <plugin>
209
+ <artifactId>maven-failsafe-plugin</artifactId>
210
+ <version>${maven.failsafe.version}</version>
211
+ <configuration>
212
+ <additionalClasspathElements>
213
+ <additionalClasspathElement>
214
+ ${project.build.directory}/${project.build.finalName}.jar
215
+ </additionalClasspathElement>
216
+ </additionalClasspathElements>
217
+ </configuration>
218
+ <executions>
219
+ <execution>
220
+ <goals>
221
+ <goal>integration-test</goal>
222
+ <goal>verify</goal>
223
+ </goals>
224
+ </execution>
225
+ </executions>
226
+ </plugin>
227
+ <plugin>
228
+ <!-- consider moving the test framework to another regular package -->
229
+ <groupId>org.apache.maven.plugins</groupId>
230
+ <artifactId>maven-assembly-plugin</artifactId>
231
+ <configuration>
232
+ <descriptors>
233
+ <descriptor>src/main/assembly/test-jar-with-dependencies.xml</descriptor>
234
+ </descriptors>
235
+ </configuration>
236
+ <executions>
237
+ <execution>
238
+ <phase>package</phase>
239
+ <goals>
240
+ <goal>single</goal>
241
+ </goals>
242
+ </execution>
243
+ </executions>
244
+ </plugin>
245
+ </plugins>
246
+ </build>
247
+ <reporting>
248
+ <plugins>
249
+ <!-- to run: mvn site - reports go in target/site/findbugs.html -->
250
+ <plugin>
251
+ <groupId>org.codehaus.mojo</groupId>
252
+ <artifactId>findbugs-maven-plugin</artifactId>
253
+ <version>3.0.5</version>
254
+ <configuration>
255
+ <jvmArgs>-Xmx256m</jvmArgs>
256
+ <timeout>240000</timeout>
257
+ <effort>max</effort>
258
+ <failOnError>true</failOnError>
259
+ </configuration>
260
+ </plugin>
261
+ <plugin>
262
+ <groupId>org.apache.maven.plugins</groupId>
263
+ <artifactId>maven-project-info-reports-plugin</artifactId>
264
+ <version>${maven.project.info.reports.version}</version>
265
+ <reportSets>
266
+ <reportSet>
267
+ <reports>
268
+ <report>index</report>
269
+ </reports>
270
+ </reportSet>
271
+ </reportSets>
272
+ </plugin>
273
+ </plugins>
274
+ </reporting>
275
+
276
+ <description>This is the core Apache Tika™ toolkit library from which all other modules inherit functionality. It
277
+ also
278
+ includes the core facades for the Tika API.
279
+ </description>
280
+ <organization>
281
+ <name>The Apache Software Foundation</name>
282
+ <url>http://www.apache.org</url>
283
+ </organization>
284
+ <issueManagement>
285
+ <system>JIRA</system>
286
+ <url>https://issues.apache.org/jira/browse/TIKA</url>
287
+ </issueManagement>
288
+ <ciManagement>
289
+ <system>Jenkins</system>
290
+ <url>https://builds.apache.org/job/Tika-trunk/</url>
291
+ </ciManagement>
292
+
293
+ <scm>
294
+ <tag>3.0.0-rc1</tag>
295
+ </scm>
296
+ </project>
local-test-tika-full-01-vuln_6/afc-tika/tika-detectors/pom.xml ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+
3
+ <!--
4
+ Licensed to the Apache Software Foundation (ASF) under one
5
+ or more contributor license agreements. See the NOTICE file
6
+ distributed with this work for additional information
7
+ regarding copyright ownership. The ASF licenses this file
8
+ to you under the Apache License, Version 2.0 (the
9
+ "License"); you may not use this file except in compliance
10
+ with the License. You may obtain a copy of the License at
11
+
12
+ http://www.apache.org/licenses/LICENSE-2.0
13
+
14
+ Unless required by applicable law or agreed to in writing,
15
+ software distributed under the License is distributed on an
16
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17
+ KIND, either express or implied. See the License for the
18
+ specific language governing permissions and limitations
19
+ under the License.
20
+ -->
21
+
22
+ <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
23
+ <modelVersion>4.0.0</modelVersion>
24
+
25
+ <parent>
26
+ <groupId>org.apache.tika</groupId>
27
+ <artifactId>tika-parent</artifactId>
28
+ <version>4.0.0-SNAPSHOT</version>
29
+ <relativePath>../tika-parent/pom.xml</relativePath>
30
+ </parent>
31
+
32
+ <artifactId>tika-detectors</artifactId>
33
+ <packaging>pom</packaging>
34
+ <name>Apache Tika Detectors</name>
35
+
36
+ <modules>
37
+ <module>tika-detector-siegfried</module>
38
+ <module>tika-detector-magika</module>
39
+ </modules>
40
+ </project>
local-test-tika-full-01-vuln_6/afc-tika/tika-eval/pom.xml ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+
3
+ <!--
4
+ Licensed to the Apache Software Foundation (ASF) under one
5
+ or more contributor license agreements. See the NOTICE file
6
+ distributed with this work for additional information
7
+ regarding copyright ownership. The ASF licenses this file
8
+ to you under the Apache License, Version 2.0 (the
9
+ "License"); you may not use this file except in compliance
10
+ with the License. You may obtain a copy of the License at
11
+
12
+ http://www.apache.org/licenses/LICENSE-2.0
13
+
14
+ Unless required by applicable law or agreed to in writing,
15
+ software distributed under the License is distributed on an
16
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17
+ KIND, either express or implied. See the License for the
18
+ specific language governing permissions and limitations
19
+ under the License.
20
+ -->
21
+
22
+ <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
23
+ <modelVersion>4.0.0</modelVersion>
24
+ <parent>
25
+ <groupId>org.apache.tika</groupId>
26
+ <artifactId>tika-parent</artifactId>
27
+ <version>4.0.0-SNAPSHOT</version>
28
+ <relativePath>../tika-parent/pom.xml</relativePath>
29
+ </parent>
30
+
31
+ <artifactId>tika-eval</artifactId>
32
+ <name>Apache Tika eval module</name>
33
+ <url>https://tika.apache.org/</url>
34
+
35
+ <packaging>pom</packaging>
36
+ <modules>
37
+ <module>tika-eval-core</module>
38
+ <module>tika-eval-app</module>
39
+ </modules>
40
+
41
+ <build>
42
+ <plugins>
43
+ <plugin>
44
+ <groupId>org.apache.maven.plugins</groupId>
45
+ <artifactId>maven-checkstyle-plugin</artifactId>
46
+ <version>${checkstyle.plugin.version}</version>
47
+ <dependencies>
48
+ <dependency>
49
+ <groupId>com.puppycrawl.tools</groupId>
50
+ <artifactId>checkstyle</artifactId>
51
+ <version>${puppycrawl.version}</version>
52
+ </dependency>
53
+ </dependencies>
54
+ <executions>
55
+ <execution>
56
+ <id>validate</id>
57
+ <phase>validate</phase>
58
+ <configuration>
59
+ <configLocation>checkstyle.xml</configLocation>
60
+ <inputEncoding>UTF-8</inputEncoding>
61
+ <consoleOutput>false</consoleOutput>
62
+ <includeTestSourceDirectory>true</includeTestSourceDirectory>
63
+ <testSourceDirectories>${project.basedir}/src/test/java</testSourceDirectories>
64
+ <violationSeverity>error</violationSeverity>
65
+ <failOnViolation>true</failOnViolation>
66
+ </configuration>
67
+ <goals>
68
+ <goal>check</goal>
69
+ </goals>
70
+ </execution>
71
+ </executions>
72
+ </plugin>
73
+ </plugins>
74
+ </build>
75
+
76
+ <scm>
77
+ <tag>3.0.0-rc1</tag>
78
+ </scm>
79
+ </project>
local-test-tika-full-01-vuln_6/afc-tika/tika-example/pom.xml ADDED
@@ -0,0 +1,153 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+
3
+ <!--
4
+ Licensed to the Apache Software Foundation (ASF) under one
5
+ or more contributor license agreements. See the NOTICE file
6
+ distributed with this work for additional information
7
+ regarding copyright ownership. The ASF licenses this file
8
+ to you under the Apache License, Version 2.0 (the
9
+ "License"); you may not use this file except in compliance
10
+ with the License. You may obtain a copy of the License at
11
+
12
+ http://www.apache.org/licenses/LICENSE-2.0
13
+
14
+ Unless required by applicable law or agreed to in writing,
15
+ software distributed under the License is distributed on an
16
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17
+ KIND, either express or implied. See the License for the
18
+ specific language governing permissions and limitations
19
+ under the License.
20
+ -->
21
+
22
+ <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
23
+ <modelVersion>4.0.0</modelVersion>
24
+
25
+ <parent>
26
+ <groupId>org.apache.tika</groupId>
27
+ <artifactId>tika-parent</artifactId>
28
+ <version>4.0.0-SNAPSHOT</version>
29
+ <relativePath>../tika-parent/pom.xml</relativePath>
30
+ </parent>
31
+
32
+ <artifactId>tika-example</artifactId>
33
+ <name>Apache Tika examples</name>
34
+ <url>https://tika.apache.org/</url>
35
+
36
+ <!-- List of dependencies that we depend on for the examples. See the full list of Tika
37
+ modules and how to use them at http://mvnrepository.com/artifact/org.apache.tika.-->
38
+ <dependencies>
39
+ <dependency>
40
+ <groupId>org.apache.tika</groupId>
41
+ <artifactId>tika-app</artifactId>
42
+ <version>${project.version}</version>
43
+ </dependency>
44
+ <dependency>
45
+ <groupId>org.apache.tika</groupId>
46
+ <artifactId>tika-serialization</artifactId>
47
+ <version>${project.version}</version>
48
+ </dependency>
49
+ <dependency>
50
+ <groupId>org.apache.tika</groupId>
51
+ <artifactId>tika-translate</artifactId>
52
+ <version>${project.version}</version>
53
+ </dependency>
54
+ <dependency>
55
+ <groupId>${project.groupId}</groupId>
56
+ <artifactId>tika-langdetect-optimaize</artifactId>
57
+ <version>${project.version}</version>
58
+ </dependency>
59
+ <dependency>
60
+ <groupId>org.apache.tika</groupId>
61
+ <artifactId>tika-eval-core</artifactId>
62
+ <version>${project.version}</version>
63
+ </dependency>
64
+ <dependency>
65
+ <groupId>org.apache.tika</groupId>
66
+ <artifactId>tika-transcribe-aws</artifactId>
67
+ <version>${project.version}</version>
68
+ </dependency>
69
+ <dependency>
70
+ <groupId>org.apache.tika</groupId>
71
+ <artifactId>tika-core</artifactId>
72
+ <version>${project.version}</version>
73
+ <type>test-jar</type>
74
+ <scope>test</scope>
75
+ </dependency>
76
+ <dependency>
77
+ <groupId>javax.jcr</groupId>
78
+ <artifactId>jcr</artifactId>
79
+ <version>${javax.jcr.version}</version>
80
+ </dependency>
81
+ <dependency>
82
+ <groupId>org.apache.jackrabbit</groupId>
83
+ <artifactId>jackrabbit-jcr-server</artifactId>
84
+ <version>${jackrabbit.version}</version>
85
+ <exclusions>
86
+ <exclusion>
87
+ <groupId>org.apache.tika</groupId>
88
+ <artifactId>tika-core</artifactId>
89
+ </exclusion>
90
+ </exclusions>
91
+ </dependency>
92
+ <dependency>
93
+ <groupId>org.apache.jackrabbit</groupId>
94
+ <artifactId>jackrabbit-core</artifactId>
95
+ <version>${jackrabbit.version}</version>
96
+ <exclusions>
97
+ <exclusion>
98
+ <groupId>org.apache.tika</groupId>
99
+ <artifactId>tika-core</artifactId>
100
+ </exclusion>
101
+ </exclusions>
102
+ </dependency>
103
+ <dependency>
104
+ <groupId>org.apache.lucene</groupId>
105
+ <artifactId>lucene-core</artifactId>
106
+ </dependency>
107
+ <dependency>
108
+ <groupId>org.springframework</groupId>
109
+ <artifactId>spring-context</artifactId>
110
+ <version>${spring.version}</version>
111
+ </dependency>
112
+ </dependencies>
113
+
114
+ <description>This module contains examples of how to use Apache Tika.</description>
115
+ <build>
116
+ <plugins>
117
+ <plugin>
118
+ <groupId>org.apache.maven.plugins</groupId>
119
+ <artifactId>maven-checkstyle-plugin</artifactId>
120
+ <version>${checkstyle.plugin.version}</version>
121
+ <dependencies>
122
+ <dependency>
123
+ <groupId>com.puppycrawl.tools</groupId>
124
+ <artifactId>checkstyle</artifactId>
125
+ <version>${puppycrawl.version}</version>
126
+ </dependency>
127
+ </dependencies>
128
+ <executions>
129
+ <execution>
130
+ <id>validate</id>
131
+ <phase>validate</phase>
132
+ <configuration>
133
+ <configLocation>checkstyle.xml</configLocation>
134
+ <inputEncoding>UTF-8</inputEncoding>
135
+ <consoleOutput>false</consoleOutput>
136
+ <includeTestSourceDirectory>true</includeTestSourceDirectory>
137
+ <testSourceDirectories>${project.basedir}/src/test/java</testSourceDirectories>
138
+ <violationSeverity>error</violationSeverity>
139
+ <failOnViolation>true</failOnViolation>
140
+ </configuration>
141
+ <goals>
142
+ <goal>check</goal>
143
+ </goals>
144
+ </execution>
145
+ </executions>
146
+ </plugin>
147
+ </plugins>
148
+ </build>
149
+
150
+ <scm>
151
+ <tag>3.0.0-rc1</tag>
152
+ </scm>
153
+ </project>
local-test-tika-full-01-vuln_6/afc-tika/tika-fuzzing/pom.xml ADDED
@@ -0,0 +1,136 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+ Licensed to the Apache Software Foundation (ASF) under one
4
+ or more contributor license agreements. See the NOTICE file
5
+ distributed with this work for additional information
6
+ regarding copyright ownership. The ASF licenses this file
7
+ to you under the Apache License, Version 2.0 (the
8
+ "License"); you may not use this file except in compliance
9
+ with the License. You may obtain a copy of the License at
10
+
11
+ http://www.apache.org/licenses/LICENSE-2.0
12
+
13
+ Unless required by applicable law or agreed to in writing,
14
+ software distributed under the License is distributed on an
15
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16
+ KIND, either express or implied. See the License for the
17
+ specific language governing permissions and limitations
18
+ under the License.
19
+ -->
20
+ <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
21
+ <parent>
22
+ <groupId>org.apache.tika</groupId>
23
+ <artifactId>tika-parent</artifactId>
24
+ <version>4.0.0-SNAPSHOT</version>
25
+ <relativePath>../tika-parent/pom.xml</relativePath>
26
+ </parent>
27
+
28
+ <artifactId>tika-fuzzing</artifactId>
29
+ <name>Apache Tika fuzzing</name>
30
+ <url>https://tika.apache.org/</url>
31
+
32
+ <modelVersion>4.0.0</modelVersion>
33
+
34
+
35
+ <dependencies>
36
+ <dependency>
37
+ <groupId>${project.groupId}</groupId>
38
+ <artifactId>tika-core</artifactId>
39
+ <version>${project.version}</version>
40
+ <scope>provided</scope>
41
+ </dependency>
42
+ <dependency>
43
+ <groupId>${project.groupId}</groupId>
44
+ <artifactId>tika-serialization</artifactId>
45
+ <version>${project.version}</version>
46
+ </dependency>
47
+ <dependency>
48
+ <groupId>${project.groupId}</groupId>
49
+ <artifactId>tika-emitter-fs</artifactId>
50
+ <version>${project.version}</version>
51
+ </dependency>
52
+ <dependency>
53
+ <groupId>commons-cli</groupId>
54
+ <artifactId>commons-cli</artifactId>
55
+ </dependency>
56
+ <dependency>
57
+ <groupId>org.apache.tika</groupId>
58
+ <artifactId>tika-parser-pkg-module</artifactId>
59
+ <version>${project.version}</version>
60
+ </dependency>
61
+ <dependency>
62
+ <groupId>org.apache.tika</groupId>
63
+ <artifactId>tika-parser-pdf-module</artifactId>
64
+ <version>${project.version}</version>
65
+ </dependency>
66
+ <!-- logging -->
67
+ <dependency>
68
+ <groupId>org.apache.logging.log4j</groupId>
69
+ <artifactId>log4j-slf4j2-impl</artifactId>
70
+ </dependency>
71
+ <dependency>
72
+ <groupId>org.slf4j</groupId>
73
+ <artifactId>jcl-over-slf4j</artifactId>
74
+ </dependency>
75
+ <!-- test -->
76
+ <dependency>
77
+ <groupId>org.apache.tika</groupId>
78
+ <artifactId>tika-parser-digest-commons</artifactId>
79
+ <version>${project.version}</version>
80
+ </dependency>
81
+
82
+ <!-- bring in the mock parser -->
83
+ <dependency>
84
+ <groupId>${project.groupId}</groupId>
85
+ <artifactId>tika-core</artifactId>
86
+ <version>${project.version}</version>
87
+ <type>test-jar</type>
88
+ <scope>test</scope>
89
+ </dependency>
90
+ </dependencies>
91
+ <build>
92
+ <plugins>
93
+ <plugin>
94
+ <groupId>org.apache.maven.plugins</groupId>
95
+ <artifactId>maven-checkstyle-plugin</artifactId>
96
+ <version>${checkstyle.plugin.version}</version>
97
+ <dependencies>
98
+ <dependency>
99
+ <groupId>com.puppycrawl.tools</groupId>
100
+ <artifactId>checkstyle</artifactId>
101
+ <version>${puppycrawl.version}</version>
102
+ </dependency>
103
+ </dependencies>
104
+ <executions>
105
+ <execution>
106
+ <id>validate</id>
107
+ <phase>validate</phase>
108
+ <configuration>
109
+ <configLocation>checkstyle.xml</configLocation>
110
+ <inputEncoding>UTF-8</inputEncoding>
111
+ <consoleOutput>false</consoleOutput>
112
+ <includeTestSourceDirectory>true</includeTestSourceDirectory>
113
+ <testSourceDirectories>${project.basedir}/src/test/java</testSourceDirectories>
114
+ <violationSeverity>error</violationSeverity>
115
+ <failOnViolation>true</failOnViolation>
116
+ </configuration>
117
+ <goals>
118
+ <goal>check</goal>
119
+ </goals>
120
+ </execution>
121
+ </executions>
122
+ </plugin>
123
+ <plugin>
124
+ <groupId>org.apache.maven.plugins</groupId>
125
+ <artifactId>maven-jar-plugin</artifactId>
126
+ <configuration>
127
+ <archive>
128
+ <manifestEntries>
129
+ <Automatic-Module-Name>org.apache.tika.fuzzing</Automatic-Module-Name>
130
+ </manifestEntries>
131
+ </archive>
132
+ </configuration>
133
+ </plugin>
134
+ </plugins>
135
+ </build>
136
+ </project>
local-test-tika-full-01-vuln_6/afc-tika/tika-grpc/README.md ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Tika Pipes GRPC Server
2
+
3
+ The following is the Tika Pipes GRPC Server.
4
+
5
+ This server will manage a pool of Tika Pipes clients.
6
+
7
+ * Tika Pipes Fetcher CRUD operations
8
+ * Create
9
+ * Read
10
+ * Update
11
+ * Delete
12
+ * Fetch + Parse a given Fetch Item
13
+
local-test-tika-full-01-vuln_6/afc-tika/tika-grpc/pom.xml ADDED
@@ -0,0 +1,434 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+ Licensed to the Apache Software Foundation (ASF) under one
4
+ or more contributor license agreements. See the NOTICE file
5
+ distributed with this work for additional information
6
+ regarding copyright ownership. The ASF licenses this file
7
+ to you under the Apache License, Version 2.0 (the
8
+ "License"); you may not use this file except in compliance
9
+ with the License. You may obtain a copy of the License at
10
+
11
+ http://www.apache.org/licenses/LICENSE-2.0
12
+
13
+ Unless required by applicable law or agreed to in writing,
14
+ software distributed under the License is distributed on an
15
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16
+ KIND, either express or implied. See the License for the
17
+ specific language governing permissions and limitations
18
+ under the License.
19
+ -->
20
+ <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
21
+ <modelVersion>4.0.0</modelVersion>
22
+ <artifactId>tika-grpc</artifactId>
23
+ <packaging>jar</packaging>
24
+ <!-- Feel free to delete the comment at the end of these lines. It is just
25
+ for safely updating the version in our release process. -->
26
+ <name>Apache Tika pipes gRPC server</name>
27
+ <url>https://tika.apache.org/</url>
28
+
29
+ <parent>
30
+ <groupId>org.apache.tika</groupId>
31
+ <artifactId>tika-parent</artifactId>
32
+ <version>4.0.0-SNAPSHOT</version>
33
+ <relativePath>../tika-parent/pom.xml</relativePath>
34
+ </parent>
35
+
36
+ <properties>
37
+ <grpc.version>1.71.0</grpc.version>
38
+ <asarkar-grpc-test.version>1.2.2</asarkar-grpc-test.version>
39
+ <awaitility.version>4.3.0</awaitility.version>
40
+ <j2objc-annotations.version>3.0.0</j2objc-annotations.version>
41
+ <!-- javadocs doesn't build for generated code in release:perform, but
42
+ appears to work generally :/ -->
43
+ <maven.javadoc.skip>true</maven.javadoc.skip>
44
+ </properties>
45
+
46
+ <dependencyManagement>
47
+ <dependencies>
48
+ <dependency>
49
+ <groupId>io.grpc</groupId>
50
+ <artifactId>grpc-bom</artifactId>
51
+ <version>${grpc.version}</version>
52
+ <type>pom</type>
53
+ <scope>import</scope>
54
+ </dependency>
55
+ </dependencies>
56
+ </dependencyManagement>
57
+
58
+ <dependencies>
59
+ <dependency>
60
+ <groupId>io.grpc</groupId>
61
+ <artifactId>grpc-netty-shaded</artifactId>
62
+ <scope>runtime</scope>
63
+ <exclusions>
64
+ <exclusion>
65
+ <groupId>com.google.guava</groupId>
66
+ <artifactId>guava</artifactId>
67
+ </exclusion>
68
+ <exclusion>
69
+ <groupId>com.google.errorprone</groupId>
70
+ <artifactId>error_prone_annotations</artifactId>
71
+ </exclusion>
72
+ <exclusion>
73
+ <groupId>com.google.code.gson</groupId>
74
+ <artifactId>gson</artifactId>
75
+ </exclusion>
76
+ </exclusions>
77
+ </dependency>
78
+ <dependency>
79
+ <groupId>io.grpc</groupId>
80
+ <artifactId>grpc-protobuf</artifactId>
81
+ <exclusions>
82
+ <exclusion>
83
+ <groupId>com.google.guava</groupId>
84
+ <artifactId>guava</artifactId>
85
+ </exclusion>
86
+ <exclusion>
87
+ <groupId>com.google.errorprone</groupId>
88
+ <artifactId>error_prone_annotations</artifactId>
89
+ </exclusion>
90
+ </exclusions>
91
+ </dependency>
92
+ <dependency>
93
+ <groupId>io.grpc</groupId>
94
+ <artifactId>grpc-services</artifactId>
95
+ <exclusions>
96
+ <exclusion>
97
+ <groupId>com.google.protobuf</groupId>
98
+ <artifactId>protobuf-java-util</artifactId>
99
+ </exclusion>
100
+ <exclusion>
101
+ <groupId>com.google.guava</groupId>
102
+ <artifactId>guava</artifactId>
103
+ </exclusion>
104
+ <exclusion>
105
+ <groupId>com.google.errorprone</groupId>
106
+ <artifactId>error_prone_annotations</artifactId>
107
+ </exclusion>
108
+ <exclusion>
109
+ <groupId>com.google.j2objc</groupId>
110
+ <artifactId>j2objc-annotations</artifactId>
111
+ </exclusion>
112
+ </exclusions>
113
+ </dependency>
114
+ <dependency>
115
+ <groupId>io.grpc</groupId>
116
+ <artifactId>grpc-stub</artifactId>
117
+ <exclusions>
118
+ <exclusion>
119
+ <groupId>com.google.guava</groupId>
120
+ <artifactId>guava</artifactId>
121
+ </exclusion>
122
+ <exclusion>
123
+ <groupId>com.google.errorprone</groupId>
124
+ <artifactId>error_prone_annotations</artifactId>
125
+ </exclusion>
126
+ </exclusions>
127
+ </dependency>
128
+ <dependency>
129
+ <groupId>com.google.protobuf</groupId>
130
+ <artifactId>protobuf-java-util</artifactId>
131
+ <version>${protobuf.version}</version>
132
+ <exclusions>
133
+ <exclusion>
134
+ <groupId>com.google.guava</groupId>
135
+ <artifactId>guava</artifactId>
136
+ </exclusion>
137
+ <exclusion>
138
+ <groupId>com.google.errorprone</groupId>
139
+ <artifactId>error_prone_annotations</artifactId>
140
+ </exclusion>
141
+ <exclusion>
142
+ <groupId>com.google.j2objc</groupId>
143
+ <artifactId>j2objc-annotations</artifactId>
144
+ </exclusion>
145
+ </exclusions>
146
+ </dependency>
147
+ <dependency>
148
+ <groupId>com.google.j2objc</groupId>
149
+ <artifactId>j2objc-annotations</artifactId>
150
+ <version>${j2objc-annotations.version}</version> <!-- prevent downgrade of version in guava -->
151
+ </dependency>
152
+ <dependency>
153
+ <groupId>org.apache.tika</groupId>
154
+ <artifactId>tika-async-cli</artifactId>
155
+ <version>${project.version}</version>
156
+ </dependency>
157
+ <dependency>
158
+ <groupId>org.apache.tika</groupId>
159
+ <artifactId>tika-parsers-standard-package</artifactId>
160
+ <version>${project.version}</version>
161
+ </dependency>
162
+ <dependency>
163
+ <groupId>org.apache.tika</groupId>
164
+ <artifactId>tika-core</artifactId>
165
+ <version>${project.version}</version>
166
+ </dependency>
167
+ <dependency>
168
+ <groupId>com.google.guava</groupId>
169
+ <artifactId>guava</artifactId>
170
+ <exclusions>
171
+ <exclusion>
172
+ <groupId>com.google.errorprone</groupId>
173
+ <artifactId>error_prone_annotations</artifactId>
174
+ </exclusion>
175
+ <exclusion>
176
+ <groupId>com.google.j2objc</groupId>
177
+ <artifactId>j2objc-annotations</artifactId>
178
+ </exclusion>
179
+ </exclusions>
180
+ </dependency>
181
+ <!-- logging -->
182
+ <dependency>
183
+ <groupId>org.apache.logging.log4j</groupId>
184
+ <artifactId>log4j-core</artifactId>
185
+ </dependency>
186
+ <dependency>
187
+ <groupId>org.apache.logging.log4j</groupId>
188
+ <artifactId>log4j-slf4j2-impl</artifactId>
189
+ </dependency>
190
+ <dependency>
191
+ <groupId>org.slf4j</groupId>
192
+ <artifactId>jcl-over-slf4j</artifactId>
193
+ </dependency>
194
+ <dependency>
195
+ <groupId>org.apache.tomcat</groupId>
196
+ <artifactId>annotations-api</artifactId>
197
+ <version>6.0.53</version>
198
+ <scope>provided</scope>
199
+ </dependency>
200
+ <dependency>
201
+ <groupId>com.beust</groupId>
202
+ <artifactId>jcommander</artifactId>
203
+ </dependency>
204
+ <dependency>
205
+ <groupId>org.mockito</groupId>
206
+ <artifactId>mockito-core</artifactId>
207
+ <scope>test</scope>
208
+ </dependency>
209
+ <dependency>
210
+ <groupId>io.grpc</groupId>
211
+ <artifactId>grpc-testing</artifactId>
212
+ <scope>test</scope>
213
+ <exclusions>
214
+ <exclusion>
215
+ <groupId>com.google.guava</groupId>
216
+ <artifactId>guava</artifactId>
217
+ </exclusion>
218
+ </exclusions>
219
+ </dependency>
220
+ <dependency>
221
+ <groupId>org.apache.tika</groupId>
222
+ <artifactId>tika-fetcher-http</artifactId>
223
+ <version>${project.version}</version>
224
+ </dependency>
225
+ <dependency>
226
+ <groupId>com.fasterxml.jackson.module</groupId>
227
+ <artifactId>jackson-module-jsonSchema</artifactId>
228
+ </dependency>
229
+ <dependency>
230
+ <groupId>com.asarkar.grpc</groupId>
231
+ <artifactId>grpc-test</artifactId>
232
+ <version>${asarkar-grpc-test.version}</version>
233
+ <scope>test</scope>
234
+ </dependency>
235
+ <dependency>
236
+ <groupId>org.eclipse.jetty</groupId>
237
+ <artifactId>jetty-server</artifactId>
238
+ <scope>test</scope>
239
+ </dependency>
240
+ <dependency>
241
+ <groupId>org.awaitility</groupId>
242
+ <artifactId>awaitility</artifactId>
243
+ <version>${awaitility.version}</version>
244
+ <scope>test</scope>
245
+ </dependency>
246
+ </dependencies>
247
+ <build>
248
+ <extensions>
249
+ <extension>
250
+ <groupId>kr.motd.maven</groupId>
251
+ <artifactId>os-maven-plugin</artifactId>
252
+ <version>1.7.1</version>
253
+ </extension>
254
+ </extensions>
255
+ <plugins>
256
+ <plugin>
257
+ <groupId>org.xolstice.maven.plugins</groupId>
258
+ <artifactId>protobuf-maven-plugin</artifactId>
259
+ <version>0.6.1</version>
260
+ <configuration>
261
+ <protocArtifact>com.google.protobuf:protoc:${protobuf.version}:exe:${os.detected.classifier}</protocArtifact>
262
+ <pluginId>grpc-java</pluginId>
263
+ <pluginArtifact>io.grpc:protoc-gen-grpc-java:${grpc.version}:exe:${os.detected.classifier}</pluginArtifact>
264
+ </configuration>
265
+ <executions>
266
+ <execution>
267
+ <goals>
268
+ <goal>compile</goal>
269
+ <goal>compile-custom</goal>
270
+ </goals>
271
+ </execution>
272
+ </executions>
273
+ </plugin>
274
+ <plugin>
275
+ <groupId>org.apache.maven.plugins</groupId>
276
+ <artifactId>maven-enforcer-plugin</artifactId>
277
+ <version>3.5.0</version>
278
+ <executions>
279
+ <execution>
280
+ <id>enforce</id>
281
+ <goals>
282
+ <goal>enforce</goal>
283
+ </goals>
284
+ <configuration>
285
+ <rules>
286
+ <requireUpperBoundDeps />
287
+ </rules>
288
+ </configuration>
289
+ </execution>
290
+ </executions>
291
+ </plugin>
292
+ <plugin>
293
+ <groupId>org.apache.rat</groupId>
294
+ <artifactId>apache-rat-plugin</artifactId>
295
+ <version>${rat.version}</version>
296
+ <configuration>
297
+ <excludes>
298
+ <exclude>src/test/resources/certs/**</exclude>
299
+ <exclude>README.md</exclude>
300
+ </excludes>
301
+ </configuration>
302
+ </plugin>
303
+ <plugin>
304
+ <groupId>org.codehaus.mojo</groupId>
305
+ <artifactId>build-helper-maven-plugin</artifactId>
306
+ <version>3.6.0</version>
307
+ <executions>
308
+ <execution>
309
+ <id>test</id>
310
+ <phase>generate-sources</phase>
311
+ <goals>
312
+ <goal>add-source</goal>
313
+ </goals>
314
+ <configuration>
315
+ <sources>
316
+ <source>${basedir}/target/generated-sources/protobuf/grpc-java</source>
317
+ <source>${basedir}/target/generated-sources/protobuf/java</source>
318
+ </sources>
319
+ </configuration>
320
+ </execution>
321
+ </executions>
322
+ </plugin>
323
+ <plugin>
324
+ <groupId>org.codehaus.mojo</groupId>
325
+ <artifactId>exec-maven-plugin</artifactId>
326
+ <version>3.5.0</version>
327
+ <executions>
328
+ <execution>
329
+ <goals>
330
+ <goal>java</goal>
331
+ </goals>
332
+ </execution>
333
+ </executions>
334
+ <configuration>
335
+ <mainClass>org.apache.tika.pipes.grpc.TikaGrpcServer</mainClass>
336
+ </configuration>
337
+ </plugin>
338
+ <plugin>
339
+ <artifactId>maven-shade-plugin</artifactId>
340
+ <version>${maven.shade.version}</version>
341
+ <executions>
342
+ <execution>
343
+ <phase>package</phase>
344
+ <goals>
345
+ <goal>shade</goal>
346
+ </goals>
347
+ <configuration>
348
+ <createDependencyReducedPom>
349
+ false
350
+ </createDependencyReducedPom>
351
+ <artifactSet>
352
+ <excludes>
353
+ </excludes>
354
+ </artifactSet>
355
+ <filters>
356
+ <filter>
357
+ <artifact>*:*</artifact>
358
+ <excludes>
359
+ <exclude>module-info.class</exclude>
360
+ <exclude>META-INF/maven/plugin.xml</exclude>
361
+ <exclude>META-INF/versions/9/module-info.class</exclude>
362
+ <exclude>META-INF/*.SF</exclude>
363
+ <exclude>META-INF/*.DSA</exclude>
364
+ <exclude>META-INF/*.RSA</exclude>
365
+ <exclude>META-INF/*.txt</exclude>
366
+ <exclude>META-INF/ASL2.0</exclude>
367
+ <exclude>META-INF/DEPENDENCIES</exclude>
368
+ <exclude>META-INF/LICENSE</exclude>
369
+ <exclude>META-INF/NOTICE</exclude>
370
+ <exclude>META-INF/README</exclude>
371
+ <exclude>META-INF/MANIFEST.MF</exclude>
372
+ <exclude>LICENSE.txt</exclude>
373
+ <exclude>NOTICE.txt</exclude>
374
+ <exclude>CHANGES</exclude>
375
+ <exclude>README</exclude>
376
+ <exclude>builddef.lst</exclude>
377
+ </excludes>
378
+ </filter>
379
+ </filters>
380
+ <transformers>
381
+ <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
382
+ <mainClass>org.apache.tika.pipes.grpc.TikaGrpcServer</mainClass>
383
+ <manifestEntries>
384
+ <Multi-Release>true</Multi-Release>
385
+ </manifestEntries>
386
+ </transformer>
387
+ <transformer implementation="org.apache.maven.plugins.shade.resource.IncludeResourceTransformer">
388
+ <resource>META-INF/LICENSE</resource>
389
+ <file>target/classes/META-INF/LICENSE</file>
390
+ </transformer>
391
+ <transformer implementation="org.apache.maven.plugins.shade.resource.IncludeResourceTransformer">
392
+ <resource>META-INF/NOTICE</resource>
393
+ <file>target/classes/META-INF/NOTICE</file>
394
+ </transformer>
395
+ </transformers>
396
+ </configuration>
397
+ </execution>
398
+ </executions>
399
+ </plugin>
400
+ <plugin>
401
+ <groupId>org.apache.maven.plugins</groupId>
402
+ <artifactId>maven-checkstyle-plugin</artifactId>
403
+ <version>${checkstyle.plugin.version}</version>
404
+ <dependencies>
405
+ <dependency>
406
+ <groupId>com.puppycrawl.tools</groupId>
407
+ <artifactId>checkstyle</artifactId>
408
+ <version>${puppycrawl.version}</version>
409
+ </dependency>
410
+ </dependencies>
411
+ <executions>
412
+ <execution>
413
+ <id>validate</id>
414
+ <phase>validate</phase>
415
+ <configuration>
416
+ <configLocation>checkstyle.xml</configLocation>
417
+ <inputEncoding>UTF-8</inputEncoding>
418
+ <consoleOutput>true</consoleOutput>
419
+ <logViolationsToConsole>true</logViolationsToConsole>
420
+ <includeTestSourceDirectory>true</includeTestSourceDirectory>
421
+ <testSourceDirectories>${project.basedir}/src/test/java</testSourceDirectories>
422
+ <violationSeverity>error</violationSeverity>
423
+ <failOnViolation>true</failOnViolation>
424
+ <excludeGeneratedSources>true</excludeGeneratedSources>
425
+ </configuration>
426
+ <goals>
427
+ <goal>check</goal>
428
+ </goals>
429
+ </execution>
430
+ </executions>
431
+ </plugin>
432
+ </plugins>
433
+ </build>
434
+ </project>
local-test-tika-full-01-vuln_6/afc-tika/tika-handlers/pom.xml ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+ Licensed to the Apache Software Foundation (ASF) under one
4
+ or more contributor license agreements. See the NOTICE file
5
+ distributed with this work for additional information
6
+ regarding copyright ownership. The ASF licenses this file
7
+ to you under the Apache License, Version 2.0 (the
8
+ "License"); you may not use this file except in compliance
9
+ with the License. You may obtain a copy of the License at
10
+
11
+ http://www.apache.org/licenses/LICENSE-2.0
12
+
13
+ Unless required by applicable law or agreed to in writing,
14
+ software distributed under the License is distributed on an
15
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16
+ KIND, either express or implied. See the License for the
17
+ specific language governing permissions and limitations
18
+ under the License.
19
+ -->
20
+ <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
21
+ <modelVersion>4.0.0</modelVersion>
22
+ <parent>
23
+ <groupId>org.apache.tika</groupId>
24
+ <artifactId>tika-parent</artifactId>
25
+ <version>4.0.0-SNAPSHOT</version>
26
+ <relativePath>../tika-parent/pom.xml</relativePath>
27
+ </parent>
28
+
29
+ <artifactId>tika-handlers</artifactId>
30
+
31
+ <name>Apache Tika handlers</name>
32
+ <packaging>pom</packaging>
33
+
34
+ <modules>
35
+ <module>tika-handler-boilerpipe</module>
36
+ </modules>
37
+
38
+ <dependencies>
39
+ <dependency>
40
+ <groupId>${project.groupId}</groupId>
41
+ <artifactId>tika-core</artifactId>
42
+ <version>${project.version}</version>
43
+ <scope>provided</scope>
44
+ </dependency>
45
+ </dependencies>
46
+ <build>
47
+ <plugins>
48
+ <plugin>
49
+ <groupId>org.apache.rat</groupId>
50
+ <artifactId>apache-rat-plugin</artifactId>
51
+ <version>${rat.version}</version>
52
+ <configuration>
53
+ <excludes>
54
+ <exclude>README.md</exclude>
55
+ </excludes>
56
+ </configuration>
57
+ </plugin>
58
+ </plugins>
59
+ </build>
60
+ </project>
local-test-tika-full-01-vuln_6/afc-tika/tika-java7/pom.xml ADDED
@@ -0,0 +1,125 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+
3
+ <!--
4
+ Licensed to the Apache Software Foundation (ASF) under one
5
+ or more contributor license agreements. See the NOTICE file
6
+ distributed with this work for additional information
7
+ regarding copyright ownership. The ASF licenses this file
8
+ to you under the Apache License, Version 2.0 (the
9
+ "License"); you may not use this file except in compliance
10
+ with the License. You may obtain a copy of the License at
11
+
12
+ http://www.apache.org/licenses/LICENSE-2.0
13
+
14
+ Unless required by applicable law or agreed to in writing,
15
+ software distributed under the License is distributed on an
16
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17
+ KIND, either express or implied. See the License for the
18
+ specific language governing permissions and limitations
19
+ under the License.
20
+ -->
21
+
22
+ <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
23
+ <modelVersion>4.0.0</modelVersion>
24
+
25
+ <parent>
26
+ <groupId>org.apache.tika</groupId>
27
+ <artifactId>tika-parent</artifactId>
28
+ <version>4.0.0-SNAPSHOT</version>
29
+ <relativePath>../tika-parent/pom.xml</relativePath>
30
+ </parent>
31
+
32
+ <artifactId>tika-java7</artifactId>
33
+ <packaging>bundle</packaging>
34
+ <name>Apache Tika Java-7 Components</name>
35
+ <url>https://tika.apache.org/</url>
36
+
37
+ <properties>
38
+ <maven.compiler.source>1.7</maven.compiler.source>
39
+ <maven.compiler.target>1.7</maven.compiler.target>
40
+ </properties>
41
+
42
+ <build>
43
+ <plugins>
44
+ <plugin>
45
+ <groupId>org.apache.felix</groupId>
46
+ <artifactId>maven-scr-plugin</artifactId>
47
+ <version>${maven.scr.version}</version>
48
+ </plugin>
49
+ <plugin>
50
+ <!-- builds the bundle -->
51
+ <groupId>org.apache.felix</groupId>
52
+ <artifactId>maven-bundle-plugin</artifactId>
53
+ <version>${maven.bundle.version}</version>
54
+ <extensions>true</extensions>
55
+ <configuration>
56
+ <instructions>
57
+ <Export-Package>
58
+ org.apache.tika.filetypedetector
59
+ </Export-Package>
60
+ <Private-Package />
61
+ </instructions>
62
+ </configuration>
63
+ </plugin>
64
+ <plugin>
65
+ <groupId>org.apache.rat</groupId>
66
+ <artifactId>apache-rat-plugin</artifactId>
67
+ <version>${rat.version}</version>
68
+ <configuration>
69
+ <excludes>
70
+ <exclude>src/main/resources/META-INF/services/java.nio.file.spi.FileTypeDetector</exclude>
71
+ <exclude>src/test/resources/test-documents/*</exclude>
72
+ </excludes>
73
+ </configuration>
74
+ </plugin>
75
+ <plugin>
76
+ <groupId>org.apache.maven.plugins</groupId>
77
+ <artifactId>maven-jar-plugin</artifactId>
78
+ <configuration>
79
+ <archive>
80
+ <manifestEntries>
81
+ <Automatic-Module-Name>org.apache.tika.java7</Automatic-Module-Name>
82
+ </manifestEntries>
83
+ </archive>
84
+ </configuration>
85
+ </plugin>
86
+ </plugins>
87
+ </build>
88
+
89
+ <dependencies>
90
+ <dependency>
91
+ <groupId>${project.groupId}</groupId>
92
+ <artifactId>tika-core</artifactId>
93
+ <version>${project.version}</version>
94
+ <scope>provided</scope>
95
+ </dependency>
96
+ <dependency>
97
+ <groupId>${project.groupId}</groupId>
98
+ <artifactId>tika-parsers-standard-package</artifactId>
99
+ <version>${project.version}</version>
100
+ </dependency>
101
+ <dependency>
102
+ <groupId>biz.aQute.bnd</groupId>
103
+ <artifactId>biz.aQute.bndlib</artifactId>
104
+ <scope>provided</scope>
105
+ </dependency>
106
+ </dependencies>
107
+
108
+ <description>Java-7 reliant components, including FileTypeDetector implementations</description>
109
+ <organization>
110
+ <name>The Apache Software Foundation</name>
111
+ <url>http://www.apache.org</url>
112
+ </organization>
113
+ <issueManagement>
114
+ <system>JIRA</system>
115
+ <url>https://issues.apache.org/jira/browse/TIKA</url>
116
+ </issueManagement>
117
+ <ciManagement>
118
+ <system>Jenkins</system>
119
+ <url>https://builds.apache.org/job/Tika-trunk/</url>
120
+ </ciManagement>
121
+
122
+ <scm>
123
+ <tag>3.0.0-rc1</tag>
124
+ </scm>
125
+ </project>
local-test-tika-full-01-vuln_6/afc-tika/tika-langdetect/pom.xml ADDED
@@ -0,0 +1,116 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+ Licensed to the Apache Software Foundation (ASF) under one
4
+ or more contributor license agreements. See the NOTICE file
5
+ distributed with this work for additional information
6
+ regarding copyright ownership. The ASF licenses this file
7
+ to you under the Apache License, Version 2.0 (the
8
+ "License"); you may not use this file except in compliance
9
+ with the License. You may obtain a copy of the License at
10
+
11
+ http://www.apache.org/licenses/LICENSE-2.0
12
+
13
+ Unless required by applicable law or agreed to in writing,
14
+ software distributed under the License is distributed on an
15
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16
+ KIND, either express or implied. See the License for the
17
+ specific language governing permissions and limitations
18
+ under the License.
19
+ -->
20
+ <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
21
+ <parent>
22
+ <groupId>org.apache.tika</groupId>
23
+ <artifactId>tika-parent</artifactId>
24
+ <version>4.0.0-SNAPSHOT</version>
25
+ <relativePath>../tika-parent/pom.xml</relativePath>
26
+ </parent>
27
+ <modelVersion>4.0.0</modelVersion>
28
+
29
+ <artifactId>tika-langdetect</artifactId>
30
+ <packaging>pom</packaging>
31
+ <name>Apache Tika language detection</name>
32
+ <url>https://tika.apache.org/</url>
33
+
34
+ <modules>
35
+ <module>tika-langdetect-test-commons</module>
36
+ <module>tika-langdetect-tika</module>
37
+ <module>tika-langdetect-lingo24</module>
38
+ <module>tika-langdetect-optimaize</module>
39
+ <module>tika-langdetect-mitll-text</module>
40
+ <module>tika-langdetect-opennlp</module>
41
+ </modules>
42
+
43
+ <dependencies>
44
+ <dependency>
45
+ <groupId>${project.groupId}</groupId>
46
+ <artifactId>tika-core</artifactId>
47
+ <version>${project.version}</version>
48
+ <scope>provided</scope>
49
+ </dependency>
50
+ <!-- test dependencies -->
51
+ <dependency>
52
+ <groupId>org.junit.jupiter</groupId>
53
+ <artifactId>junit-jupiter-api</artifactId>
54
+ <scope>test</scope>
55
+ </dependency>
56
+ <dependency>
57
+ <groupId>org.junit.jupiter</groupId>
58
+ <artifactId>junit-jupiter-engine</artifactId>
59
+ <scope>test</scope>
60
+ </dependency>
61
+ </dependencies>
62
+
63
+ <build>
64
+ <plugins>
65
+ <plugin>
66
+ <groupId>org.apache.rat</groupId>
67
+ <artifactId>apache-rat-plugin</artifactId>
68
+ <version>${rat.version}</version>
69
+ <configuration>
70
+ <excludes>
71
+ <exclude>**/*.test</exclude>
72
+ <exclude>**/text-test.tsv</exclude>
73
+ <exclude>**/language-codes.tsv</exclude>
74
+ <exclude>**/udhr-known.txt</exclude>
75
+ <exclude>**/udhr-unknown.txt</exclude>
76
+ <exclude>**/language-codes.txt</exclude>
77
+ </excludes>
78
+ </configuration>
79
+ </plugin>
80
+ <plugin>
81
+ <groupId>org.apache.maven.plugins</groupId>
82
+ <artifactId>maven-checkstyle-plugin</artifactId>
83
+ <version>${checkstyle.plugin.version}</version>
84
+ <dependencies>
85
+ <dependency>
86
+ <groupId>com.puppycrawl.tools</groupId>
87
+ <artifactId>checkstyle</artifactId>
88
+ <version>${puppycrawl.version}</version>
89
+ </dependency>
90
+ </dependencies>
91
+ <executions>
92
+ <execution>
93
+ <id>validate</id>
94
+ <phase>validate</phase>
95
+ <configuration>
96
+ <configLocation>checkstyle.xml</configLocation>
97
+ <inputEncoding>UTF-8</inputEncoding>
98
+ <consoleOutput>false</consoleOutput>
99
+ <includeTestSourceDirectory>true</includeTestSourceDirectory>
100
+ <testSourceDirectories>${project.basedir}/src/test/java</testSourceDirectories>
101
+ <violationSeverity>error</violationSeverity>
102
+ <failOnViolation>true</failOnViolation>
103
+ </configuration>
104
+ <goals>
105
+ <goal>check</goal>
106
+ </goals>
107
+ </execution>
108
+ </executions>
109
+ </plugin>
110
+ </plugins>
111
+ </build>
112
+
113
+ <scm>
114
+ <tag>3.0.0-rc1</tag>
115
+ </scm>
116
+ </project>
local-test-tika-full-01-vuln_6/afc-tika/tika-parent/pom.xml ADDED
@@ -0,0 +1,1544 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+
3
+ <!--
4
+ Licensed to the Apache Software Foundation (ASF) under one
5
+ or more contributor license agreements. See the NOTICE file
6
+ distributed with this work for additional information
7
+ regarding copyright ownership. The ASF licenses this file
8
+ to you under the Apache License, Version 2.0 (the
9
+ "License"); you may not use this file except in compliance
10
+ with the License. You may obtain a copy of the License at
11
+
12
+ http://www.apache.org/licenses/LICENSE-2.0
13
+
14
+ Unless required by applicable law or agreed to in writing,
15
+ software distributed under the License is distributed on an
16
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17
+ KIND, either express or implied. See the License for the
18
+ specific language governing permissions and limitations
19
+ under the License.
20
+ -->
21
+
22
+ <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
23
+ <modelVersion>4.0.0</modelVersion>
24
+
25
+ <parent>
26
+ <groupId>org.apache</groupId>
27
+ <artifactId>apache</artifactId>
28
+ <version>34</version>
29
+ <relativePath />
30
+ </parent>
31
+
32
+ <groupId>org.apache.tika</groupId>
33
+ <artifactId>tika-parent</artifactId>
34
+ <version>4.0.0-SNAPSHOT</version>
35
+ <packaging>pom</packaging>
36
+
37
+ <name>Apache Tika parent</name>
38
+ <description>
39
+ Apache Tika is a toolkit for detecting and extracting metadata and
40
+ structured text content from various documents using existing parser
41
+ libraries.
42
+ </description>
43
+ <inceptionYear>2007</inceptionYear>
44
+
45
+ <url>https://tika.apache.org/</url>
46
+
47
+ <organization>
48
+ <name>The Apache Software Foundation</name>
49
+ <url>https://www.apache.org</url>
50
+ </organization>
51
+
52
+ <issueManagement>
53
+ <system>JIRA</system>
54
+ <url>https://issues.apache.org/jira/browse/TIKA</url>
55
+ </issueManagement>
56
+
57
+ <ciManagement>
58
+ <system>Jenkins</system>
59
+ <url>https://ci-builds.apache.org/job/Tika/</url>
60
+ </ciManagement>
61
+
62
+ <mailingLists>
63
+ <mailingList>
64
+ <name>Development mailing list</name>
65
+ <subscribe>dev-subscribe@tika.apache.org</subscribe>
66
+ <unsubscribe>dev-unsubscribe@tika.apache.org</unsubscribe>
67
+ <post>dev@tika.apache.org</post>
68
+ <archive>https://lists.apache.org/list.html?dev@tika.apache.org</archive>
69
+ <otherArchives>
70
+ <otherArchive>http://mail-archives.apache.org/mod_mbox/tika-dev/</otherArchive>
71
+ <otherArchive>http://mail-archives.apache.org/mod_mbox/lucene-tika-dev</otherArchive>
72
+ <otherArchive>http://www.mail-archive.com/dev@tika.apache.org</otherArchive>
73
+ <otherArchive>http://www.mail-archive.com/tika-dev@lucene.apache.org/</otherArchive>
74
+ <otherArchive>http://www.mail-archive.com/tika-dev@incubator.apache.org/</otherArchive>
75
+ <otherArchive>http://www.nabble.com/Apache-Tika---Development-f20913.html</otherArchive>
76
+ <otherArchive>http://news.gmane.org/gmane.comp.apache.tika.devel</otherArchive>
77
+ <otherArchive>http://tika.markmail.org/</otherArchive>
78
+ </otherArchives>
79
+ </mailingList>
80
+ <mailingList>
81
+ <name>Commit mailing list</name>
82
+ <subscribe>commits-subscribe@tika.apache.org</subscribe>
83
+ <unsubscribe>commits-unsubscribe@tika.apache.org</unsubscribe>
84
+ <post>commits@tika.apache.org</post>
85
+ <archive>https://lists.apache.org/list.html?commits@tika.apache.org</archive>
86
+ <otherArchives>
87
+ <otherArchive>http://mail-archives.apache.org/mod_mbox/tika-commits/</otherArchive>
88
+ <otherArchive>http://mail-archives.apache.org/mod_mbox/lucene-tika-commits/</otherArchive>
89
+ <otherArchive>http://www.mail-archive.com/tika-commits@lucene.apache.org/</otherArchive>
90
+ <otherArchive>http://www.mail-archive.com/tika-commits@incubator.apache.org/</otherArchive>
91
+ </otherArchives>
92
+ </mailingList>
93
+ <mailingList>
94
+ <name>User mailing list</name>
95
+ <subscribe>user-subscribe@tika.apache.org</subscribe>
96
+ <unsubscribe>user-unsubscribe@tika.apache.org</unsubscribe>
97
+ <post>user@tika.apache.org</post>
98
+ <archive>https://lists.apache.org/list.html?user@tika.apache.org</archive>
99
+ <otherArchives>
100
+ <otherArchive>http://mail-archives.apache.org/mod_mbox/tika-user/</otherArchive>
101
+ <otherArchive>http://mail-archives.apache.org/mod_mbox/lucene-tika-user/</otherArchive>
102
+ <otherArchive>http://www.mail-archive.com/tika-user@lucene.apache.org/</otherArchive>
103
+ </otherArchives>
104
+ </mailingList>
105
+ </mailingLists>
106
+
107
+ <developers>
108
+ <developer>
109
+ <name>Rida Benjelloun</name>
110
+ <id>ridabenjelloun</id>
111
+ <email>ridabenjelloun@apache.org</email>
112
+ <roles>
113
+ <role>committer</role>
114
+ </roles>
115
+ </developer>
116
+ <developer>
117
+ <name>Mark Harwood</name>
118
+ <id>mharwood</id>
119
+ <roles>
120
+ <role>committer</role>
121
+ </roles>
122
+ </developer>
123
+ <developer>
124
+ <name>Ken Krugler</name>
125
+ <id>kkrugler</id>
126
+ <email>kkrugler@apache.org</email>
127
+ <url>http://ken-blog.krugler.org</url>
128
+ <organization>Scale Unlimited</organization>
129
+ <organizationUrl>http://www.scaleunlimited.com</organizationUrl>
130
+ <roles>
131
+ <role>committer</role>
132
+ </roles>
133
+ </developer>
134
+ <developer>
135
+ <name>Chris A. Mattmann</name>
136
+ <id>mattmann</id>
137
+ <email>mattmann@apache.org</email>
138
+ <url>http://people.apache.org/~mattmann/</url>
139
+ <organization>NASA Jet Propulsion Laboratory</organization>
140
+ <organizationUrl>http://www.jpl.nasa.gov</organizationUrl>
141
+ <timezone>-8</timezone>
142
+ <properties />
143
+ <roles>
144
+ <role>committer</role>
145
+ </roles>
146
+ </developer>
147
+ <developer>
148
+ <name>Michael McCandless</name>
149
+ <id>mikemccand</id>
150
+ <email>mikemccand@apache.org</email>
151
+ <organization>IBM</organization>
152
+ <properties />
153
+ <roles>
154
+ <role>committer</role>
155
+ </roles>
156
+ </developer>
157
+ <developer>
158
+ <name>Dave Meikle</name>
159
+ <id>dmeikle</id>
160
+ <roles>
161
+ <role>committer</role>
162
+ </roles>
163
+ </developer>
164
+ <developer>
165
+ <name>Sami Siren</name>
166
+ <id>siren</id>
167
+ <roles>
168
+ <role>committer</role>
169
+ </roles>
170
+ </developer>
171
+ <developer>
172
+ <name>Nick Burch</name>
173
+ <id>nick</id>
174
+ <organization>Alfresco</organization>
175
+ <organizationUrl>http://alfresco.com</organizationUrl>
176
+ <roles>
177
+ <role>committer</role>
178
+ </roles>
179
+ </developer>
180
+ <developer>
181
+ <name>Maxim Valyanskiy</name>
182
+ <id>maxcom</id>
183
+ <organization>Jet Infosystems</organization>
184
+ <roles>
185
+ <role>committer</role>
186
+ </roles>
187
+ <timezone>+3</timezone>
188
+ </developer>
189
+ <developer>
190
+ <name>Oleg Tikhonov</name>
191
+ <id>oleg</id>
192
+ <roles>
193
+ <role>committer</role>
194
+ </roles>
195
+ <timezone>+2</timezone>
196
+ </developer>
197
+ <developer>
198
+ <name>Ray Gauss II</name>
199
+ <id>rgauss</id>
200
+ <organization>Alfresco</organization>
201
+ <organizationUrl>http://alfresco.com</organizationUrl>
202
+ <timezone>-5</timezone>
203
+ <roles>
204
+ <role>committer</role>
205
+ </roles>
206
+ </developer>
207
+ <developer>
208
+ <name>Tyler Palsulich</name>
209
+ <id>tpalsulich</id>
210
+ <timezone>-8</timezone>
211
+ <roles>
212
+ <role>committer</role>
213
+ </roles>
214
+ </developer>
215
+ <developer>
216
+ <name>Tim Allison</name>
217
+ <id>tallison</id>
218
+ <timezone>-5</timezone>
219
+ <roles>
220
+ <role>committer</role>
221
+ </roles>
222
+ </developer>
223
+ <developer>
224
+ <name>Konstantin Gribov</name>
225
+ <id>grossws</id>
226
+ <timezone>+3</timezone>
227
+ <roles>
228
+ <role>committer</role>
229
+ </roles>
230
+ </developer>
231
+ <developer>
232
+ <name>Tilman Hausherr</name>
233
+ <id>tilman</id>
234
+ <timezone>Europe/Berlin</timezone>
235
+ <roles>
236
+ <role>committer</role>
237
+ </roles>
238
+ </developer>
239
+ <developer>
240
+ <name>Jukka Zitting</name>
241
+ <id>jukka</id>
242
+ <roles>
243
+ <role>emeritus</role>
244
+ </roles>
245
+ </developer>
246
+ <developer>
247
+ <name>Julien Nioche</name>
248
+ <id>jnioche</id>
249
+ <roles>
250
+ <role>emeritus</role>
251
+ </roles>
252
+ </developer>
253
+ <developer>
254
+ <name>Keith Bennett</name>
255
+ <id>kbennett</id>
256
+ <roles>
257
+ <role>emeritus</role>
258
+ </roles>
259
+ </developer>
260
+ <developer>
261
+ <name>Niall Pemberton</name>
262
+ <id>niallp</id>
263
+ <roles>
264
+ <role>emeritus</role>
265
+ </roles>
266
+ </developer>
267
+ </developers>
268
+ <contributors>
269
+ <contributor>
270
+ <name>Doug Cutting</name>
271
+ <roles>
272
+ <role>mentor</role>
273
+ </roles>
274
+ </contributor>
275
+ <contributor>
276
+ <name>Bertrand Delacrétaz</name>
277
+ <roles>
278
+ <role>mentor</role>
279
+ </roles>
280
+ </contributor>
281
+ </contributors>
282
+
283
+ <properties>
284
+ <maven.compiler.source>17</maven.compiler.source>
285
+ <maven.compiler.target>17</maven.compiler.target>
286
+ <maven.compiler.release>17</maven.compiler.release>
287
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
288
+ <project.reporting.outputEncoding>${project.build.sourceEncoding}</project.reporting.outputEncoding>
289
+ <project.build.outputTimestamp>1729074250</project.build.outputTimestamp>
290
+ <!-- plugin versions -->
291
+ <checkstyle.plugin.version>3.6.0</checkstyle.plugin.version>
292
+ <forbiddenapis.version>3.9</forbiddenapis.version>
293
+ <groovy.maven.version>2.1.1</groovy.maven.version>
294
+ <maven.antrun.version>3.1.0</maven.antrun.version>
295
+ <maven.assembly.version>3.7.1</maven.assembly.version>
296
+ <maven.bundle.version>6.0.0</maven.bundle.version>
297
+ <maven.compiler.plugin.version>3.14.0</maven.compiler.plugin.version>
298
+ <maven.failsafe.version>3.5.3</maven.failsafe.version>
299
+ <maven.surefire.version>3.5.3</maven.surefire.version>
300
+ <maven.javadoc.version>3.11.2</maven.javadoc.version>
301
+ <maven.jar.version>3.4.2</maven.jar.version>
302
+ <maven.scr.version>1.26.4</maven.scr.version>
303
+ <maven.shade.version>3.6.0</maven.shade.version>
304
+ <maven.project.info.reports.version>3.9.0</maven.project.info.reports.version>
305
+ <puppycrawl.version>10.23.0</puppycrawl.version>
306
+ <rat.version>0.16.1</rat.version>
307
+ <scm.version>2.1.0</scm.version>
308
+
309
+ <!-- dependency versions -->
310
+ <!-- change threetenbp exclusion version -->
311
+ <google.cloud.version>2.50.0</google.cloud.version>
312
+ <aws.version>1.12.782</aws.version>
313
+ <!-- WARNING: when you upgrade asm make sure that you update the
314
+ OpCode in the initializer in org.apache.tika.parser.asm.XHTMLClassVisitor
315
+ See TIKA-2992.
316
+ -->
317
+ <asm.version>9.8</asm.version>
318
+ <azure.core.version>1.55.3</azure.core.version>
319
+ <azure.core.http.netty.version>1.15.11</azure.core.http.netty.version>
320
+ <azure.storage.blob.version>12.30.0</azure.storage.blob.version>
321
+ <azure.storage.common>12.29.0</azure.storage.common>
322
+ <azure-identity.version>1.15.4</azure-identity.version>
323
+ <azure.json.version>1.5.0</azure.json.version>
324
+ <azure.xml.version>1.2.0</azure.xml.version>
325
+ <biz.aqute.version>7.1.0</biz.aqute.version>
326
+ <boilerpipe.version>1.1.0</boilerpipe.version>
327
+ <!-- used by POI, PDFBox and Jackcess encrypt ...try to sync -->
328
+ <bouncycastle.version>1.80</bouncycastle.version>
329
+ <!-- NOTE: sync brotli version with commons-compress-->
330
+ <brotli.version>0.1.2</brotli.version>
331
+ <c3p0.version>0.11.0-pre2</c3p0.version>
332
+ <commons.cli.version>1.9.0</commons.cli.version>
333
+ <commons.codec.version>1.18.0</commons.codec.version>
334
+ <!-- 4.5.0-M3 successfully tested -->
335
+ <commons.collections4.version>4.4</commons.collections4.version>
336
+ <commons.compress.version>1.27.1</commons.compress.version>
337
+ <commons.csv.version>1.14.0</commons.csv.version>
338
+ <commons.exec.version>1.4.0</commons.exec.version>
339
+ <commons.fileupload.version>1.5</commons.fileupload.version>
340
+ <commons.io.version>2.19.0</commons.io.version>
341
+ <commons.lang3.version>3.17.0</commons.lang3.version>
342
+ <commons.logging.version>1.3.5</commons.logging.version>
343
+ <commons.math3.version>3.6.1</commons.math3.version>
344
+ <commons.net.version>3.11.1</commons.net.version>
345
+ <ctakes.version>6.0.0</ctakes.version>
346
+ <!-- can't use 4.1.0, fails in tika server core because it uses jetty 12, which we can't
347
+ use due to the problems explained there -->
348
+ <cxf.version>4.0.6</cxf.version>
349
+ <ddplist.version>1.28</ddplist.version>
350
+ <dl4j.version>1.0.0-M2.1</dl4j.version>
351
+ <fakeload.version>0.7.0</fakeload.version>
352
+ <fastutil.version>8.5.15</fastutil.version>
353
+ <felix.scr.version>1.12.0</felix.scr.version>
354
+ <freemarker.version>2.3.34</freemarker.version>
355
+ <geoapi.version>3.0.2</geoapi.version>
356
+ <gson.version>2.13.0</gson.version>
357
+ <guava.version>33.4.8-jre</guava.version>
358
+ <h2.version>2.3.232</h2.version>
359
+ <hdf5.version>1.14.3-1.5.10</hdf5.version>
360
+ <httpcomponents.version>4.5.14</httpcomponents.version>
361
+ <httpcore.version>4.4.16</httpcore.version>
362
+ <!-- can't update to 76: "Header authentication failed, please check if you have a valid ICU data file; data format 4e726d32, format version 4.0.0.0"
363
+ in Apache Tika eval core, possibly related to using an "old" lucene version:
364
+ https://github.com/eXist-db/exist/issues/1744
365
+ -->
366
+ <icu4j.version>75.1</icu4j.version>
367
+ <imageio.version>1.4.0</imageio.version>
368
+ <jackrabbit.version>2.23.1-beta</jackrabbit.version>
369
+ <jackson.version>2.19.0-rc2</jackson.version>
370
+ <jackcess.version>4.0.8</jackcess.version>
371
+ <jackcess.encrypt.version>4.0.3</jackcess.encrypt.version>
372
+ <jai.imageio.core.version>1.4.0</jai.imageio.core.version>
373
+ <jakarta.activation.version>2.1.3</jakarta.activation.version>
374
+ <jakarta.annotation.version>3.0.0</jakarta.annotation.version>
375
+ <jakarta.ws.rs.version>4.0.0</jakarta.ws.rs.version>
376
+ <jakarta.xml.bind.version>4.0.2</jakarta.xml.bind.version>
377
+ <jakarta.xml.soap.version>3.0.2</jakarta.xml.soap.version>
378
+ <javax.annotation.version>1.3.2</javax.annotation.version>
379
+ <javax.jcr.version>2.0</javax.jcr.version>
380
+ <jaxb.runtime.version>4.0.5</jaxb.runtime.version>
381
+ <jbig2.version>3.0.4</jbig2.version>
382
+ <jcommander.version>1.82</jcommander.version>
383
+ <jdom2.version>2.0.6.1</jdom2.version>
384
+ <jempbox.version>1.8.17</jempbox.version>
385
+ <!-- can't update to jetty 12 because of problem in solr integration tests
386
+ due to Http2SolrClient (solrj 9.7.0)
387
+ (only on the CI, not on local Windows with Docker, see comment in TIKA-4327 on 14.12.2024)
388
+ expecting org.eclipse.jetty.client.util.InputStreamResponseListener
389
+ but this class is now in org.eclipse.jetty.client, see also
390
+ https://jetty.org/docs/jetty/12/programming-guide/migration/11-to-12.html
391
+ when updating, see also TODO in PipesBiDirectionalStreamingIntegrationTest -->
392
+ <jetty.version>11.0.25</jetty.version>
393
+ <jetty.http2.version>11.0.25</jetty.http2.version>
394
+ <jhighlight.version>1.1.0</jhighlight.version>
395
+ <jna.version>5.17.0</jna.version>
396
+ <json.simple.version>1.1.1</json.simple.version>
397
+ <jsoup.version>1.19.1</jsoup.version>
398
+ <jsr305.version>3.0.2</jsr305.version>
399
+ <junit4.version>4.13.2</junit4.version>
400
+ <junit5.version>5.13.0-M2</junit5.version>
401
+ <juniversalchardet.version>2.5.0</juniversalchardet.version>
402
+ <junrar.version>7.5.5</junrar.version>
403
+ <jwarc.version>0.31.1</jwarc.version>
404
+ <kafka.version>4.0.0</kafka.version>
405
+ <libpst.version>0.9.3</libpst.version>
406
+ <log4j2.version>2.24.3</log4j2.version>
407
+ <!-- can't update to 10, needs jdk21 -->
408
+ <lucene.version>9.12.1</lucene.version>
409
+ <maven.plugin.annotations.version>3.15.1</maven.plugin.annotations.version>
410
+ <mchange.version>0.3.2</mchange.version>
411
+ <metadata.extractor.version>2.19.0</metadata.extractor.version>
412
+ <microsoft.translator.version>0.6.2</microsoft.translator.version>
413
+ <mime4j.version>0.8.12</mime4j.version>
414
+ <mockito.version>5.17.0</mockito.version>
415
+ <mockito-junit-jupiter.version>5.17.0</mockito-junit-jupiter.version>
416
+ <netcdf-java.version>4.5.5</netcdf-java.version>
417
+ <netty.version>4.2.0.Final</netty.version>
418
+ <oak.jackrabbit.version>1.78.0</oak.jackrabbit.version>
419
+ <openjson.version>1.0.13</openjson.version>
420
+ <opennlp.version>2.5.3</opennlp.version>
421
+ <ops4j.version>1.5.1</ops4j.version>
422
+ <optimaize.version>0.6</optimaize.version>
423
+ <osgi.compendium.version>5.0.0</osgi.compendium.version>
424
+ <osgi.core.version>6.0.0</osgi.core.version>
425
+ <osgi.util.version>1.2.0</osgi.util.version>
426
+ <parso.version>2.0.14</parso.version>
427
+ <pax.exam.version>4.14.0</pax.exam.version>
428
+ <pdfbox.version>3.0.4</pdfbox.version>
429
+ <poi.version>5.4.1</poi.version>
430
+ <protobuf.version>3.25.6</protobuf.version>
431
+ <quartz.version>2.5.0</quartz.version>
432
+ <reactor.core.version>3.8.0-M2</reactor.core.version>
433
+ <reactor.netty.version>1.3.0-M2</reactor.netty.version>
434
+ <rome.version>2.1.0</rome.version>
435
+ <scm.version>2.1.0</scm.version>
436
+ <slf4j.version>2.0.17</slf4j.version>
437
+ <sis.version>1.4</sis.version>
438
+ <snappy.version>1.1.10.7</snappy.version>
439
+ <solrj.version>9.8.1</solrj.version>
440
+ <spring.version>6.2.4</spring.version>
441
+ <sqlite.version>3.49.1.0</sqlite.version>
442
+ <stax.ex.version>2.1.0</stax.ex.version>
443
+ <testcontainers.version>1.20.6</testcontainers.version>
444
+ <!-- NOTE: sync tukaani version with commons-compress in tika-parent -->
445
+ <tukaani.version>1.10</tukaani.version>
446
+ <twelvemonkeys.version>3.12.0</twelvemonkeys.version>
447
+ <uimafit.version>3.6.0</uimafit.version>
448
+ <uimaj.core.version>3.6.0</uimaj.core.version>
449
+ <uimaj.cpe.version>3.6.0</uimaj.cpe.version>
450
+ <unit.api.version>2.2</unit.api.version>
451
+ <vorbis.version>0.8</vorbis.version>
452
+ <woodstox.core.version>7.1.0</woodstox.core.version>
453
+ <xmpcore.version>6.1.11</xmpcore.version>
454
+ <zookeeper.version>3.9.3</zookeeper.version>
455
+ <zstd.version>1.5.7-2</zstd.version>
456
+ <nimbus-jose-jwt.version>10.2</nimbus-jose-jwt.version>
457
+ <javacpp.version>1.5.11</javacpp.version>
458
+
459
+ <!-- needs to exist even if empty due to problems with jacoco-maven-plugin -->
460
+ <addmod />
461
+ <!-- This is a default value to avoid problems when running single tests
462
+ see also https://stackoverflow.com/a/28695766/535646
463
+ https://maven.apache.org/surefire/maven-surefire-plugin/faq.html#late-property-evaluation
464
+ -->
465
+ <surefireArgLine />
466
+ </properties>
467
+
468
+ <dependencyManagement>
469
+ <dependencies>
470
+ <dependency>
471
+ <groupId>org.codehaus.plexus</groupId>
472
+ <artifactId>plexus-utils</artifactId>
473
+ <version>4.0.2</version>
474
+ </dependency>
475
+ <dependency>
476
+ <groupId>org.codehaus.plexus</groupId>
477
+ <artifactId>plexus-classworlds</artifactId>
478
+ <version>2.9.0</version>
479
+ </dependency>
480
+ <!-- boms -->
481
+ <dependency>
482
+ <groupId>com.fasterxml.jackson</groupId>
483
+ <artifactId>jackson-bom</artifactId>
484
+ <version>${jackson.version}</version>
485
+ <type>pom</type>
486
+ <scope>import</scope>
487
+ </dependency>
488
+ <dependency>
489
+ <groupId>io.netty</groupId>
490
+ <artifactId>netty-bom</artifactId>
491
+ <version>${netty.version}</version>
492
+ <type>pom</type>
493
+ <scope>import</scope>
494
+ </dependency>
495
+ <dependency>
496
+ <groupId>org.apache.cxf</groupId>
497
+ <artifactId>cxf-bom</artifactId>
498
+ <version>${cxf.version}</version>
499
+ <type>pom</type>
500
+ <scope>import</scope>
501
+ </dependency>
502
+ <dependency>
503
+ <groupId>org.apache.logging.log4j</groupId>
504
+ <artifactId>log4j-bom</artifactId>
505
+ <version>${log4j2.version}</version>
506
+ <type>pom</type>
507
+ <scope>import</scope>
508
+ </dependency>
509
+ <dependency>
510
+ <groupId>org.apache.sis.core</groupId>
511
+ <artifactId>sis-utility</artifactId>
512
+ <version>${sis.version}</version>
513
+ </dependency>
514
+ <dependency>
515
+ <groupId>org.apache.sis.storage</groupId>
516
+ <artifactId>sis-netcdf</artifactId>
517
+ <version>${sis.version}</version>
518
+ </dependency>
519
+ <dependency>
520
+ <groupId>org.apache.sis.core</groupId>
521
+ <artifactId>sis-metadata</artifactId>
522
+ <version>${sis.version}</version>
523
+ </dependency>
524
+ <dependency>
525
+ <groupId>org.eclipse.jetty</groupId>
526
+ <artifactId>jetty-bom</artifactId>
527
+ <version>${jetty.version}</version>
528
+ <type>pom</type>
529
+ <scope>import</scope>
530
+ </dependency>
531
+ <!-- avoid outdated http2 dependencies when using solr 8 -->
532
+ <dependency>
533
+ <groupId>org.eclipse.jetty.http2</groupId>
534
+ <artifactId>http2-http-client-transport</artifactId>
535
+ <version>${jetty.http2.version}</version>
536
+ </dependency>
537
+ <dependency>
538
+ <groupId>org.eclipse.jetty.http2</groupId>
539
+ <artifactId>http2-hpack</artifactId>
540
+ <version>${jetty.http2.version}</version>
541
+ </dependency>
542
+ <dependency>
543
+ <groupId>org.eclipse.jetty.http2</groupId>
544
+ <artifactId>http2-client</artifactId>
545
+ <version>${jetty.http2.version}</version>
546
+ </dependency>
547
+ <dependency>
548
+ <groupId>org.eclipse.jetty.http2</groupId>
549
+ <artifactId>http2-common</artifactId>
550
+ <version>${jetty.http2.version}</version>
551
+ </dependency>
552
+ <dependency>
553
+ <groupId>org.jsoup</groupId>
554
+ <artifactId>jsoup</artifactId>
555
+ <version>${jsoup.version}</version>
556
+ </dependency>
557
+ <dependency>
558
+ <groupId>org.junit</groupId>
559
+ <artifactId>junit-bom</artifactId>
560
+ <version>${junit5.version}</version>
561
+ <type>pom</type>
562
+ <scope>import</scope>
563
+ </dependency>
564
+ <dependency>
565
+ <groupId>org.slf4j</groupId>
566
+ <artifactId>slf4j-bom</artifactId>
567
+ <version>${slf4j.version}</version>
568
+ <type>pom</type>
569
+ <scope>import</scope>
570
+ </dependency>
571
+ <dependency>
572
+ <groupId>org.testcontainers</groupId>
573
+ <artifactId>testcontainers-bom</artifactId>
574
+ <version>${testcontainers.version}</version>
575
+ <type>pom</type>
576
+ <scope>import</scope>
577
+ </dependency>
578
+
579
+ <dependency>
580
+ <groupId>biz.aQute.bnd</groupId>
581
+ <artifactId>biz.aQute.bndlib</artifactId>
582
+ <version>${biz.aqute.version}</version>
583
+ </dependency>
584
+ <dependency>
585
+ <groupId>com.amazonaws</groupId>
586
+ <artifactId>aws-java-sdk-s3</artifactId>
587
+ <version>${aws.version}</version>
588
+ </dependency>
589
+ <dependency>
590
+ <groupId>com.azure</groupId>
591
+ <artifactId>azure-storage-blob</artifactId>
592
+ <version>${azure.storage.blob.version}</version>
593
+ </dependency>
594
+ <dependency>
595
+ <groupId>com.azure</groupId>
596
+ <artifactId>azure-storage-common</artifactId>
597
+ <version>${azure.storage.common}</version>
598
+ </dependency>
599
+ <dependency>
600
+ <groupId>com.azure</groupId>
601
+ <artifactId>azure-core</artifactId>
602
+ <version>${azure.core.version}</version>
603
+ </dependency>
604
+ <dependency>
605
+ <groupId>com.azure</groupId>
606
+ <artifactId>azure-core-http-netty</artifactId>
607
+ <version>${azure.core.http.netty.version}</version>
608
+ </dependency>
609
+ <dependency>
610
+ <groupId>com.azure</groupId>
611
+ <artifactId>azure-xml</artifactId>
612
+ <version>${azure.xml.version}</version>
613
+ </dependency>
614
+ <dependency>
615
+ <groupId>com.azure</groupId>
616
+ <artifactId>azure-json</artifactId>
617
+ <version>${azure.json.version}</version>
618
+ </dependency>
619
+ <dependency>
620
+ <groupId>com.drewnoakes</groupId>
621
+ <artifactId>metadata-extractor</artifactId>
622
+ <version>${metadata.extractor.version}</version>
623
+ </dependency>
624
+ <dependency>
625
+ <groupId>com.google.cloud</groupId>
626
+ <artifactId>google-cloud-storage</artifactId>
627
+ <version>${google.cloud.version}</version>
628
+ </dependency>
629
+ <dependency>
630
+ <groupId>com.fasterxml.woodstox</groupId>
631
+ <artifactId>woodstox-core</artifactId>
632
+ <version>${woodstox.core.version}</version>
633
+ </dependency>
634
+ <dependency>
635
+ <groupId>com.mchange</groupId>
636
+ <artifactId>c3p0</artifactId>
637
+ <version>${c3p0.version}</version>
638
+ </dependency>
639
+ <dependency>
640
+ <groupId>com.mchange</groupId>
641
+ <artifactId>mchange-commons-java</artifactId>
642
+ <version>${mchange.version}</version>
643
+ </dependency>
644
+ <dependency>
645
+ <groupId>com.beust</groupId>
646
+ <artifactId>jcommander</artifactId>
647
+ <version>${jcommander.version}</version>
648
+ </dependency>
649
+ <dependency>
650
+ <groupId>com.github.albfernandez</groupId>
651
+ <artifactId>juniversalchardet</artifactId>
652
+ <version>${juniversalchardet.version}</version>
653
+ </dependency>
654
+ <!-- jai-imageio-core is allowed since LEGAL-304 -->
655
+ <dependency>
656
+ <groupId>com.github.jai-imageio</groupId>
657
+ <artifactId>jai-imageio-core</artifactId>
658
+ <version>${jai.imageio.core.version}</version>
659
+ </dependency>
660
+ <dependency>
661
+ <groupId>com.google.code.findbugs</groupId>
662
+ <artifactId>jsr305</artifactId>
663
+ <version>${jsr305.version}</version>
664
+ </dependency>
665
+ <dependency>
666
+ <groupId>com.google.code.gson</groupId>
667
+ <artifactId>gson</artifactId>
668
+ <version>${gson.version}</version>
669
+ </dependency>
670
+ <dependency>
671
+ <groupId>com.google.guava</groupId>
672
+ <artifactId>guava</artifactId>
673
+ <version>${guava.version}</version>
674
+ </dependency>
675
+ <dependency>
676
+ <groupId>com.google.errorprone</groupId>
677
+ <artifactId>error_prone_annotations</artifactId>
678
+ <version>2.37.0</version>
679
+ </dependency>
680
+ <dependency>
681
+ <groupId>com.googlecode.json-simple</groupId>
682
+ <artifactId>json-simple</artifactId>
683
+ <version>${json.simple.version}</version>
684
+ <exclusions>
685
+ <exclusion>
686
+ <groupId>junit</groupId>
687
+ <artifactId>junit</artifactId>
688
+ </exclusion>
689
+ </exclusions>
690
+ </dependency>
691
+ <dependency>
692
+ <groupId>com.google.protobuf</groupId>
693
+ <artifactId>protobuf-java</artifactId>
694
+ <version>${protobuf.version}</version>
695
+ </dependency>
696
+ <dependency>
697
+ <groupId>com.h2database</groupId>
698
+ <artifactId>h2</artifactId>
699
+ <version>${h2.version}</version>
700
+ </dependency>
701
+ <dependency>
702
+ <groupId>com.healthmarketscience.jackcess</groupId>
703
+ <artifactId>jackcess</artifactId>
704
+ <version>${jackcess.version}</version>
705
+ </dependency>
706
+ <dependency>
707
+ <groupId>com.healthmarketscience.jackcess</groupId>
708
+ <artifactId>jackcess-encrypt</artifactId>
709
+ <version>${jackcess.encrypt.version}</version>
710
+ <exclusions>
711
+ <!-- to avoid maven-enforcer convergence error,
712
+ let's make this explicit -->
713
+ <exclusion>
714
+ <groupId>org.bouncycastle</groupId>
715
+ <artifactId>bcprov-jdk15on</artifactId>
716
+ </exclusion>
717
+ </exclusions>
718
+ </dependency>
719
+ <dependency>
720
+ <groupId>com.ibm.icu</groupId>
721
+ <artifactId>icu4j</artifactId>
722
+ <version>${icu4j.version}</version>
723
+ </dependency>
724
+ <dependency>
725
+ <groupId>com.twelvemonkeys.common</groupId>
726
+ <artifactId>common-io</artifactId>
727
+ <version>${twelvemonkeys.version}</version>
728
+ </dependency>
729
+ <dependency>
730
+ <groupId>com.twelvemonkeys.imageio</groupId>
731
+ <artifactId>imageio-bmp</artifactId>
732
+ <version>${twelvemonkeys.version}</version>
733
+ </dependency>
734
+ <dependency>
735
+ <groupId>com.twelvemonkeys.imageio</groupId>
736
+ <artifactId>imageio-jpeg</artifactId>
737
+ <version>${twelvemonkeys.version}</version>
738
+ </dependency>
739
+ <dependency>
740
+ <groupId>com.twelvemonkeys.imageio</groupId>
741
+ <artifactId>imageio-psd</artifactId>
742
+ <version>${twelvemonkeys.version}</version>
743
+ </dependency>
744
+ <dependency>
745
+ <groupId>com.twelvemonkeys.imageio</groupId>
746
+ <artifactId>imageio-tiff</artifactId>
747
+ <version>${twelvemonkeys.version}</version>
748
+ </dependency>
749
+ <dependency>
750
+ <groupId>commons-cli</groupId>
751
+ <artifactId>commons-cli</artifactId>
752
+ <version>${commons.cli.version}</version>
753
+ </dependency>
754
+ <dependency>
755
+ <groupId>commons-codec</groupId>
756
+ <artifactId>commons-codec</artifactId>
757
+ <version>${commons.codec.version}</version>
758
+ </dependency>
759
+ <dependency>
760
+ <groupId>commons-io</groupId>
761
+ <artifactId>commons-io</artifactId>
762
+ <version>${commons.io.version}</version>
763
+ </dependency>
764
+ <dependency>
765
+ <groupId>commons-logging</groupId>
766
+ <artifactId>commons-logging</artifactId>
767
+ <version>${commons.logging.version}</version>
768
+ </dependency>
769
+ <dependency>
770
+ <groupId>io.projectreactor</groupId>
771
+ <artifactId>reactor-core</artifactId>
772
+ <version>${reactor.core.version}</version>
773
+ </dependency>
774
+ <dependency>
775
+ <groupId>io.projectreactor.netty</groupId>
776
+ <artifactId>reactor-netty-core</artifactId>
777
+ <version>${reactor.netty.version}</version>
778
+ </dependency>
779
+ <dependency>
780
+ <groupId>io.projectreactor.netty</groupId>
781
+ <artifactId>reactor-netty-http</artifactId>
782
+ <version>${reactor.netty.version}</version>
783
+ </dependency>
784
+ <dependency>
785
+ <groupId>jakarta.activation</groupId>
786
+ <artifactId>jakarta.activation-api</artifactId>
787
+ <version>${jakarta.activation.version}</version>
788
+ </dependency>
789
+ <dependency>
790
+ <groupId>jakarta.annotation</groupId>
791
+ <artifactId>jakarta.annotation-api</artifactId>
792
+ <version>${jakarta.annotation.version}</version>
793
+ </dependency>
794
+ <dependency>
795
+ <groupId>javax.measure</groupId>
796
+ <artifactId>unit-api</artifactId>
797
+ <version>${unit.api.version}</version>
798
+ </dependency>
799
+ <dependency>
800
+ <groupId>jakarta.ws.rs</groupId>
801
+ <artifactId>jakarta.ws.rs-api</artifactId>
802
+ <version>${jakarta.ws.rs.version}</version>
803
+ </dependency>
804
+ <dependency>
805
+ <groupId>jakarta.xml.bind</groupId>
806
+ <artifactId>jakarta.xml.bind-api</artifactId>
807
+ <version>${jakarta.xml.bind.version}</version>
808
+ </dependency>
809
+ <dependency>
810
+ <groupId>jakarta.xml.soap</groupId>
811
+ <artifactId>jakarta.xml.soap-api</artifactId>
812
+ <version>${jakarta.xml.soap.version}</version>
813
+ </dependency>
814
+ <dependency>
815
+ <groupId>joda-time</groupId>
816
+ <artifactId>joda-time</artifactId>
817
+ <version>2.14.0</version>
818
+ </dependency>
819
+ <dependency>
820
+ <groupId>junit</groupId>
821
+ <artifactId>junit</artifactId>
822
+ <version>${junit4.version}</version>
823
+ </dependency>
824
+ <dependency>
825
+ <groupId>org.junit.jupiter</groupId>
826
+ <artifactId>junit-jupiter-api</artifactId>
827
+ <version>${junit5.version}</version>
828
+ </dependency>
829
+ <dependency>
830
+ <groupId>org.junit.jupiter</groupId>
831
+ <artifactId>junit-jupiter-engine</artifactId>
832
+ <version>${junit5.version}</version>
833
+ </dependency>
834
+ <dependency>
835
+ <groupId>net.java.dev.jna</groupId>
836
+ <artifactId>jna</artifactId>
837
+ <version>${jna.version}</version>
838
+ </dependency>
839
+ <dependency>
840
+ <groupId>org.apache.commons</groupId>
841
+ <artifactId>commons-collections4</artifactId>
842
+ <version>${commons.collections4.version}</version>
843
+ </dependency>
844
+ <dependency>
845
+ <groupId>org.apache.commons</groupId>
846
+ <artifactId>commons-compress</artifactId>
847
+ <version>${commons.compress.version}</version>
848
+ </dependency>
849
+ <dependency>
850
+ <groupId>org.apache.commons</groupId>
851
+ <artifactId>commons-csv</artifactId>
852
+ <version>${commons.csv.version}</version>
853
+ </dependency>
854
+ <dependency>
855
+ <groupId>org.apache.commons</groupId>
856
+ <artifactId>commons-exec</artifactId>
857
+ <version>${commons.exec.version}</version>
858
+ </dependency>
859
+ <dependency>
860
+ <groupId>org.apache.commons</groupId>
861
+ <artifactId>commons-lang3</artifactId>
862
+ <version>${commons.lang3.version}</version>
863
+ </dependency>
864
+ <dependency>
865
+ <groupId>org.apache.commons</groupId>
866
+ <artifactId>commons-math3</artifactId>
867
+ <version>${commons.math3.version}</version>
868
+ </dependency>
869
+ <dependency>
870
+ <groupId>org.apache.felix</groupId>
871
+ <artifactId>org.apache.felix.scr.annotations</artifactId>
872
+ <version>${felix.scr.version}</version>
873
+ </dependency>
874
+ <dependency>
875
+ <groupId>org.apache.httpcomponents</groupId>
876
+ <artifactId>httpclient</artifactId>
877
+ <version>${httpcomponents.version}</version>
878
+ </dependency>
879
+ <dependency>
880
+ <groupId>org.apache.httpcomponents</groupId>
881
+ <artifactId>httpcore</artifactId>
882
+ <version>${httpcore.version}</version>
883
+ </dependency>
884
+ <dependency>
885
+ <groupId>org.apache.httpcomponents</groupId>
886
+ <artifactId>httpmime</artifactId>
887
+ <version>${httpcomponents.version}</version>
888
+ </dependency>
889
+ <dependency>
890
+ <groupId>org.apache.jackrabbit</groupId>
891
+ <artifactId>oak-jackrabbit-api</artifactId>
892
+ <version>${oak.jackrabbit.version}</version>
893
+ </dependency>
894
+ <dependency>
895
+ <groupId>org.apache.logging.log4j</groupId>
896
+ <artifactId>log4j-core</artifactId>
897
+ <version>${log4j2.version}</version>
898
+ <exclusions>
899
+ <!-- weak dependency on org.osgi.core 4.3.1 -->
900
+ <exclusion>
901
+ <groupId>org.osgi</groupId>
902
+ <artifactId>org.osgi.core</artifactId>
903
+ </exclusion>
904
+ </exclusions>
905
+ </dependency>
906
+ <dependency>
907
+ <groupId>org.apache.lucene</groupId>
908
+ <artifactId>lucene-analysis-common</artifactId>
909
+ <version>${lucene.version}</version>
910
+ </dependency>
911
+ <dependency>
912
+ <groupId>org.apache.lucene</groupId>
913
+ <artifactId>lucene-analysis-icu</artifactId>
914
+ <version>${lucene.version}</version>
915
+ </dependency>
916
+ <dependency>
917
+ <groupId>org.apache.lucene</groupId>
918
+ <artifactId>lucene-core</artifactId>
919
+ <version>${lucene.version}</version>
920
+ </dependency>
921
+ <dependency>
922
+ <groupId>org.apache.opennlp</groupId>
923
+ <artifactId>opennlp-tools</artifactId>
924
+ <version>${opennlp.version}</version>
925
+ </dependency>
926
+ <dependency>
927
+ <groupId>org.apache.poi</groupId>
928
+ <artifactId>poi</artifactId>
929
+ <version>${poi.version}</version>
930
+ </dependency>
931
+ <dependency>
932
+ <groupId>org.apache.poi</groupId>
933
+ <artifactId>poi-ooxml</artifactId>
934
+ <version>${poi.version}</version>
935
+ </dependency>
936
+ <dependency>
937
+ <groupId>org.apache.xmlbeans</groupId>
938
+ <artifactId>xmlbeans</artifactId>
939
+ <version>5.3.0</version>
940
+ <!-- need to exclude these provided dependencies -->
941
+ <exclusions>
942
+ <exclusion>
943
+ <groupId>com.github.javaparser</groupId>
944
+ <artifactId>javaparser-core</artifactId>
945
+ </exclusion>
946
+ <exclusion>
947
+ <groupId>com.github.javaparser</groupId>
948
+ <artifactId>javaparser-symbol-solver-core</artifactId>
949
+ </exclusion>
950
+ <exclusion>
951
+ <groupId>com.sun.org.apache.xml.internal</groupId>
952
+ <artifactId>resolver</artifactId>
953
+ </exclusion>
954
+ <exclusion>
955
+ <groupId>org.apache.ant</groupId>
956
+ <artifactId>ant</artifactId>
957
+ </exclusion>
958
+ <exclusion>
959
+ <groupId>net.sf.saxon</groupId>
960
+ <artifactId>Saxon-HE</artifactId>
961
+ </exclusion>
962
+ <exclusion>
963
+ <groupId>org.apache.maven</groupId>
964
+ <artifactId>maven-core</artifactId>
965
+ </exclusion>
966
+ <exclusion>
967
+ <groupId>org.apache.maven</groupId>
968
+ <artifactId>maven-model</artifactId>
969
+ </exclusion>
970
+ <exclusion>
971
+ <groupId>org.apache.maven</groupId>
972
+ <artifactId>maven-plugin-api</artifactId>
973
+ </exclusion>
974
+ <exclusion>
975
+ <groupId>org.apache.maven.plugin-tools</groupId>
976
+ <artifactId>maven-plugin-annotations</artifactId>
977
+ </exclusion>
978
+ <exclusion>
979
+ <groupId>org.apache.maven.plugin-tools</groupId>
980
+ <artifactId>maven-plugin-tools</artifactId>
981
+ </exclusion>
982
+ </exclusions>
983
+ </dependency>
984
+ <!-- prevent zookeeper 3.9.2 from being used in Apache Solr emitter
985
+ through 9.7.0
986
+ TODO recheck when solr > 9.7.0
987
+ -->
988
+ <dependency>
989
+ <groupId>org.apache.zookeeper</groupId>
990
+ <artifactId>zookeeper</artifactId>
991
+ <version>${zookeeper.version}</version>
992
+ </dependency>
993
+ <dependency>
994
+ <groupId>org.apache.zookeeper</groupId>
995
+ <artifactId>zookeeper-jute</artifactId>
996
+ <version>${zookeeper.version}</version>
997
+ </dependency>
998
+ <dependency>
999
+ <groupId>org.bouncycastle</groupId>
1000
+ <artifactId>bcjmail-jdk18on</artifactId>
1001
+ <version>${bouncycastle.version}</version>
1002
+ </dependency>
1003
+ <dependency>
1004
+ <groupId>org.bouncycastle</groupId>
1005
+ <artifactId>bcpkix-jdk18on</artifactId>
1006
+ <version>${bouncycastle.version}</version>
1007
+ </dependency>
1008
+ <dependency>
1009
+ <groupId>org.bouncycastle</groupId>
1010
+ <artifactId>bcprov-jdk18on</artifactId>
1011
+ <version>${bouncycastle.version}</version>
1012
+ </dependency>
1013
+ <dependency>
1014
+ <groupId>org.freemarker</groupId>
1015
+ <artifactId>freemarker</artifactId>
1016
+ <version>${freemarker.version}</version>
1017
+ </dependency>
1018
+ <dependency>
1019
+ <groupId>org.glassfish.jaxb</groupId>
1020
+ <artifactId>jaxb-runtime</artifactId>
1021
+ <version>${jaxb.runtime.version}</version>
1022
+ </dependency>
1023
+ <dependency>
1024
+ <groupId>org.jdom</groupId>
1025
+ <artifactId>jdom2</artifactId>
1026
+ <version>${jdom2.version}</version>
1027
+ </dependency>
1028
+ <dependency>
1029
+ <groupId>org.jvnet.staxex</groupId>
1030
+ <artifactId>stax-ex</artifactId>
1031
+ <version>${stax.ex.version}</version>
1032
+ </dependency>
1033
+ <dependency>
1034
+ <groupId>org.mockito</groupId>
1035
+ <artifactId>mockito-core</artifactId>
1036
+ <version>${mockito.version}</version>
1037
+ </dependency>
1038
+ <dependency>
1039
+ <groupId>org.netpreserve</groupId>
1040
+ <artifactId>jwarc</artifactId>
1041
+ <version>${jwarc.version}</version>
1042
+ </dependency>
1043
+ <dependency>
1044
+ <groupId>org.opengis</groupId>
1045
+ <artifactId>geoapi</artifactId>
1046
+ <version>${geoapi.version}</version>
1047
+ </dependency>
1048
+ <dependency>
1049
+ <groupId>org.ops4j.base</groupId>
1050
+ <artifactId>ops4j-base-lang</artifactId>
1051
+ <version>${ops4j.version}</version>
1052
+ </dependency>
1053
+ <dependency>
1054
+ <groupId>org.ops4j.base</groupId>
1055
+ <artifactId>ops4j-base-util-property</artifactId>
1056
+ <version>${ops4j.version}</version>
1057
+ </dependency>
1058
+ <dependency>
1059
+ <groupId>org.osgi</groupId>
1060
+ <artifactId>org.osgi.compendium</artifactId>
1061
+ <version>${osgi.compendium.version}</version>
1062
+ </dependency>
1063
+ <dependency>
1064
+ <groupId>org.osgi</groupId>
1065
+ <artifactId>org.osgi.core</artifactId>
1066
+ <version>${osgi.core.version}</version>
1067
+ </dependency>
1068
+ <!-- for bndlib -->
1069
+ <dependency>
1070
+ <groupId>org.osgi</groupId>
1071
+ <artifactId>org.osgi.util.function</artifactId>
1072
+ <version>${osgi.util.version}</version>
1073
+ </dependency>
1074
+ <dependency>
1075
+ <groupId>org.quartz-scheduler</groupId>
1076
+ <artifactId>quartz</artifactId>
1077
+ <version>${quartz.version}</version>
1078
+ </dependency>
1079
+ <!-- need to specify this to avoid
1080
+ version clash within ctakes-core 4.0.0 -->
1081
+ <dependency>
1082
+ <groupId>org.apache.uima</groupId>
1083
+ <artifactId>uimafit-core</artifactId>
1084
+ <version>${uimafit.version}</version>
1085
+ <scope>provided</scope>
1086
+ </dependency>
1087
+ <dependency>
1088
+ <groupId>org.apache.uima</groupId>
1089
+ <artifactId>uimaj-core</artifactId>
1090
+ <version>${uimaj.core.version}</version>
1091
+ <scope>provided</scope>
1092
+ </dependency>
1093
+ <dependency>
1094
+ <groupId>org.apache.uima</groupId>
1095
+ <artifactId>uimaj-cpe</artifactId>
1096
+ <version>${uimaj.cpe.version}</version>
1097
+ <scope>provided</scope>
1098
+ </dependency>
1099
+ <dependency>
1100
+ <groupId>org.xerial.snappy</groupId>
1101
+ <artifactId>snappy-java</artifactId>
1102
+ <version>${snappy.version}</version>
1103
+ </dependency>
1104
+ <dependency>
1105
+ <groupId>commons-fileupload</groupId>
1106
+ <artifactId>commons-fileupload</artifactId>
1107
+ <version>${commons.fileupload.version}</version>
1108
+ </dependency>
1109
+ <!-- this one only to keep version plugin output smaller -->
1110
+ <dependency>
1111
+ <groupId>org.apache.maven.plugin-tools</groupId>
1112
+ <artifactId>maven-plugin-annotations</artifactId>
1113
+ <version>${maven.plugin.annotations.version}</version>
1114
+ </dependency>
1115
+ <dependency>
1116
+ <groupId>org.bytedeco</groupId>
1117
+ <artifactId>hdf5</artifactId>
1118
+ <version>${hdf5.version}</version>
1119
+ </dependency>
1120
+ <dependency>
1121
+ <groupId>org.bytedeco</groupId>
1122
+ <artifactId>hdf5-platform</artifactId>
1123
+ <version>${hdf5.version}</version>
1124
+ </dependency>
1125
+ <dependency>
1126
+ <groupId>com.nimbusds</groupId>
1127
+ <artifactId>nimbus-jose-jwt</artifactId>
1128
+ <version>${nimbus-jose-jwt.version}</version>
1129
+ </dependency>
1130
+ </dependencies>
1131
+ </dependencyManagement>
1132
+
1133
+ <dependencies>
1134
+ <dependency>
1135
+ <groupId>org.junit.jupiter</groupId>
1136
+ <artifactId>junit-jupiter-api</artifactId>
1137
+ <scope>test</scope>
1138
+ </dependency>
1139
+ <dependency>
1140
+ <groupId>org.junit.jupiter</groupId>
1141
+ <artifactId>junit-jupiter-engine</artifactId>
1142
+ <scope>test</scope>
1143
+ </dependency>
1144
+ </dependencies>
1145
+
1146
+ <build>
1147
+ <pluginManagement>
1148
+ <plugins>
1149
+ <plugin>
1150
+ <groupId>org.apache.maven.plugins</groupId>
1151
+ <artifactId>maven-deploy-plugin</artifactId>
1152
+ <version>3.1.4</version>
1153
+ </plugin>
1154
+ </plugins>
1155
+ </pluginManagement>
1156
+ <plugins>
1157
+ <plugin>
1158
+ <groupId>org.jacoco</groupId>
1159
+ <artifactId>jacoco-maven-plugin</artifactId>
1160
+ <version>0.8.13</version>
1161
+ <configuration>
1162
+ <skip>${skipTests}</skip>
1163
+ </configuration>
1164
+ <executions>
1165
+ <execution>
1166
+ <goals>
1167
+ <goal>prepare-agent</goal>
1168
+ </goals>
1169
+ <configuration>
1170
+ <propertyName>surefireArgLine</propertyName>
1171
+ </configuration>
1172
+ </execution>
1173
+ <execution>
1174
+ <id>report</id>
1175
+ <phase>test</phase>
1176
+ <goals>
1177
+ <goal>report</goal>
1178
+ </goals>
1179
+ </execution>
1180
+ </executions>
1181
+ </plugin>
1182
+ <plugin>
1183
+ <groupId>org.apache.maven.plugins</groupId>
1184
+ <artifactId>maven-compiler-plugin</artifactId>
1185
+ <version>${maven.compiler.plugin.version}</version>
1186
+ <configuration>
1187
+ <showDeprecation>true</showDeprecation>
1188
+ <compilerArgument>-Xlint:deprecation</compilerArgument>
1189
+ <release>17</release>
1190
+ </configuration>
1191
+ </plugin>
1192
+ <!--
1193
+ mvn versions:display-property-updates -nsu
1194
+ where -nsu stands for \-\-no-snapshot-updates
1195
+ Or if you want too much output to deal with:
1196
+ mvn versions:display-plugin-updates
1197
+ mvn versions:display-dependency-updates
1198
+ -->
1199
+ <plugin>
1200
+ <groupId>org.codehaus.mojo</groupId>
1201
+ <artifactId>versions-maven-plugin</artifactId>
1202
+ <version>2.18.0</version>
1203
+ <configuration>
1204
+ <generateBackupPoms>false</generateBackupPoms>
1205
+ </configuration>
1206
+ </plugin>
1207
+ <!-- to run just this: mvn ossindex:audit -Dossindex.fail=(true|false)
1208
+ Although, -Dossindex.fail doesn't seem to work for us -->
1209
+ <plugin>
1210
+ <groupId>org.sonatype.ossindex.maven</groupId>
1211
+ <artifactId>ossindex-maven-plugin</artifactId>
1212
+ <version>3.2.0</version>
1213
+ <configuration>
1214
+ <excludeCoordinates>
1215
+ <!-- TODO https://github.com/netplex/json-smart-v2/issues/232
1216
+ https://github.com/sonatype/ossindex-maven/issues/84
1217
+ -->
1218
+ <coordinate>
1219
+ <groupId>net.minidev</groupId>
1220
+ <artifactId>json-smart</artifactId>
1221
+ <version>2.5.2</version>
1222
+ </coordinate>
1223
+ <!-- solr emitter -->
1224
+ <coordinate>
1225
+ <groupId>org.eclipse.jetty</groupId>
1226
+ <artifactId>jetty-http</artifactId>
1227
+ <version>11.0.25</version>
1228
+ </coordinate>
1229
+ <!-- used only in tests and in tika-eval, and this problem requires the use of the console.
1230
+ https://github.com/h2database/h2database/issues/1294 -->
1231
+ <coordinate>
1232
+ <groupId>com.h2database</groupId>
1233
+ <artifactId>h2</artifactId>
1234
+ <version>${h2.version}</version>
1235
+ </coordinate>
1236
+ <!-- provided dependency brought in by org.deeplearning4j:deeplearning4j-utility-iterators -->
1237
+ <coordinate>
1238
+ <groupId>org.threeten</groupId>
1239
+ <artifactId>threetenbp</artifactId>
1240
+ <version>1.3.3</version>
1241
+ </coordinate>
1242
+ <!-- brought in by gcs (google-cloud-storage) fetcher -->
1243
+ <!-- CVE-2024-23082 and CVE-2024-23081 are disputed -->
1244
+ <coordinate>
1245
+ <groupId>org.threeten</groupId>
1246
+ <artifactId>threetenbp</artifactId>
1247
+ <version>1.7.0</version>
1248
+ </coordinate>
1249
+ <!-- while waiting for 1.14.4 to appear on maven central, see
1250
+ https://www.hdfgroup.org/2024/05/new-hdf5-cve-issues-fixed-in-1-14-4/
1251
+ -->
1252
+ <coordinate>
1253
+ <groupId>org.bytedeco</groupId>
1254
+ <artifactId>hdf5</artifactId>
1255
+ <version>1.14.3-1.5.10</version>
1256
+ </coordinate>
1257
+ <coordinate>
1258
+ <groupId>org.bytedeco</groupId>
1259
+ <artifactId>hdf5-platform</artifactId>
1260
+ <version>1.14.3-1.5.10</version>
1261
+ </coordinate>
1262
+ </excludeCoordinates>
1263
+ <fail>true</fail>
1264
+ </configuration>
1265
+ <executions>
1266
+ <execution>
1267
+ <id>audit-dependencies</id>
1268
+ <phase>validate</phase>
1269
+ <goals>
1270
+ <goal>audit</goal>
1271
+ </goals>
1272
+ </execution>
1273
+ </executions>
1274
+ </plugin>
1275
+ <plugin>
1276
+ <groupId>de.thetaphi</groupId>
1277
+ <artifactId>forbiddenapis</artifactId>
1278
+ <version>${forbiddenapis.version}</version>
1279
+ <configuration>
1280
+ <targetVersion>${maven.compiler.target}</targetVersion>
1281
+ <ignoreSignaturesOfMissingClasses>true</ignoreSignaturesOfMissingClasses>
1282
+ <failOnUnsupportedJava>false</failOnUnsupportedJava>
1283
+ <excludes>test-documents/*.class</excludes>
1284
+ <bundledSignatures>
1285
+ <bundledSignature>jdk-unsafe</bundledSignature>
1286
+ <bundledSignature>jdk-deprecated</bundledSignature>
1287
+ <bundledSignature>jdk-non-portable</bundledSignature>
1288
+ <bundledSignature>jdk-internal</bundledSignature>
1289
+ <!-- replace with ${commons.io.version} when available -->
1290
+ <bundledSignature>commons-io-unsafe-2.11.0</bundledSignature>
1291
+ </bundledSignatures>
1292
+ </configuration>
1293
+ <executions>
1294
+ <execution>
1295
+ <goals>
1296
+ <goal>check</goal>
1297
+ <goal>testCheck</goal>
1298
+ </goals>
1299
+ </execution>
1300
+ </executions>
1301
+ </plugin>
1302
+ <plugin>
1303
+ <groupId>org.apache.felix</groupId>
1304
+ <artifactId>maven-bundle-plugin</artifactId>
1305
+ <version>${maven.bundle.version}</version>
1306
+ </plugin>
1307
+ <plugin>
1308
+ <groupId>org.apache.maven.plugins</groupId>
1309
+ <artifactId>maven-surefire-plugin</artifactId>
1310
+ <version>${maven.surefire.version}</version>
1311
+ <configuration>
1312
+ <argLine>-Xmx4g -Djava.awt.headless=true @{surefireArgLine}</argLine>
1313
+ </configuration>
1314
+ </plugin>
1315
+ <plugin>
1316
+ <groupId>org.apache.maven.plugins</groupId>
1317
+ <artifactId>maven-shade-plugin</artifactId>
1318
+ <version>${maven.shade.version}</version>
1319
+ </plugin>
1320
+ <!-- assembly must happen after shade so that
1321
+ tika-server's -bin.tgz/zip includes the uber jar
1322
+ -->
1323
+ <plugin>
1324
+ <groupId>org.apache.maven.plugins</groupId>
1325
+ <artifactId>maven-assembly-plugin</artifactId>
1326
+ <version>${maven.assembly.version}</version>
1327
+ <configuration>
1328
+ <tarLongFileMode>posix</tarLongFileMode>
1329
+ </configuration>
1330
+ </plugin>
1331
+ <plugin>
1332
+ <groupId>org.apache.maven.plugins</groupId>
1333
+ <artifactId>maven-release-plugin</artifactId>
1334
+ <version>3.1.1</version>
1335
+ <configuration>
1336
+ <autoVersionSubmodules>true</autoVersionSubmodules>
1337
+ </configuration>
1338
+ <dependencies>
1339
+ <dependency>
1340
+ <groupId>org.apache.maven.scm</groupId>
1341
+ <artifactId>maven-scm-provider-gitexe</artifactId>
1342
+ <version>${scm.version}</version>
1343
+ </dependency>
1344
+ <dependency>
1345
+ <groupId>org.apache.maven.scm</groupId>
1346
+ <artifactId>maven-scm-api</artifactId>
1347
+ <version>${scm.version}</version>
1348
+ </dependency>
1349
+ </dependencies>
1350
+ </plugin>
1351
+ <plugin>
1352
+ <groupId>org.apache.maven.plugins</groupId>
1353
+ <artifactId>maven-enforcer-plugin</artifactId>
1354
+ <version>3.5.0</version>
1355
+ <executions>
1356
+ <execution>
1357
+ <id>enforce-maven</id>
1358
+ <configuration>
1359
+ <rules>
1360
+ <dependencyConvergence />
1361
+ <requireMavenVersion>
1362
+ <version>3.5</version>
1363
+ </requireMavenVersion>
1364
+ </rules>
1365
+ </configuration>
1366
+ <goals>
1367
+ <goal>enforce</goal>
1368
+ </goals>
1369
+ </execution>
1370
+ <execution>
1371
+ <id>ban-bad-log4j-versions</id>
1372
+ <phase>validate</phase>
1373
+ <goals>
1374
+ <goal>enforce</goal>
1375
+ </goals>
1376
+ <configuration>
1377
+ <rules>
1378
+ <bannedDependencies>
1379
+ <excludes>
1380
+ <!-- log4shell -->
1381
+ <exclude>org.apache.logging.log4j:log4j-core:(,2.17.1)</exclude>
1382
+ <!--
1383
+ https://github.com/apache/logging-log4j2/issues/3143
1384
+ https://github.com/apache/logging-log4j2/issues/3196
1385
+ -->
1386
+ <exclude>org.apache.logging.log4j:log4j-core:[2.24.1]</exclude>
1387
+ <exclude>org.apache.logging.log4j:log4j-api:[2.24.1]</exclude>
1388
+ </excludes>
1389
+ </bannedDependencies>
1390
+ </rules>
1391
+ <fail>true</fail>
1392
+ </configuration>
1393
+ </execution>
1394
+ <execution>
1395
+ <id>ban-xerces-and-xml-apis</id>
1396
+ <phase>validate</phase>
1397
+ <goals>
1398
+ <goal>enforce</goal>
1399
+ </goals>
1400
+ <configuration>
1401
+ <rules>
1402
+ <bannedDependencies>
1403
+ <excludes>
1404
+ <exclude>xerces:xercesImpl</exclude>
1405
+ <exclude>xml-apis:xml-apis</exclude>
1406
+ </excludes>
1407
+ </bannedDependencies>
1408
+ </rules>
1409
+ <fail>true</fail>
1410
+ </configuration>
1411
+ </execution>
1412
+ </executions>
1413
+ </plugin>
1414
+ <plugin>
1415
+ <!-- mvn validate -->
1416
+ <groupId>org.apache.maven.plugins</groupId>
1417
+ <artifactId>maven-checkstyle-plugin</artifactId>
1418
+ <version>${checkstyle.plugin.version}</version>
1419
+ <dependencies>
1420
+ <dependency>
1421
+ <groupId>com.puppycrawl.tools</groupId>
1422
+ <artifactId>checkstyle</artifactId>
1423
+ <version>${puppycrawl.version}</version>
1424
+ </dependency>
1425
+ </dependencies>
1426
+ <executions>
1427
+ <execution>
1428
+ <id>validate</id>
1429
+ <phase>validate</phase>
1430
+ <configuration>
1431
+ <configLocation>checkstyle.xml</configLocation>
1432
+ <consoleOutput>false</consoleOutput>
1433
+ <includeTestSourceDirectory>true</includeTestSourceDirectory>
1434
+ <testSourceDirectories>${project.basedir}/src/test/java</testSourceDirectories>
1435
+ <violationSeverity>warn</violationSeverity>
1436
+ <failOnViolation>true</failOnViolation>
1437
+ <failsOnError>true</failsOnError>
1438
+ </configuration>
1439
+ <goals>
1440
+ <goal>check</goal>
1441
+ </goals>
1442
+ </execution>
1443
+ </executions>
1444
+ </plugin>
1445
+ </plugins>
1446
+ </build>
1447
+
1448
+ <profiles>
1449
+ <profile>
1450
+ <id>pedantic</id>
1451
+ <build>
1452
+ <plugins>
1453
+ <plugin>
1454
+ <groupId>org.apache.rat</groupId>
1455
+ <artifactId>apache-rat-plugin</artifactId>
1456
+ <version>${rat.version}</version>
1457
+ <executions>
1458
+ <execution>
1459
+ <phase>verify</phase>
1460
+ <goals>
1461
+ <goal>check</goal>
1462
+ </goals>
1463
+ </execution>
1464
+ </executions>
1465
+ </plugin>
1466
+ </plugins>
1467
+ </build>
1468
+ </profile>
1469
+ <profile>
1470
+ <id>sonar</id>
1471
+ <build>
1472
+ <plugins>
1473
+ <plugin>
1474
+ <groupId>org.apache.maven.plugins</groupId>
1475
+ <artifactId>maven-surefire-plugin</artifactId>
1476
+ <configuration>
1477
+ <excludes>
1478
+ <exclude>**/ForkParser*Test.java</exclude>
1479
+ </excludes>
1480
+ </configuration>
1481
+ </plugin>
1482
+ </plugins>
1483
+ </build>
1484
+ </profile>
1485
+ <profile>
1486
+ <id>doclint-java8-disable</id>
1487
+ <activation>
1488
+ <jdk>[1.8,)</jdk>
1489
+ </activation>
1490
+ <build>
1491
+ <plugins>
1492
+ <plugin>
1493
+ <groupId>org.apache.maven.plugins</groupId>
1494
+ <artifactId>maven-javadoc-plugin</artifactId>
1495
+ <version>${maven.javadoc.version}</version>
1496
+ <configuration>
1497
+ <doclint>none</doclint>
1498
+ <sourcepath>src/main/java</sourcepath>
1499
+ </configuration>
1500
+ </plugin>
1501
+ </plugins>
1502
+ </build>
1503
+ </profile>
1504
+ <profile>
1505
+ <id>ossindex-fail</id>
1506
+ <!-- actually fail the build on vulnerabilities -->
1507
+ <build>
1508
+ <plugins>
1509
+ <plugin>
1510
+ <groupId>org.sonatype.ossindex.maven</groupId>
1511
+ <artifactId>ossindex-maven-plugin</artifactId>
1512
+ <version>3.2.0</version>
1513
+ <configuration>
1514
+ <fail>true</fail>
1515
+ <excludeCoordinates>
1516
+ <!-- <coordinate> </coordinate> -->
1517
+ </excludeCoordinates>
1518
+ </configuration>
1519
+ <executions>
1520
+ <execution>
1521
+ <id>audit-dependencies</id>
1522
+ <phase>validate</phase>
1523
+ <goals>
1524
+ <goal>audit</goal>
1525
+ </goals>
1526
+ </execution>
1527
+ </executions>
1528
+ </plugin>
1529
+ </plugins>
1530
+ </build>
1531
+ </profile>
1532
+ </profiles>
1533
+ <!--
1534
+ <connection>scm:git:https://github.com/apache/</connection>
1535
+ <developerConnection>scm:git:https://github.com/apache/</developerConnection>
1536
+ <url>https://github.com/apache/tika</url>
1537
+ -->
1538
+ <scm>
1539
+ <tag>3.0.0-rc1</tag>
1540
+ <connection>scm:git:https://github.com/apache/</connection>
1541
+ <developerConnection>scm:git:https://github.com/apache/</developerConnection>
1542
+ <url>https://github.com/apache/tika</url>
1543
+ </scm>
1544
+ </project>
local-test-tika-full-01-vuln_6/afc-tika/tika-parsers/pom.xml ADDED
@@ -0,0 +1,102 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+ Licensed to the Apache Software Foundation (ASF) under one
4
+ or more contributor license agreements. See the NOTICE file
5
+ distributed with this work for additional information
6
+ regarding copyright ownership. The ASF licenses this file
7
+ to you under the Apache License, Version 2.0 (the
8
+ "License"); you may not use this file except in compliance
9
+ with the License. You may obtain a copy of the License at
10
+
11
+ http://www.apache.org/licenses/LICENSE-2.0
12
+
13
+ Unless required by applicable law or agreed to in writing,
14
+ software distributed under the License is distributed on an
15
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16
+ KIND, either express or implied. See the License for the
17
+ specific language governing permissions and limitations
18
+ under the License.
19
+ -->
20
+ <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
21
+ <parent>
22
+ <groupId>org.apache.tika</groupId>
23
+ <artifactId>tika-parent</artifactId>
24
+ <version>4.0.0-SNAPSHOT</version>
25
+ <relativePath>../tika-parent/pom.xml</relativePath>
26
+ </parent>
27
+
28
+ <modelVersion>4.0.0</modelVersion>
29
+
30
+ <artifactId>tika-parsers</artifactId>
31
+ <name>Apache Tika parser modules</name>
32
+
33
+ <packaging>pom</packaging>
34
+ <modules>
35
+ <!-- basic parsers - avoid network dependent parsers, native code -->
36
+ <module>tika-parsers-standard</module>
37
+ <!-- allow network dependent parsers and native code -->
38
+ <module>tika-parsers-extended</module>
39
+ <!-- potentially massive dependencies (e.g. dl4j) -->
40
+ <module>tika-parsers-ml</module>
41
+ </modules>
42
+
43
+ <dependencies>
44
+ <!-- test dependencies -->
45
+ <dependency>
46
+ <groupId>org.junit.jupiter</groupId>
47
+ <artifactId>junit-jupiter-api</artifactId>
48
+ <scope>test</scope>
49
+ </dependency>
50
+ <dependency>
51
+ <groupId>org.junit.jupiter</groupId>
52
+ <artifactId>junit-jupiter-engine</artifactId>
53
+ <scope>test</scope>
54
+ </dependency>
55
+ <dependency>
56
+ <groupId>org.apache.tika</groupId>
57
+ <artifactId>tika-core</artifactId>
58
+ <version>${project.version}</version>
59
+ <type>test-jar</type>
60
+ <scope>test</scope>
61
+ </dependency>
62
+ </dependencies>
63
+
64
+ <build>
65
+ <plugins>
66
+ <plugin>
67
+ <groupId>org.apache.maven.plugins</groupId>
68
+ <artifactId>maven-checkstyle-plugin</artifactId>
69
+ <version>${checkstyle.plugin.version}</version>
70
+ <dependencies>
71
+ <dependency>
72
+ <groupId>com.puppycrawl.tools</groupId>
73
+ <artifactId>checkstyle</artifactId>
74
+ <version>${puppycrawl.version}</version>
75
+ </dependency>
76
+ </dependencies>
77
+ <executions>
78
+ <execution>
79
+ <id>validate</id>
80
+ <phase>validate</phase>
81
+ <configuration>
82
+ <configLocation>checkstyle.xml</configLocation>
83
+ <inputEncoding>UTF-8</inputEncoding>
84
+ <consoleOutput>false</consoleOutput>
85
+ <includeTestSourceDirectory>true</includeTestSourceDirectory>
86
+ <testSourceDirectories>${project.basedir}/src/test/java</testSourceDirectories>
87
+ <violationSeverity>error</violationSeverity>
88
+ <failOnViolation>true</failOnViolation>
89
+ </configuration>
90
+ <goals>
91
+ <goal>check</goal>
92
+ </goals>
93
+ </execution>
94
+ </executions>
95
+ </plugin>
96
+ </plugins>
97
+ </build>
98
+
99
+ <scm>
100
+ <tag>3.0.0-rc1</tag>
101
+ </scm>
102
+ </project>
local-test-tika-full-01-vuln_6/afc-tika/tika-server/README.md ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!--
2
+ Licensed to the Apache Software Foundation (ASF) under one
3
+ or more contributor license agreements. See the NOTICE file
4
+ distributed with this work for additional information
5
+ regarding copyright ownership. The ASF licenses this file
6
+ to you under the Apache License, Version 2.0 (the
7
+ "License"); you may not use this file except in compliance
8
+ with the License. You may obtain a copy of the License at
9
+
10
+ http://www.apache.org/licenses/LICENSE-2.0
11
+
12
+ Unless required by applicable law or agreed to in writing,
13
+ software distributed under the License is distributed on an
14
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15
+ KIND, either express or implied. See the License for the
16
+ specific language governing permissions and limitations
17
+ under the License.
18
+ -->
19
+ # Apache Tika Server
20
+
21
+ https://cwiki.apache.org/confluence/display/TIKA/TikaJAXRS
22
+
23
+ Running
24
+ -------
25
+ ```
26
+ $ java -jar tika-server/target/tika-server.jar --help
27
+ usage: tikaserver
28
+ -?,--help this help message
29
+ -h,--host <arg> host name (default = localhost)
30
+ -l,--log <arg> request URI log level ('debug' or 'info')
31
+ -p,--port <arg> listen port (default = 9998)
32
+ -s,--includeStack whether or not to return a stack trace
33
+ if there is an exception during 'parse'
34
+ ```
35
+
36
+ Running via Docker
37
+ ------------------
38
+ Assuming you have Docker installed, you can use a prebuilt image:
39
+
40
+ `docker run -d -p 9998:9998 apache/tika`
41
+
42
+ This will load Apache Tika Server and expose its interface on:
43
+
44
+ `http://localhost:9998`
45
+
46
+ You may also be interested in the https://github.com/apache/tika-docker project
47
+ which provides prebuilt Docker images.
48
+
49
+ Installing as a Service on Linux
50
+ -----------------------
51
+ To run as a service on Linux you need to run the `install_tika_service.sh` script.
52
+
53
+ Assuming you have the binary distribution like `tika-server-2.0.0-bin.tgz`,
54
+ then you can extract the install script via:
55
+
56
+ `tar xzf tika-server-2.0.0-bin.tgz --strip-components=2 tika-server-2.0.0-bin/bin/install_tika_service.sh`
57
+
58
+ and then run the installation process via:
59
+
60
+ `./install_tika_service.sh ./tika-server-2.0.0-bin.tgz`
61
+
62
+
63
+ Usage
64
+ -----
65
+ Usage examples from command line with `curl` utility:
66
+
67
+ * Extract plain text:
68
+ `curl -T price.xls http://localhost:9998/tika`
69
+
70
+ * Extract text with mime-type hint:
71
+ `curl -v -H "Content-type: application/vnd.openxmlformats-officedocument.wordprocessingml.document" -T document.docx http://localhost:9998/tika`
72
+
73
+ * Get all document attachments as ZIP-file:
74
+ `curl -v -T Doc1_ole.doc http://localhost:9998/unpacker > /var/tmp/x.zip`
75
+
76
+ * Extract metadata to CSV format:
77
+ `curl -T price.xls http://localhost:9998/meta`
78
+
79
+ * Detect media type from CSV format using file extension hint:
80
+ `curl -X PUT -H "Content-Disposition: attachment; filename=foo.csv" --upload-file foo.csv http://localhost:9998/detect/stream`
81
+
82
+
83
+ HTTP Return Codes
84
+ -----------------
85
+ `200` - Ok
86
+ `204` - No content (for example when we are unpacking file without attachments)
87
+ `415` - Unknown file type
88
+ `422` - Unparsable document of known type (password protected documents and unsupported versions like Biff5 Excel)
89
+ `500` - Internal error
local-test-tika-full-01-vuln_6/afc-tika/tika-server/pom.xml ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!--
2
+ Licensed to the Apache Software Foundation (ASF) under one or more
3
+ contributor license agreements. See the NOTICE file distributed with
4
+ this work for additional information regarding copyright ownership.
5
+ The ASF licenses this file to You under the Apache License, Version 2.0
6
+ (the "License"); you may not use this file except in compliance with
7
+ the License. You may obtain a copy of the License at
8
+
9
+ http://www.apache.org/licenses/LICENSE-2.0
10
+
11
+ Unless required by applicable law or agreed to in writing, software
12
+ distributed under the License is distributed on an "AS IS" BASIS,
13
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ See the License for the specific language governing permissions and
15
+ limitations under the License.
16
+ -->
17
+ <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
18
+ <modelVersion>4.0.0</modelVersion>
19
+ <modules>
20
+ <module>tika-server-core</module>
21
+ <module>tika-server-standard</module>
22
+ <module>tika-server-client</module>
23
+ <module>tika-server-eval</module>
24
+ </modules>
25
+
26
+ <parent>
27
+ <groupId>org.apache.tika</groupId>
28
+ <artifactId>tika-parent</artifactId>
29
+ <version>4.0.0-SNAPSHOT</version>
30
+ <relativePath>../tika-parent/pom.xml</relativePath>
31
+ </parent>
32
+
33
+ <artifactId>tika-server</artifactId>
34
+ <name>Apache Tika server module</name>
35
+ <url>https://tika.apache.org/</url>
36
+ <packaging>pom</packaging>
37
+ <build>
38
+ <plugins>
39
+ <plugin>
40
+ <groupId>org.apache.maven.plugins</groupId>
41
+ <artifactId>maven-checkstyle-plugin</artifactId>
42
+ <version>${checkstyle.plugin.version}</version>
43
+ <dependencies>
44
+ <dependency>
45
+ <groupId>com.puppycrawl.tools</groupId>
46
+ <artifactId>checkstyle</artifactId>
47
+ <version>${puppycrawl.version}</version>
48
+ </dependency>
49
+ </dependencies>
50
+ <executions>
51
+ <execution>
52
+ <id>validate</id>
53
+ <phase>validate</phase>
54
+ <configuration>
55
+ <configLocation>checkstyle.xml</configLocation>
56
+ <inputEncoding>UTF-8</inputEncoding>
57
+ <consoleOutput>false</consoleOutput>
58
+ <includeTestSourceDirectory>true</includeTestSourceDirectory>
59
+ <testSourceDirectories>${project.basedir}/src/test/java</testSourceDirectories>
60
+ <violationSeverity>error</violationSeverity>
61
+ <failOnViolation>true</failOnViolation>
62
+ </configuration>
63
+ <goals>
64
+ <goal>check</goal>
65
+ </goals>
66
+ </execution>
67
+ </executions>
68
+ </plugin>
69
+ </plugins>
70
+ </build>
71
+
72
+ <scm>
73
+ <tag>3.0.0-rc1</tag>
74
+ </scm>
75
+ </project>
local-test-tika-full-01-vuln_6/afc-tika/tika-translate/pom.xml ADDED
@@ -0,0 +1,225 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+
3
+ <!--
4
+ Licensed to the Apache Software Foundation (ASF) under one
5
+ or more contributor license agreements. See the NOTICE file
6
+ distributed with this work for additional information
7
+ regarding copyright ownership. The ASF licenses this file
8
+ to you under the Apache License, Version 2.0 (the
9
+ "License"); you may not use this file except in compliance
10
+ with the License. You may obtain a copy of the License at
11
+
12
+ http://www.apache.org/licenses/LICENSE-2.0
13
+
14
+ Unless required by applicable law or agreed to in writing,
15
+ software distributed under the License is distributed on an
16
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17
+ KIND, either express or implied. See the License for the
18
+ specific language governing permissions and limitations
19
+ under the License.
20
+ -->
21
+
22
+ <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
23
+ <modelVersion>4.0.0</modelVersion>
24
+
25
+ <parent>
26
+ <groupId>org.apache.tika</groupId>
27
+ <artifactId>tika-parent</artifactId>
28
+ <version>4.0.0-SNAPSHOT</version>
29
+ <relativePath>../tika-parent/pom.xml</relativePath>
30
+ </parent>
31
+
32
+ <artifactId>tika-translate</artifactId>
33
+ <packaging>bundle</packaging>
34
+ <name>Apache Tika translate</name>
35
+ <url>https://tika.apache.org/</url>
36
+
37
+ <dependencies>
38
+ <dependency>
39
+ <groupId>org.apache.tika</groupId>
40
+ <artifactId>tika-core</artifactId>
41
+ <version>${project.version}</version>
42
+ <scope>provided</scope>
43
+ </dependency>
44
+ <dependency>
45
+ <groupId>org.apache.tika</groupId>
46
+ <artifactId>tika-langdetect-optimaize</artifactId>
47
+ <version>${project.version}</version>
48
+ </dependency>
49
+ <dependency>
50
+ <groupId>com.memetix</groupId>
51
+ <artifactId>microsoft-translator-java-api</artifactId>
52
+ <version>${microsoft.translator.version}</version>
53
+ <type>jar</type>
54
+ </dependency>
55
+ <dependency>
56
+ <groupId>com.googlecode.json-simple</groupId>
57
+ <artifactId>json-simple</artifactId>
58
+ </dependency>
59
+ <dependency>
60
+ <groupId>org.apache.cxf</groupId>
61
+ <artifactId>cxf-rt-rs-client</artifactId>
62
+ </dependency>
63
+ <dependency>
64
+ <groupId>org.apache.cxf</groupId>
65
+ <artifactId>cxf-rt-frontend-jaxrs</artifactId>
66
+ </dependency>
67
+ <dependency>
68
+ <groupId>com.fasterxml.jackson.jakarta.rs</groupId>
69
+ <artifactId>jackson-jakarta-rs-json-provider</artifactId>
70
+ </dependency>
71
+ <dependency>
72
+ <groupId>com.fasterxml.jackson.core</groupId>
73
+ <artifactId>jackson-annotations</artifactId>
74
+ </dependency>
75
+ <dependency>
76
+ <groupId>com.fasterxml.jackson.core</groupId>
77
+ <artifactId>jackson-databind</artifactId>
78
+ </dependency>
79
+ <!-- web sockets -->
80
+ <dependency>
81
+ <groupId>jakarta.websocket</groupId>
82
+ <artifactId>jakarta.websocket-api</artifactId>
83
+ <version>2.2.0</version>
84
+ </dependency>
85
+ <dependency>
86
+ <groupId>org.glassfish.tyrus.bundles</groupId>
87
+ <artifactId>tyrus-standalone-client</artifactId>
88
+ <version>2.2.0</version>
89
+ </dependency>
90
+ </dependencies>
91
+ <reporting>
92
+ <plugins>
93
+ <plugin>
94
+ <groupId>org.apache.maven.plugins</groupId>
95
+ <artifactId>maven-project-info-reports-plugin</artifactId>
96
+ <version>${maven.project.info.reports.version}</version>
97
+ <reportSets>
98
+ <reportSet>
99
+ <reports>
100
+ <report>index</report>
101
+ </reports>
102
+ </reportSet>
103
+ </reportSets>
104
+ </plugin>
105
+ <plugin>
106
+ <groupId>org.codehaus.mojo</groupId>
107
+ <artifactId>findbugs-maven-plugin</artifactId>
108
+ <version>3.0.5</version>
109
+ <configuration>
110
+ <jvmArgs>-Xmx256m</jvmArgs>
111
+ <timeout>240000</timeout>
112
+ <effort>max</effort>
113
+ <failOnError>true</failOnError>
114
+ </configuration>
115
+ </plugin>
116
+ </plugins>
117
+ </reporting>
118
+ <build>
119
+ <plugins>
120
+ <plugin>
121
+ <groupId>org.apache.felix</groupId>
122
+ <artifactId>maven-bundle-plugin</artifactId>
123
+ <version>${maven.bundle.version}</version>
124
+ <extensions>true</extensions>
125
+ <configuration>
126
+ <instructions>
127
+ <Bundle-DocURL>${project.url}</Bundle-DocURL>
128
+ <Bundle-Activator>
129
+ org.apache.tika.parser.internal.Activator
130
+ </Bundle-Activator>
131
+ <Import-Package>
132
+ org.w3c.dom,
133
+ org.apache.tika.*,
134
+ *;resolution:=optional
135
+ </Import-Package>
136
+ </instructions>
137
+ </configuration>
138
+ </plugin>
139
+ <plugin>
140
+ <groupId>org.apache.rat</groupId>
141
+ <artifactId>apache-rat-plugin</artifactId>
142
+ <configuration>
143
+ <excludes>
144
+ <exclude>src/main/java/org/apache/tika/parser/txt/Charset*.java</exclude>
145
+ <exclude>src/test/resources/test-documents/**</exclude>
146
+ </excludes>
147
+ </configuration>
148
+ </plugin>
149
+ <plugin>
150
+ <groupId>org.apache.maven.plugins</groupId>
151
+ <artifactId>maven-jar-plugin</artifactId>
152
+ <configuration>
153
+ <archive>
154
+ <manifestEntries>
155
+ <Automatic-Module-Name>org.apache.tika.translate</Automatic-Module-Name>
156
+ </manifestEntries>
157
+ </archive>
158
+ </configuration>
159
+ <executions>
160
+ <execution>
161
+ <goals>
162
+ <goal>test-jar</goal>
163
+ </goals>
164
+ </execution>
165
+ </executions>
166
+ </plugin>
167
+ <plugin>
168
+ <groupId>org.apache.maven.plugins</groupId>
169
+ <artifactId>maven-site-plugin</artifactId>
170
+ <version>3.21.0</version>
171
+ </plugin>
172
+ </plugins>
173
+
174
+ <pluginManagement>
175
+ <plugins>
176
+ <!-- This plugin's configuration is used to store Eclipse m2e -->
177
+ <!-- settings only. It has no influence on the Maven build itself. -->
178
+ <plugin>
179
+ <groupId>org.eclipse.m2e</groupId>
180
+ <artifactId>lifecycle-mapping</artifactId>
181
+ <version>1.0.0</version>
182
+ <configuration>
183
+ <lifecycleMappingMetadata>
184
+ <pluginExecutions>
185
+ <pluginExecution>
186
+ <pluginExecutionFilter>
187
+ <groupId>org.apache.felix</groupId>
188
+ <artifactId>maven-scr-plugin</artifactId>
189
+ <version>${maven.scr.version}</version>
190
+ <goals>
191
+ <goal>scr</goal>
192
+ </goals>
193
+ </pluginExecutionFilter>
194
+ <action>
195
+ <execute />
196
+ </action>
197
+ </pluginExecution>
198
+ </pluginExecutions>
199
+ </lifecycleMappingMetadata>
200
+ </configuration>
201
+ </plugin>
202
+
203
+ </plugins>
204
+ </pluginManagement>
205
+ </build>
206
+
207
+ <description>This is the translate Apache Tika™ toolkit. Translator implementations may depend on web services.
208
+ </description>
209
+ <organization>
210
+ <name>The Apache Software Foundation</name>
211
+ <url>http://www.apache.org</url>
212
+ </organization>
213
+ <issueManagement>
214
+ <system>JIRA</system>
215
+ <url>https://issues.apache.org/jira/browse/TIKA</url>
216
+ </issueManagement>
217
+ <ciManagement>
218
+ <system>Jenkins</system>
219
+ <url>https://builds.apache.org/job/Tika-trunk/</url>
220
+ </ciManagement>
221
+
222
+ <scm>
223
+ <tag>3.0.0-rc1</tag>
224
+ </scm>
225
+ </project>
local-test-tika-full-01-vuln_6/afc-tika/tika-xmp/pom.xml ADDED
@@ -0,0 +1,122 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+
3
+ <!--
4
+ Licensed to the Apache Software Foundation (ASF) under one
5
+ or more contributor license agreements. See the NOTICE file
6
+ distributed with this work for additional information
7
+ regarding copyright ownership. The ASF licenses this file
8
+ to you under the Apache License, Version 2.0 (the
9
+ "License"); you may not use this file except in compliance
10
+ with the License. You may obtain a copy of the License at
11
+
12
+ http://www.apache.org/licenses/LICENSE-2.0
13
+
14
+ Unless required by applicable law or agreed to in writing,
15
+ software distributed under the License is distributed on an
16
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17
+ KIND, either express or implied. See the License for the
18
+ specific language governing permissions and limitations
19
+ under the License.
20
+ -->
21
+
22
+ <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
23
+ <modelVersion>4.0.0</modelVersion>
24
+
25
+ <parent>
26
+ <groupId>org.apache.tika</groupId>
27
+ <artifactId>tika-parent</artifactId>
28
+ <version>4.0.0-SNAPSHOT</version>
29
+ <relativePath>../tika-parent/pom.xml</relativePath>
30
+ </parent>
31
+
32
+ <artifactId>tika-xmp</artifactId>
33
+ <packaging>bundle</packaging>
34
+ <name>Apache Tika XMP</name>
35
+ <url>https://tika.apache.org/</url>
36
+
37
+ <build>
38
+ <plugins>
39
+ <plugin>
40
+ <groupId>org.apache.felix</groupId>
41
+ <artifactId>maven-scr-plugin</artifactId>
42
+ <version>${maven.scr.version}</version>
43
+ </plugin>
44
+ <plugin>
45
+ <!-- builds the bundle -->
46
+ <groupId>org.apache.felix</groupId>
47
+ <artifactId>maven-bundle-plugin</artifactId>
48
+ <version>${maven.bundle.version}</version>
49
+ <extensions>true</extensions>
50
+ <configuration>
51
+ <instructions>
52
+ <Export-Package>
53
+ org.apache.tika.xmp,
54
+ org.apache.tika.xmp.convert
55
+ </Export-Package>
56
+ <Private-Package />
57
+ </instructions>
58
+ </configuration>
59
+ </plugin>
60
+ <plugin>
61
+ <groupId>org.apache.maven.plugins</groupId>
62
+ <artifactId>maven-jar-plugin</artifactId>
63
+ <configuration>
64
+ <archive>
65
+ <manifestEntries>
66
+ <Automatic-Module-Name>org.apache.tika.xmp</Automatic-Module-Name>
67
+ </manifestEntries>
68
+ </archive>
69
+ </configuration>
70
+ <executions>
71
+ <execution>
72
+ <goals>
73
+ <goal>test-jar</goal>
74
+ </goals>
75
+ </execution>
76
+ </executions>
77
+ </plugin>
78
+ </plugins>
79
+ </build>
80
+
81
+ <dependencies>
82
+ <dependency>
83
+ <groupId>${project.groupId}</groupId>
84
+ <artifactId>tika-core</artifactId>
85
+ <version>${project.version}</version>
86
+ <scope>provided</scope>
87
+ </dependency>
88
+ <dependency>
89
+ <groupId>${project.groupId}</groupId>
90
+ <artifactId>tika-parser-microsoft-module</artifactId>
91
+ <version>${project.version}</version>
92
+ </dependency>
93
+ <dependency>
94
+ <groupId>${project.groupId}</groupId>
95
+ <artifactId>tika-parser-miscoffice-module</artifactId>
96
+ <version>${project.version}</version>
97
+ </dependency>
98
+ <dependency>
99
+ <groupId>com.adobe.xmp</groupId>
100
+ <artifactId>xmpcore</artifactId>
101
+ <version>${xmpcore.version}</version>
102
+ </dependency>
103
+ </dependencies>
104
+
105
+ <description>Converts Tika metadata to XMP</description>
106
+ <organization>
107
+ <name>The Apache Software Foundation</name>
108
+ <url>http://www.apache.org</url>
109
+ </organization>
110
+ <issueManagement>
111
+ <system>JIRA</system>
112
+ <url>https://issues.apache.org/jira/browse/TIKA</url>
113
+ </issueManagement>
114
+ <ciManagement>
115
+ <system>Jenkins</system>
116
+ <url>https://builds.apache.org/job/Tika-trunk/</url>
117
+ </ciManagement>
118
+
119
+ <scm>
120
+ <tag>3.0.0-rc1</tag>
121
+ </scm>
122
+ </project>