Add files using upload-large-folder tool
Browse files- local-test-tika-delta-03/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-audiovideo-module/pom.xml +65 -0
- local-test-tika-delta-03/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-cad-module/pom.xml +73 -0
- local-test-tika-delta-03/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-code-module/pom.xml +95 -0
- local-test-tika-delta-03/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-digest-commons/pom.xml +66 -0
- local-test-tika-delta-03/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-jdbc-commons/pom.xml +50 -0
- local-test-tika-delta-03/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-mail-commons/pom.xml +64 -0
- local-test-tika-delta-03/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-mail-module/pom.xml +93 -0
- local-test-tika-delta-03/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-microsoft-module/pom.xml +146 -0
- local-test-tika-delta-03/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-pdf-module/pom.xml +118 -0
- local-test-tika-delta-03/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-pkg-module/pom.xml +92 -0
- local-test-tika-delta-03/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/config/TIKA-1708-detector-composite.xml +25 -0
- local-test-tika-delta-03/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/parser/ocr/tesseract-config.xml +32 -0
- local-test-tika-delta-03/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/embedded_then_npe.xml +36 -0
- local-test-tika-delta-03/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/example.xml +51 -0
- local-test-tika-delta-03/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/fake_oom.xml +25 -0
- local-test-tika-delta-03/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/heavy_hang.xml +25 -0
- local-test-tika-delta-03/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/nothing_bad.xml +26 -0
- local-test-tika-delta-03/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/null_pointer_no_msg.xml +25 -0
- local-test-tika-delta-03/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/real_oom.xml +24 -0
- local-test-tika-delta-03/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/sleep.xml +25 -0
local-test-tika-delta-03/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-audiovideo-module/pom.xml
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
<artifactId>tika-parsers-standard-modules</artifactId>
|
| 23 |
+
<groupId>org.apache.tika</groupId>
|
| 24 |
+
<version>4.0.0-SNAPSHOT</version>
|
| 25 |
+
<relativePath>../pom.xml</relativePath>
|
| 26 |
+
</parent>
|
| 27 |
+
<modelVersion>4.0.0</modelVersion>
|
| 28 |
+
|
| 29 |
+
<artifactId>tika-parser-audiovideo-module</artifactId>
|
| 30 |
+
<name>Apache Tika audiovideo parser module</name>
|
| 31 |
+
|
| 32 |
+
<dependencies>
|
| 33 |
+
<dependency>
|
| 34 |
+
<groupId>com.drewnoakes</groupId>
|
| 35 |
+
<artifactId>metadata-extractor</artifactId>
|
| 36 |
+
</dependency>
|
| 37 |
+
|
| 38 |
+
</dependencies>
|
| 39 |
+
<build>
|
| 40 |
+
<plugins>
|
| 41 |
+
<plugin>
|
| 42 |
+
<groupId>org.apache.maven.plugins</groupId>
|
| 43 |
+
<artifactId>maven-jar-plugin</artifactId>
|
| 44 |
+
<configuration>
|
| 45 |
+
<archive>
|
| 46 |
+
<manifestEntries>
|
| 47 |
+
<Automatic-Module-Name>org.apache.tika.parser.audiovideo</Automatic-Module-Name>
|
| 48 |
+
</manifestEntries>
|
| 49 |
+
</archive>
|
| 50 |
+
</configuration>
|
| 51 |
+
<executions>
|
| 52 |
+
<execution>
|
| 53 |
+
<goals>
|
| 54 |
+
<goal>test-jar</goal>
|
| 55 |
+
</goals>
|
| 56 |
+
</execution>
|
| 57 |
+
</executions>
|
| 58 |
+
</plugin>
|
| 59 |
+
</plugins>
|
| 60 |
+
</build>
|
| 61 |
+
|
| 62 |
+
<scm>
|
| 63 |
+
<tag>3.0.0-rc1</tag>
|
| 64 |
+
</scm>
|
| 65 |
+
</project>
|
local-test-tika-delta-03/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-cad-module/pom.xml
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
<artifactId>tika-parsers-standard-modules</artifactId>
|
| 23 |
+
<groupId>org.apache.tika</groupId>
|
| 24 |
+
<version>4.0.0-SNAPSHOT</version>
|
| 25 |
+
<relativePath>../pom.xml</relativePath>
|
| 26 |
+
</parent>
|
| 27 |
+
<modelVersion>4.0.0</modelVersion>
|
| 28 |
+
|
| 29 |
+
<artifactId>tika-parser-cad-module</artifactId>
|
| 30 |
+
<name>Apache Tika cad parser module</name>
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
<dependencies>
|
| 34 |
+
<dependency>
|
| 35 |
+
<groupId>${project.groupId}</groupId>
|
| 36 |
+
<artifactId>tika-parser-microsoft-module</artifactId>
|
| 37 |
+
<version>${project.version}</version>
|
| 38 |
+
</dependency>
|
| 39 |
+
<dependency>
|
| 40 |
+
<groupId>com.fasterxml.jackson.core</groupId>
|
| 41 |
+
<artifactId>jackson-core</artifactId>
|
| 42 |
+
</dependency>
|
| 43 |
+
<dependency>
|
| 44 |
+
<groupId>com.fasterxml.jackson.core</groupId>
|
| 45 |
+
<artifactId>jackson-databind</artifactId>
|
| 46 |
+
</dependency>
|
| 47 |
+
</dependencies>
|
| 48 |
+
<build>
|
| 49 |
+
<plugins>
|
| 50 |
+
<plugin>
|
| 51 |
+
<groupId>org.apache.maven.plugins</groupId>
|
| 52 |
+
<artifactId>maven-jar-plugin</artifactId>
|
| 53 |
+
<configuration>
|
| 54 |
+
<archive>
|
| 55 |
+
<manifestEntries>
|
| 56 |
+
<Automatic-Module-Name>org.apache.tika.parser.code</Automatic-Module-Name>
|
| 57 |
+
</manifestEntries>
|
| 58 |
+
</archive>
|
| 59 |
+
</configuration>
|
| 60 |
+
<executions>
|
| 61 |
+
<execution>
|
| 62 |
+
<goals>
|
| 63 |
+
<goal>test-jar</goal>
|
| 64 |
+
</goals>
|
| 65 |
+
</execution>
|
| 66 |
+
</executions>
|
| 67 |
+
</plugin>
|
| 68 |
+
</plugins>
|
| 69 |
+
</build>
|
| 70 |
+
<scm>
|
| 71 |
+
<tag>3.0.0-rc1</tag>
|
| 72 |
+
</scm>
|
| 73 |
+
</project>
|
local-test-tika-delta-03/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-code-module/pom.xml
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
<artifactId>tika-parsers-standard-modules</artifactId>
|
| 23 |
+
<groupId>org.apache.tika</groupId>
|
| 24 |
+
<version>4.0.0-SNAPSHOT</version>
|
| 25 |
+
<relativePath>../pom.xml</relativePath>
|
| 26 |
+
</parent>
|
| 27 |
+
<modelVersion>4.0.0</modelVersion>
|
| 28 |
+
|
| 29 |
+
<artifactId>tika-parser-code-module</artifactId>
|
| 30 |
+
<name>Apache Tika code parser module</name>
|
| 31 |
+
|
| 32 |
+
<dependencies>
|
| 33 |
+
<dependency>
|
| 34 |
+
<groupId>${project.groupId}</groupId>
|
| 35 |
+
<artifactId>tika-parser-text-module</artifactId>
|
| 36 |
+
<version>${project.version}</version>
|
| 37 |
+
</dependency>
|
| 38 |
+
<dependency>
|
| 39 |
+
<groupId>org.codelibs</groupId>
|
| 40 |
+
<artifactId>jhighlight</artifactId>
|
| 41 |
+
<version>${jhighlight.version}</version>
|
| 42 |
+
</dependency>
|
| 43 |
+
<dependency>
|
| 44 |
+
<groupId>org.jsoup</groupId>
|
| 45 |
+
<artifactId>jsoup</artifactId>
|
| 46 |
+
</dependency>
|
| 47 |
+
<dependency>
|
| 48 |
+
<groupId>org.ow2.asm</groupId>
|
| 49 |
+
<artifactId>asm</artifactId>
|
| 50 |
+
<version>${asm.version}</version>
|
| 51 |
+
</dependency>
|
| 52 |
+
<dependency>
|
| 53 |
+
<groupId>org.apache.commons</groupId>
|
| 54 |
+
<artifactId>commons-lang3</artifactId>
|
| 55 |
+
</dependency>
|
| 56 |
+
|
| 57 |
+
<dependency>
|
| 58 |
+
<groupId>com.epam</groupId>
|
| 59 |
+
<artifactId>parso</artifactId>
|
| 60 |
+
<version>${parso.version}</version>
|
| 61 |
+
</dependency>
|
| 62 |
+
<dependency>
|
| 63 |
+
<groupId>org.tallison</groupId>
|
| 64 |
+
<artifactId>jmatio</artifactId>
|
| 65 |
+
<version>1.5</version>
|
| 66 |
+
</dependency>
|
| 67 |
+
</dependencies>
|
| 68 |
+
|
| 69 |
+
<build>
|
| 70 |
+
<plugins>
|
| 71 |
+
<plugin>
|
| 72 |
+
<groupId>org.apache.maven.plugins</groupId>
|
| 73 |
+
<artifactId>maven-jar-plugin</artifactId>
|
| 74 |
+
<configuration>
|
| 75 |
+
<archive>
|
| 76 |
+
<manifestEntries>
|
| 77 |
+
<Automatic-Module-Name>org.apache.tika.parser.code</Automatic-Module-Name>
|
| 78 |
+
</manifestEntries>
|
| 79 |
+
</archive>
|
| 80 |
+
</configuration>
|
| 81 |
+
<executions>
|
| 82 |
+
<execution>
|
| 83 |
+
<goals>
|
| 84 |
+
<goal>test-jar</goal>
|
| 85 |
+
</goals>
|
| 86 |
+
</execution>
|
| 87 |
+
</executions>
|
| 88 |
+
</plugin>
|
| 89 |
+
</plugins>
|
| 90 |
+
</build>
|
| 91 |
+
|
| 92 |
+
<scm>
|
| 93 |
+
<tag>3.0.0-rc1</tag>
|
| 94 |
+
</scm>
|
| 95 |
+
</project>
|
local-test-tika-delta-03/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-digest-commons/pom.xml
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
<artifactId>tika-parsers-standard-modules</artifactId>
|
| 23 |
+
<groupId>org.apache.tika</groupId>
|
| 24 |
+
<version>4.0.0-SNAPSHOT</version>
|
| 25 |
+
<relativePath>../pom.xml</relativePath>
|
| 26 |
+
</parent>
|
| 27 |
+
<modelVersion>4.0.0</modelVersion>
|
| 28 |
+
|
| 29 |
+
<artifactId>tika-parser-digest-commons</artifactId>
|
| 30 |
+
<name>Apache Tika digest commons</name>
|
| 31 |
+
|
| 32 |
+
<dependencies>
|
| 33 |
+
<dependency>
|
| 34 |
+
<groupId>commons-codec</groupId>
|
| 35 |
+
<artifactId>commons-codec</artifactId>
|
| 36 |
+
</dependency>
|
| 37 |
+
<dependency>
|
| 38 |
+
<groupId>org.bouncycastle</groupId>
|
| 39 |
+
<artifactId>bcjmail-jdk18on</artifactId>
|
| 40 |
+
</dependency>
|
| 41 |
+
<dependency>
|
| 42 |
+
<groupId>org.bouncycastle</groupId>
|
| 43 |
+
<artifactId>bcprov-jdk18on</artifactId>
|
| 44 |
+
</dependency>
|
| 45 |
+
|
| 46 |
+
</dependencies>
|
| 47 |
+
|
| 48 |
+
<build>
|
| 49 |
+
<plugins>
|
| 50 |
+
<plugin>
|
| 51 |
+
<groupId>org.apache.maven.plugins</groupId>
|
| 52 |
+
<artifactId>maven-jar-plugin</artifactId>
|
| 53 |
+
<configuration>
|
| 54 |
+
<archive>
|
| 55 |
+
<manifestEntries>
|
| 56 |
+
<Automatic-Module-Name>org.apache.tika.parser.digest.commons</Automatic-Module-Name>
|
| 57 |
+
</manifestEntries>
|
| 58 |
+
</archive>
|
| 59 |
+
</configuration>
|
| 60 |
+
</plugin>
|
| 61 |
+
</plugins>
|
| 62 |
+
</build>
|
| 63 |
+
<scm>
|
| 64 |
+
<tag>3.0.0-rc1</tag>
|
| 65 |
+
</scm>
|
| 66 |
+
</project>
|
local-test-tika-delta-03/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-jdbc-commons/pom.xml
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
<artifactId>tika-parsers-standard-modules</artifactId>
|
| 23 |
+
<groupId>org.apache.tika</groupId>
|
| 24 |
+
<version>4.0.0-SNAPSHOT</version>
|
| 25 |
+
<relativePath>../pom.xml</relativePath>
|
| 26 |
+
</parent>
|
| 27 |
+
<modelVersion>4.0.0</modelVersion>
|
| 28 |
+
|
| 29 |
+
<artifactId>tika-parser-jdbc-commons</artifactId>
|
| 30 |
+
<name>Apache Tika jdbc parser commons</name>
|
| 31 |
+
|
| 32 |
+
<build>
|
| 33 |
+
<plugins>
|
| 34 |
+
<plugin>
|
| 35 |
+
<groupId>org.apache.maven.plugins</groupId>
|
| 36 |
+
<artifactId>maven-jar-plugin</artifactId>
|
| 37 |
+
<configuration>
|
| 38 |
+
<archive>
|
| 39 |
+
<manifestEntries>
|
| 40 |
+
<Automatic-Module-Name>org.apache.tika.parser.jdbc.commons</Automatic-Module-Name>
|
| 41 |
+
</manifestEntries>
|
| 42 |
+
</archive>
|
| 43 |
+
</configuration>
|
| 44 |
+
</plugin>
|
| 45 |
+
</plugins>
|
| 46 |
+
</build>
|
| 47 |
+
<scm>
|
| 48 |
+
<tag>3.0.0-rc1</tag>
|
| 49 |
+
</scm>
|
| 50 |
+
</project>
|
local-test-tika-delta-03/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-mail-commons/pom.xml
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
<artifactId>tika-parsers-standard-modules</artifactId>
|
| 23 |
+
<groupId>org.apache.tika</groupId>
|
| 24 |
+
<version>4.0.0-SNAPSHOT</version>
|
| 25 |
+
<relativePath>../pom.xml</relativePath>
|
| 26 |
+
</parent>
|
| 27 |
+
|
| 28 |
+
<modelVersion>4.0.0</modelVersion>
|
| 29 |
+
|
| 30 |
+
<artifactId>tika-parser-mail-commons</artifactId>
|
| 31 |
+
<name>Apache Tika mail commons</name>
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
<dependencies>
|
| 35 |
+
<dependency>
|
| 36 |
+
<groupId>org.apache.james</groupId>
|
| 37 |
+
<artifactId>apache-mime4j-core</artifactId>
|
| 38 |
+
<version>${mime4j.version}</version>
|
| 39 |
+
</dependency>
|
| 40 |
+
<dependency>
|
| 41 |
+
<groupId>org.apache.james</groupId>
|
| 42 |
+
<artifactId>apache-mime4j-dom</artifactId>
|
| 43 |
+
<version>${mime4j.version}</version>
|
| 44 |
+
</dependency>
|
| 45 |
+
</dependencies>
|
| 46 |
+
<build>
|
| 47 |
+
<plugins>
|
| 48 |
+
<plugin>
|
| 49 |
+
<groupId>org.apache.maven.plugins</groupId>
|
| 50 |
+
<artifactId>maven-jar-plugin</artifactId>
|
| 51 |
+
<configuration>
|
| 52 |
+
<archive>
|
| 53 |
+
<manifestEntries>
|
| 54 |
+
<Automatic-Module-Name>org.apache.tika.parser.mail.commons</Automatic-Module-Name>
|
| 55 |
+
</manifestEntries>
|
| 56 |
+
</archive>
|
| 57 |
+
</configuration>
|
| 58 |
+
</plugin>
|
| 59 |
+
</plugins>
|
| 60 |
+
</build>
|
| 61 |
+
<scm>
|
| 62 |
+
<tag>3.0.0-rc1</tag>
|
| 63 |
+
</scm>
|
| 64 |
+
</project>
|
local-test-tika-delta-03/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-mail-module/pom.xml
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
<artifactId>tika-parsers-standard-modules</artifactId>
|
| 23 |
+
<groupId>org.apache.tika</groupId>
|
| 24 |
+
<version>4.0.0-SNAPSHOT</version>
|
| 25 |
+
<relativePath>../pom.xml</relativePath>
|
| 26 |
+
</parent>
|
| 27 |
+
<modelVersion>4.0.0</modelVersion>
|
| 28 |
+
|
| 29 |
+
<artifactId>tika-parser-mail-module</artifactId>
|
| 30 |
+
<name>Apache Tika mail parser module</name>
|
| 31 |
+
|
| 32 |
+
<dependencies>
|
| 33 |
+
<dependency>
|
| 34 |
+
<groupId>${project.groupId}</groupId>
|
| 35 |
+
<artifactId>tika-parser-mail-commons</artifactId>
|
| 36 |
+
<version>${project.version}</version>
|
| 37 |
+
</dependency>
|
| 38 |
+
<dependency>
|
| 39 |
+
<groupId>${project.groupId}</groupId>
|
| 40 |
+
<artifactId>tika-parser-text-module</artifactId>
|
| 41 |
+
<version>${project.version}</version>
|
| 42 |
+
</dependency>
|
| 43 |
+
<dependency>
|
| 44 |
+
<groupId>${project.groupId}</groupId>
|
| 45 |
+
<artifactId>tika-parser-html-module</artifactId>
|
| 46 |
+
<version>${project.version}</version>
|
| 47 |
+
</dependency>
|
| 48 |
+
<dependency>
|
| 49 |
+
<groupId>org.mockito</groupId>
|
| 50 |
+
<artifactId>mockito-core</artifactId>
|
| 51 |
+
<scope>test</scope>
|
| 52 |
+
</dependency>
|
| 53 |
+
<dependency>
|
| 54 |
+
<groupId>${project.groupId}</groupId>
|
| 55 |
+
<artifactId>tika-parser-ocr-module</artifactId>
|
| 56 |
+
<version>${project.version}</version>
|
| 57 |
+
<scope>test</scope>
|
| 58 |
+
</dependency>
|
| 59 |
+
<dependency>
|
| 60 |
+
<groupId>${project.groupId}</groupId>
|
| 61 |
+
<artifactId>tika-parser-ocr-module</artifactId>
|
| 62 |
+
<version>${project.version}</version>
|
| 63 |
+
<scope>test</scope>
|
| 64 |
+
<type>test-jar</type>
|
| 65 |
+
</dependency>
|
| 66 |
+
</dependencies>
|
| 67 |
+
<build>
|
| 68 |
+
<plugins>
|
| 69 |
+
<plugin>
|
| 70 |
+
<groupId>org.apache.maven.plugins</groupId>
|
| 71 |
+
<artifactId>maven-jar-plugin</artifactId>
|
| 72 |
+
<configuration>
|
| 73 |
+
<archive>
|
| 74 |
+
<manifestEntries>
|
| 75 |
+
<Automatic-Module-Name>org.apache.tika.parser.mail</Automatic-Module-Name>
|
| 76 |
+
</manifestEntries>
|
| 77 |
+
</archive>
|
| 78 |
+
</configuration>
|
| 79 |
+
<executions>
|
| 80 |
+
<execution>
|
| 81 |
+
<goals>
|
| 82 |
+
<goal>test-jar</goal>
|
| 83 |
+
</goals>
|
| 84 |
+
</execution>
|
| 85 |
+
</executions>
|
| 86 |
+
</plugin>
|
| 87 |
+
</plugins>
|
| 88 |
+
</build>
|
| 89 |
+
|
| 90 |
+
<scm>
|
| 91 |
+
<tag>3.0.0-rc1</tag>
|
| 92 |
+
</scm>
|
| 93 |
+
</project>
|
local-test-tika-delta-03/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-microsoft-module/pom.xml
ADDED
|
@@ -0,0 +1,146 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
<artifactId>tika-parsers-standard-modules</artifactId>
|
| 23 |
+
<groupId>org.apache.tika</groupId>
|
| 24 |
+
<version>4.0.0-SNAPSHOT</version>
|
| 25 |
+
<relativePath>../pom.xml</relativePath>
|
| 26 |
+
</parent>
|
| 27 |
+
<modelVersion>4.0.0</modelVersion>
|
| 28 |
+
|
| 29 |
+
<artifactId>tika-parser-microsoft-module</artifactId>
|
| 30 |
+
<name>Apache Tika Microsoft parser module</name>
|
| 31 |
+
|
| 32 |
+
<dependencies>
|
| 33 |
+
<dependency>
|
| 34 |
+
<groupId>org.slf4j</groupId>
|
| 35 |
+
<artifactId>slf4j-api</artifactId>
|
| 36 |
+
</dependency>
|
| 37 |
+
<!-- needed for msg files -->
|
| 38 |
+
<dependency>
|
| 39 |
+
<groupId>${project.groupId}</groupId>
|
| 40 |
+
<artifactId>tika-parser-html-module</artifactId>
|
| 41 |
+
<version>${project.version}</version>
|
| 42 |
+
</dependency>
|
| 43 |
+
<!-- needed for msg files -->
|
| 44 |
+
<dependency>
|
| 45 |
+
<groupId>${project.groupId}</groupId>
|
| 46 |
+
<artifactId>tika-parser-text-module</artifactId>
|
| 47 |
+
<version>${project.version}</version>
|
| 48 |
+
</dependency>
|
| 49 |
+
<dependency>
|
| 50 |
+
<groupId>${project.groupId}</groupId>
|
| 51 |
+
<artifactId>tika-parser-xml-module</artifactId>
|
| 52 |
+
<version>${project.version}</version>
|
| 53 |
+
</dependency>
|
| 54 |
+
<!-- needed for msg files -->
|
| 55 |
+
<dependency>
|
| 56 |
+
<groupId>${project.groupId}</groupId>
|
| 57 |
+
<artifactId>tika-parser-mail-commons</artifactId>
|
| 58 |
+
<version>${project.version}</version>
|
| 59 |
+
</dependency>
|
| 60 |
+
<dependency>
|
| 61 |
+
<groupId>com.pff</groupId>
|
| 62 |
+
<artifactId>java-libpst</artifactId>
|
| 63 |
+
<version>${libpst.version}</version>
|
| 64 |
+
</dependency>
|
| 65 |
+
<dependency>
|
| 66 |
+
<groupId>${project.groupId}</groupId>
|
| 67 |
+
<artifactId>tika-parser-zip-commons</artifactId>
|
| 68 |
+
<version>${project.version}</version>
|
| 69 |
+
</dependency>
|
| 70 |
+
<dependency>
|
| 71 |
+
<groupId>commons-codec</groupId>
|
| 72 |
+
<artifactId>commons-codec</artifactId>
|
| 73 |
+
</dependency>
|
| 74 |
+
<dependency>
|
| 75 |
+
<groupId>org.apache.commons</groupId>
|
| 76 |
+
<artifactId>commons-lang3</artifactId>
|
| 77 |
+
</dependency>
|
| 78 |
+
<dependency>
|
| 79 |
+
<groupId>org.apache.poi</groupId>
|
| 80 |
+
<artifactId>poi</artifactId>
|
| 81 |
+
</dependency>
|
| 82 |
+
<dependency>
|
| 83 |
+
<groupId>org.apache.poi</groupId>
|
| 84 |
+
<artifactId>poi-scratchpad</artifactId>
|
| 85 |
+
<version>${poi.version}</version>
|
| 86 |
+
</dependency>
|
| 87 |
+
<dependency>
|
| 88 |
+
<groupId>org.apache.poi</groupId>
|
| 89 |
+
<artifactId>poi-ooxml</artifactId>
|
| 90 |
+
</dependency>
|
| 91 |
+
<!-- needed by jackcess -->
|
| 92 |
+
<dependency>
|
| 93 |
+
<groupId>commons-logging</groupId>
|
| 94 |
+
<artifactId>commons-logging</artifactId>
|
| 95 |
+
</dependency>
|
| 96 |
+
<dependency>
|
| 97 |
+
<groupId>com.healthmarketscience.jackcess</groupId>
|
| 98 |
+
<artifactId>jackcess</artifactId>
|
| 99 |
+
</dependency>
|
| 100 |
+
<dependency>
|
| 101 |
+
<groupId>com.healthmarketscience.jackcess</groupId>
|
| 102 |
+
<artifactId>jackcess-encrypt</artifactId>
|
| 103 |
+
</dependency>
|
| 104 |
+
<dependency>
|
| 105 |
+
<groupId>org.bouncycastle</groupId>
|
| 106 |
+
<artifactId>bcjmail-jdk18on</artifactId>
|
| 107 |
+
</dependency>
|
| 108 |
+
<dependency>
|
| 109 |
+
<groupId>org.bouncycastle</groupId>
|
| 110 |
+
<artifactId>bcprov-jdk18on</artifactId>
|
| 111 |
+
</dependency>
|
| 112 |
+
<!-- needed for libpst test files -->
|
| 113 |
+
<dependency>
|
| 114 |
+
<groupId>${project.groupId}</groupId>
|
| 115 |
+
<artifactId>tika-parser-mail-module</artifactId>
|
| 116 |
+
<version>${project.version}</version>
|
| 117 |
+
<scope>test</scope>
|
| 118 |
+
</dependency>
|
| 119 |
+
</dependencies>
|
| 120 |
+
<build>
|
| 121 |
+
<plugins>
|
| 122 |
+
<plugin>
|
| 123 |
+
<groupId>org.apache.maven.plugins</groupId>
|
| 124 |
+
<artifactId>maven-jar-plugin</artifactId>
|
| 125 |
+
<configuration>
|
| 126 |
+
<archive>
|
| 127 |
+
<manifestEntries>
|
| 128 |
+
<Automatic-Module-Name>org.apache.tika.parser.microsoft</Automatic-Module-Name>
|
| 129 |
+
</manifestEntries>
|
| 130 |
+
</archive>
|
| 131 |
+
</configuration>
|
| 132 |
+
<executions>
|
| 133 |
+
<execution>
|
| 134 |
+
<goals>
|
| 135 |
+
<goal>test-jar</goal>
|
| 136 |
+
</goals>
|
| 137 |
+
</execution>
|
| 138 |
+
</executions>
|
| 139 |
+
</plugin>
|
| 140 |
+
</plugins>
|
| 141 |
+
</build>
|
| 142 |
+
|
| 143 |
+
<scm>
|
| 144 |
+
<tag>3.0.0-rc1</tag>
|
| 145 |
+
</scm>
|
| 146 |
+
</project>
|
local-test-tika-delta-03/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-pdf-module/pom.xml
ADDED
|
@@ -0,0 +1,118 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
<artifactId>tika-parsers-standard-modules</artifactId>
|
| 23 |
+
<groupId>org.apache.tika</groupId>
|
| 24 |
+
<version>4.0.0-SNAPSHOT</version>
|
| 25 |
+
<relativePath>../pom.xml</relativePath>
|
| 26 |
+
</parent>
|
| 27 |
+
<modelVersion>4.0.0</modelVersion>
|
| 28 |
+
|
| 29 |
+
<artifactId>tika-parser-pdf-module</artifactId>
|
| 30 |
+
<name>Apache Tika PDF parser module</name>
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
<dependencies>
|
| 34 |
+
<dependency>
|
| 35 |
+
<groupId>${project.groupId}</groupId>
|
| 36 |
+
<artifactId>tika-parser-xmp-commons</artifactId>
|
| 37 |
+
<version>${project.version}</version>
|
| 38 |
+
</dependency>
|
| 39 |
+
<dependency>
|
| 40 |
+
<groupId>org.apache.pdfbox</groupId>
|
| 41 |
+
<artifactId>pdfbox</artifactId>
|
| 42 |
+
<version>${pdfbox.version}</version>
|
| 43 |
+
</dependency>
|
| 44 |
+
<dependency>
|
| 45 |
+
<groupId>org.apache.pdfbox</groupId>
|
| 46 |
+
<artifactId>pdfbox-tools</artifactId>
|
| 47 |
+
<version>${pdfbox.version}</version>
|
| 48 |
+
<exclusions>
|
| 49 |
+
<exclusion>
|
| 50 |
+
<groupId>org.apache.pdfbox</groupId>
|
| 51 |
+
<artifactId>pdfbox-debugger</artifactId>
|
| 52 |
+
</exclusion>
|
| 53 |
+
</exclusions>
|
| 54 |
+
</dependency>
|
| 55 |
+
<dependency>
|
| 56 |
+
<groupId>org.apache.pdfbox</groupId>
|
| 57 |
+
<artifactId>jempbox</artifactId>
|
| 58 |
+
<version>${jempbox.version}</version>
|
| 59 |
+
</dependency>
|
| 60 |
+
<!-- TIKA-370: PDFBox declares the Bouncy Castle dependencies
|
| 61 |
+
as optional, but we prefer to have them always to avoid
|
| 62 |
+
problems with encrypted PDFs. -->
|
| 63 |
+
<dependency>
|
| 64 |
+
<groupId>org.bouncycastle</groupId>
|
| 65 |
+
<artifactId>bcjmail-jdk18on</artifactId>
|
| 66 |
+
</dependency>
|
| 67 |
+
<dependency>
|
| 68 |
+
<groupId>org.bouncycastle</groupId>
|
| 69 |
+
<artifactId>bcprov-jdk18on</artifactId>
|
| 70 |
+
</dependency>
|
| 71 |
+
<!-- for java 10
|
| 72 |
+
See TIKA-2778 for why we need to do this now.
|
| 73 |
+
May the gods of API design fix this in the future.
|
| 74 |
+
only required for jackcess-encrypt
|
| 75 |
+
-->
|
| 76 |
+
<dependency>
|
| 77 |
+
<groupId>org.glassfish.jaxb</groupId>
|
| 78 |
+
<artifactId>jaxb-runtime</artifactId>
|
| 79 |
+
</dependency>
|
| 80 |
+
<dependency>
|
| 81 |
+
<groupId>org.slf4j</groupId>
|
| 82 |
+
<artifactId>jcl-over-slf4j</artifactId>
|
| 83 |
+
<scope>test</scope>
|
| 84 |
+
</dependency>
|
| 85 |
+
<dependency>
|
| 86 |
+
<groupId>com.github.jai-imageio</groupId>
|
| 87 |
+
<artifactId>jai-imageio-core</artifactId>
|
| 88 |
+
<scope>test</scope>
|
| 89 |
+
</dependency>
|
| 90 |
+
</dependencies>
|
| 91 |
+
|
| 92 |
+
<build>
|
| 93 |
+
<plugins>
|
| 94 |
+
<plugin>
|
| 95 |
+
<groupId>org.apache.maven.plugins</groupId>
|
| 96 |
+
<artifactId>maven-jar-plugin</artifactId>
|
| 97 |
+
<configuration>
|
| 98 |
+
<archive>
|
| 99 |
+
<manifestEntries>
|
| 100 |
+
<Automatic-Module-Name>org.apache.tika.parser.pdf</Automatic-Module-Name>
|
| 101 |
+
</manifestEntries>
|
| 102 |
+
</archive>
|
| 103 |
+
</configuration>
|
| 104 |
+
<executions>
|
| 105 |
+
<execution>
|
| 106 |
+
<goals>
|
| 107 |
+
<goal>test-jar</goal>
|
| 108 |
+
</goals>
|
| 109 |
+
</execution>
|
| 110 |
+
</executions>
|
| 111 |
+
</plugin>
|
| 112 |
+
</plugins>
|
| 113 |
+
</build>
|
| 114 |
+
|
| 115 |
+
<scm>
|
| 116 |
+
<tag>3.0.0-rc1</tag>
|
| 117 |
+
</scm>
|
| 118 |
+
</project>
|
local-test-tika-delta-03/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-pkg-module/pom.xml
ADDED
|
@@ -0,0 +1,92 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
<artifactId>tika-parsers-standard-modules</artifactId>
|
| 23 |
+
<groupId>org.apache.tika</groupId>
|
| 24 |
+
<version>4.0.0-SNAPSHOT</version>
|
| 25 |
+
<relativePath>../pom.xml</relativePath>
|
| 26 |
+
</parent>
|
| 27 |
+
<modelVersion>4.0.0</modelVersion>
|
| 28 |
+
|
| 29 |
+
<artifactId>tika-parser-pkg-module</artifactId>
|
| 30 |
+
<name>Apache Tika package parser module</name>
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
<dependencies>
|
| 34 |
+
<dependency>
|
| 35 |
+
<groupId>org.tukaani</groupId>
|
| 36 |
+
<artifactId>xz</artifactId>
|
| 37 |
+
<version>${tukaani.version}</version>
|
| 38 |
+
</dependency>
|
| 39 |
+
<dependency>
|
| 40 |
+
<groupId>org.brotli</groupId>
|
| 41 |
+
<artifactId>dec</artifactId>
|
| 42 |
+
<version>${brotli.version}</version>
|
| 43 |
+
</dependency>
|
| 44 |
+
<dependency>
|
| 45 |
+
<groupId>com.github.luben</groupId>
|
| 46 |
+
<artifactId>zstd-jni</artifactId>
|
| 47 |
+
<version>${zstd.version}</version>
|
| 48 |
+
<scope>provided</scope>
|
| 49 |
+
</dependency>
|
| 50 |
+
<dependency>
|
| 51 |
+
<groupId>${project.groupId}</groupId>
|
| 52 |
+
<artifactId>tika-parser-zip-commons</artifactId>
|
| 53 |
+
<version>${project.version}</version>
|
| 54 |
+
</dependency>
|
| 55 |
+
<dependency>
|
| 56 |
+
<groupId>com.github.junrar</groupId>
|
| 57 |
+
<artifactId>junrar</artifactId>
|
| 58 |
+
<version>${junrar.version}</version>
|
| 59 |
+
</dependency>
|
| 60 |
+
<dependency>
|
| 61 |
+
<groupId>commons-codec</groupId>
|
| 62 |
+
<artifactId>commons-codec</artifactId>
|
| 63 |
+
<scope>test</scope>
|
| 64 |
+
</dependency>
|
| 65 |
+
</dependencies>
|
| 66 |
+
<build>
|
| 67 |
+
<plugins>
|
| 68 |
+
<plugin>
|
| 69 |
+
<groupId>org.apache.maven.plugins</groupId>
|
| 70 |
+
<artifactId>maven-jar-plugin</artifactId>
|
| 71 |
+
<configuration>
|
| 72 |
+
<archive>
|
| 73 |
+
<manifestEntries>
|
| 74 |
+
<Automatic-Module-Name>org.apache.tika.parser.pkg</Automatic-Module-Name>
|
| 75 |
+
</manifestEntries>
|
| 76 |
+
</archive>
|
| 77 |
+
</configuration>
|
| 78 |
+
<executions>
|
| 79 |
+
<execution>
|
| 80 |
+
<goals>
|
| 81 |
+
<goal>test-jar</goal>
|
| 82 |
+
</goals>
|
| 83 |
+
</execution>
|
| 84 |
+
</executions>
|
| 85 |
+
</plugin>
|
| 86 |
+
</plugins>
|
| 87 |
+
</build>
|
| 88 |
+
|
| 89 |
+
<scm>
|
| 90 |
+
<tag>3.0.0-rc1</tag>
|
| 91 |
+
</scm>
|
| 92 |
+
</project>
|
local-test-tika-delta-03/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/config/TIKA-1708-detector-composite.xml
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
<!--
|
| 3 |
+
Licensed to the Apache Software Foundation (ASF) under one or more
|
| 4 |
+
contributor license agreements. See the NOTICE file distributed with
|
| 5 |
+
this work for additional information regarding copyright ownership.
|
| 6 |
+
The ASF licenses this file to You under the Apache License, Version 2.0
|
| 7 |
+
(the "License"); you may not use this file except in compliance with
|
| 8 |
+
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, software
|
| 13 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 14 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 15 |
+
See the License for the specific language governing permissions and
|
| 16 |
+
limitations under the License.
|
| 17 |
+
-->
|
| 18 |
+
<properties>
|
| 19 |
+
<parsers/>
|
| 20 |
+
<detectors>
|
| 21 |
+
<detector class="org.apache.tika.detect.microsoft.POIFSContainerDetector"/>
|
| 22 |
+
<detector class="org.apache.tika.mime.MimeTypes"/>
|
| 23 |
+
</detectors>
|
| 24 |
+
<translator class="org.apache.tika.language.translate.DefaultTranslator"/>
|
| 25 |
+
</properties>
|
local-test-tika-delta-03/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/org/apache/tika/parser/ocr/tesseract-config.xml
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
<!--
|
| 3 |
+
Licensed to the Apache Software Foundation (ASF) under one or more
|
| 4 |
+
contributor license agreements. See the NOTICE file distributed with
|
| 5 |
+
this work for additional information regarding copyright ownership.
|
| 6 |
+
The ASF licenses this file to You under the Apache License, Version 2.0
|
| 7 |
+
(the "License"); you may not use this file except in compliance with
|
| 8 |
+
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, software
|
| 13 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 14 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 15 |
+
See the License for the specific language governing permissions and
|
| 16 |
+
limitations under the License.
|
| 17 |
+
-->
|
| 18 |
+
<properties>
|
| 19 |
+
<parsers>
|
| 20 |
+
<parser class="org.apache.tika.parser.DefaultParser">
|
| 21 |
+
<parser-exclude class="org.apache.tika.parser.ocr.TesseractOCRParser"/>
|
| 22 |
+
</parser>
|
| 23 |
+
<parser class="org.apache.tika.parser.ocr.TesseractOCRParser">
|
| 24 |
+
<params>
|
| 25 |
+
<!-- Note that I manually changed the directory to "Tesseract OCR" from "Tesseract-OCR"
|
| 26 |
+
on my local machine for this test -->
|
| 27 |
+
<param name="tesseractPath" type="string">C:\Program Files\Tesseract OCR</param>
|
| 28 |
+
<param name="tessdataPath" type="string">C:\Program Files\Tesseract OCR\tessdata</param>
|
| 29 |
+
</params>
|
| 30 |
+
</parser>
|
| 31 |
+
</parsers>
|
| 32 |
+
</properties>
|
local-test-tika-delta-03/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/embedded_then_npe.xml
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
<mock>
|
| 23 |
+
|
| 24 |
+
<metadata action="add" name="author">Nikolai Lobachevsky</metadata>
|
| 25 |
+
<write element="p">main_content</write>
|
| 26 |
+
<!-- auto detection wasn't working for some reason; add content-type as
|
| 27 |
+
is to trigger mock on the embedded -->
|
| 28 |
+
<embedded filename="embed1.xml" content-type="application/mock+xml">
|
| 29 |
+
<mock>
|
| 30 |
+
<metadata action="add" name="author">embeddedAuthor</metadata>
|
| 31 |
+
<write element="p">some_embedded_content</write>
|
| 32 |
+
</mock>
|
| 33 |
+
</embedded>
|
| 34 |
+
<throw class="java.lang.NullPointerException">another null pointer exception</throw>
|
| 35 |
+
|
| 36 |
+
</mock>
|
local-test-tika-delta-03/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/example.xml
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
<mock>
|
| 23 |
+
<!-- this file offers all of the options as documentation
|
| 24 |
+
Parsing should stop at an IOException, of course
|
| 25 |
+
-->
|
| 26 |
+
|
| 27 |
+
<!-- action can be "add" or "set" -->
|
| 28 |
+
<metadata action="add" name="author">Nikolai Lobachevsky</metadata>
|
| 29 |
+
<!-- element is the name of the sax event to write, p=paragraph
|
| 30 |
+
if the element is not specified, the default is <p> -->
|
| 31 |
+
<write element="p">some content</write>
|
| 32 |
+
<!-- write something to System.out -->
|
| 33 |
+
<print_out>writing to System.out</print_out>
|
| 34 |
+
<!-- write something to System.err -->
|
| 35 |
+
<print_err>writing to System.err</print_err>
|
| 36 |
+
<!-- hang
|
| 37 |
+
millis: how many milliseconds to pause. The actual hang time will probably
|
| 38 |
+
be a bit longer than the value specified. heavy: whether or not the hang should do something computationally expensive.
|
| 39 |
+
If the value is false, this just does a Thread.sleep(millis).
|
| 40 |
+
This attribute is optional, with default of heavy=false.
|
| 41 |
+
pulse_millis: (required if "heavy" is true), how often to check to see
|
| 42 |
+
whether the thread was interrupted or that the total hang time exceeded the millis
|
| 43 |
+
interruptible: whether or not the parser will check to see if its thread
|
| 44 |
+
has been interrupted; this attribute is optional with default of true
|
| 45 |
+
-->
|
| 46 |
+
<hang millis="100" heavy="true" pulse_millis="10" interruptible="true" />
|
| 47 |
+
<!-- throw an exception or error; optionally include a message or not -->
|
| 48 |
+
<throw class="java.io.IOException">not another IOException</throw>
|
| 49 |
+
<!-- perform a genuine OutOfMemoryError -->
|
| 50 |
+
<oom/>
|
| 51 |
+
</mock>
|
local-test-tika-delta-03/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/fake_oom.xml
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
<mock>
|
| 23 |
+
<metadata action="add" name="author">Nikolai Lobachevsky</metadata>
|
| 24 |
+
<throw class="java.lang.OutOfMemoryError">not another oom</throw>
|
| 25 |
+
</mock>
|
local-test-tika-delta-03/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/heavy_hang.xml
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
|
| 21 |
+
<mock>
|
| 22 |
+
<metadata action="add" name="author">Nikolai Lobachevsky</metadata>
|
| 23 |
+
<write element="p">some content</write>
|
| 24 |
+
<hang millis="3000" heavy="true" pulse_millis="100" />
|
| 25 |
+
</mock>
|
local-test-tika-delta-03/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/nothing_bad.xml
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
|
| 21 |
+
<mock>
|
| 22 |
+
<metadata action="add" name="author">Geoffrey Chaucer</metadata>
|
| 23 |
+
<write element="p">Whan that Aprille with his shoures soote</write>
|
| 24 |
+
<write>The droghte of Marche hath perced to the roote,</write>
|
| 25 |
+
<write>And bathed every veyne in swich licour,</write>
|
| 26 |
+
</mock>
|
local-test-tika-delta-03/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/null_pointer_no_msg.xml
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
|
| 21 |
+
<mock>
|
| 22 |
+
<metadata action="add" name="author">Nikolai Lobachevsky</metadata>
|
| 23 |
+
<write element="p">some content</write>
|
| 24 |
+
<throw class="java.lang.NullPointerException"/>
|
| 25 |
+
</mock>
|
local-test-tika-delta-03/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/real_oom.xml
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
|
| 21 |
+
<mock>
|
| 22 |
+
<metadata action="add" name="author">Nikolai Lobachevsky</metadata>
|
| 23 |
+
<oom/>
|
| 24 |
+
</mock>
|
local-test-tika-delta-03/afc-tika/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/resources/test-documents/mock/sleep.xml
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
|
| 21 |
+
<mock>
|
| 22 |
+
<metadata action="add" name="author">Nikolai Lobachevsky</metadata>
|
| 23 |
+
<write element="p">some content</write>
|
| 24 |
+
<hang millis="3000" heavy="false" />
|
| 25 |
+
</mock>
|