This is an automated email from the ASF dual-hosted git repository. tallison pushed a commit to branch branch_1x in repository https://gitbox.apache.org/repos/asf/tika.git
commit 617a33b47c912b4987e7701634c9d362dbbfda69 Author: tballison <[email protected]> AuthorDate: Mon Mar 8 09:59:35 2021 -0500 TIKA-3244 update jackcess to continue on null table; make build work for Java > 8. --- tika-langdetect/pom.xml | 4 + tika-parent/pom.xml | 1116 ++++++++++---------- tika-parsers/pom.xml | 4 + .../tika/parser/microsoft/JackcessExtractor.java | 2 +- tika-server/pom.xml | 29 +- tika-translate/pom.xml | 4 + 6 files changed, 606 insertions(+), 553 deletions(-) diff --git a/tika-langdetect/pom.xml b/tika-langdetect/pom.xml index d01dcde..2a7491c 100644 --- a/tika-langdetect/pom.xml +++ b/tika-langdetect/pom.xml @@ -87,6 +87,10 @@ <groupId>org.glassfish.jaxb</groupId> <artifactId>jaxb-runtime</artifactId> </exclusion> + <exclusion> + <groupId>com.sun.activation</groupId> + <artifactId>jakarta.activation</artifactId> + </exclusion> </exclusions> </dependency> <dependency> diff --git a/tika-parent/pom.xml b/tika-parent/pom.xml index 7e77aef..3fce7d7 100644 --- a/tika-parent/pom.xml +++ b/tika-parent/pom.xml @@ -19,574 +19,588 @@ under the License. --> -<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"> - <modelVersion>4.0.0</modelVersion> +<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"> + <modelVersion>4.0.0</modelVersion> - <parent> - <groupId>org.apache</groupId> - <artifactId>apache</artifactId> - <version>17</version> - <relativePath /> - </parent> + <parent> + <groupId>org.apache</groupId> + <artifactId>apache</artifactId> + <version>17</version> + <relativePath/> + </parent> - <groupId>org.apache.tika</groupId> - <artifactId>tika-parent</artifactId> - <version>1.26-SNAPSHOT</version> - <packaging>pom</packaging> + <groupId>org.apache.tika</groupId> + <artifactId>tika-parent</artifactId> + <version>1.26-SNAPSHOT</version> + <packaging>pom</packaging> - <name>Apache Tika parent</name> - <description> - Apache Tika is a toolkit for detecting and extracting metadata and - structured text content from various documents using existing parser - libraries. - </description> - <inceptionYear>2007</inceptionYear> + <name>Apache Tika parent</name> + <description> + Apache Tika is a toolkit for detecting and extracting metadata and + structured text content from various documents using existing parser + libraries. + </description> + <inceptionYear>2007</inceptionYear> - <url>http://tika.apache.org/</url> + <url>http://tika.apache.org/</url> - <issueManagement> - <system>JIRA</system> - <url>https://issues.apache.org/jira/browse/TIKA</url> - </issueManagement> + <issueManagement> + <system>JIRA</system> + <url>https://issues.apache.org/jira/browse/TIKA</url> + </issueManagement> - <mailingLists> - <mailingList> - <name>Development mailing list</name> - <subscribe>[email protected]</subscribe> - <unsubscribe>[email protected]</unsubscribe> - <post>[email protected]</post> - <archive>https://lists.apache.org/[email protected]</archive> - <otherArchives> - <otherArchive>http://mail-archives.apache.org/mod_mbox/tika-dev/</otherArchive> - <otherArchive>http://mail-archives.apache.org/mod_mbox/lucene-tika-dev</otherArchive> - <otherArchive>http://www.mail-archive.com/[email protected]</otherArchive> - <otherArchive>http://www.mail-archive.com/[email protected]/</otherArchive> - <otherArchive>http://www.mail-archive.com/[email protected]/</otherArchive> - <otherArchive>http://www.nabble.com/Apache-Tika---Development-f20913.html</otherArchive> - <otherArchive>http://news.gmane.org/gmane.comp.apache.tika.devel</otherArchive> - <otherArchive>http://tika.markmail.org/</otherArchive> - </otherArchives> - </mailingList> - <mailingList> - <name>Commit mailing list</name> - <subscribe>[email protected]</subscribe> - <unsubscribe>[email protected]</unsubscribe> - <post>[email protected]</post> - <archive>https://lists.apache.org/[email protected]</archive> - <otherArchives> - <otherArchive>http://mail-archives.apache.org/mod_mbox/tika-commits/</otherArchive> - <otherArchive>http://mail-archives.apache.org/mod_mbox/lucene-tika-commits/</otherArchive> - <otherArchive>http://www.mail-archive.com/[email protected]/</otherArchive> - <otherArchive>http://www.mail-archive.com/[email protected]/</otherArchive> - </otherArchives> - </mailingList> - <mailingList> - <name>User mailing list</name> - <subscribe>[email protected]</subscribe> - <unsubscribe>[email protected]</unsubscribe> - <post>[email protected]</post> - <archive>https://lists.apache.org/[email protected]</archive> - <otherArchives> - <otherArchive>http://mail-archives.apache.org/mod_mbox/tika-user/</otherArchive> - <otherArchive>http://mail-archives.apache.org/mod_mbox/lucene-tika-user/</otherArchive> - <otherArchive>http://www.mail-archive.com/[email protected]/</otherArchive> - </otherArchives> - </mailingList> - </mailingLists> + <mailingLists> + <mailingList> + <name>Development mailing list</name> + <subscribe>[email protected]</subscribe> + <unsubscribe>[email protected]</unsubscribe> + <post>[email protected]</post> + <archive>https://lists.apache.org/[email protected]</archive> + <otherArchives> + <otherArchive>http://mail-archives.apache.org/mod_mbox/tika-dev/</otherArchive> + <otherArchive>http://mail-archives.apache.org/mod_mbox/lucene-tika-dev</otherArchive> + <otherArchive>http://www.mail-archive.com/[email protected]</otherArchive> + <otherArchive>http://www.mail-archive.com/[email protected]/</otherArchive> + <otherArchive>http://www.mail-archive.com/[email protected]/</otherArchive> + <otherArchive>http://www.nabble.com/Apache-Tika---Development-f20913.html</otherArchive> + <otherArchive>http://news.gmane.org/gmane.comp.apache.tika.devel</otherArchive> + <otherArchive>http://tika.markmail.org/</otherArchive> + </otherArchives> + </mailingList> + <mailingList> + <name>Commit mailing list</name> + <subscribe>[email protected]</subscribe> + <unsubscribe>[email protected]</unsubscribe> + <post>[email protected]</post> + <archive>https://lists.apache.org/[email protected]</archive> + <otherArchives> + <otherArchive>http://mail-archives.apache.org/mod_mbox/tika-commits/</otherArchive> + <otherArchive>http://mail-archives.apache.org/mod_mbox/lucene-tika-commits/</otherArchive> + <otherArchive>http://www.mail-archive.com/[email protected]/</otherArchive> + <otherArchive>http://www.mail-archive.com/[email protected]/</otherArchive> + </otherArchives> + </mailingList> + <mailingList> + <name>User mailing list</name> + <subscribe>[email protected]</subscribe> + <unsubscribe>[email protected]</unsubscribe> + <post>[email protected]</post> + <archive>https://lists.apache.org/[email protected]</archive> + <otherArchives> + <otherArchive>http://mail-archives.apache.org/mod_mbox/tika-user/</otherArchive> + <otherArchive>http://mail-archives.apache.org/mod_mbox/lucene-tika-user/</otherArchive> + <otherArchive>http://www.mail-archive.com/[email protected]/</otherArchive> + </otherArchives> + </mailingList> + </mailingLists> - <developers> - <developer> - <name>Rida Benjelloun</name> - <id>ridabenjelloun</id> - <email>[email protected]</email> - <roles> - <role>committer</role> - </roles> - </developer> - <developer> - <name>Keith Bennett</name> - <id>kbennett</id> - <roles> - <role>committer</role> - </roles> - </developer> - <developer> - <name>Mark Harwood</name> - <id>mharwood</id> - <roles> - <role>committer</role> - </roles> - </developer> - <developer> - <name>Ken Krugler</name> - <id>kkrugler</id> - <email>[email protected]</email> - <url>http://ken-blog.krugler.org</url> - <organization>Scale Unlimited</organization> - <organizationUrl>http://www.scaleunlimited.com</organizationUrl> - <roles> - <role>committer</role> - </roles> - </developer> - <developer> - <name>Chris A. Mattmann</name> - <id>mattmann</id> - <email>[email protected]</email> - <url>http://people.apache.org/~mattmann/</url> - <organization>NASA Jet Propulsion Laboratory</organization> - <organizationUrl>http://www.jpl.nasa.gov</organizationUrl> - <timezone>-8</timezone> - <properties /> - <roles> - <role>committer</role> - </roles> - </developer> - <developer> - <name>Michael McCandless</name> - <id>mikemccand</id> - <email>[email protected]</email> - <organization>IBM</organization> - <properties /> - <roles> - <role>committer</role> - </roles> - </developer> - <developer> - <name>Dave Meikle</name> - <id>dmeikle</id> - <roles> - <role>committer</role> - </roles> - </developer> - <developer> - <name>Sami Siren</name> - <id>siren</id> - <roles> - <role>committer</role> - </roles> - </developer> - <developer> - <name>Jukka Zitting</name> - <id>jukka</id> - <roles> - <role>committer</role> - </roles> - </developer> - <developer> - <name>Nick Burch</name> - <id>nick</id> - <organization>Alfresco</organization> - <organizationUrl>http://alfresco.com</organizationUrl> - <roles> - <role>committer</role> - </roles> - </developer> - <developer> - <name>Maxim Valyanskiy</name> - <id>maxcom</id> - <organization>Jet Infosystems</organization> - <roles> - <role>committer</role> - </roles> - <timezone>+3</timezone> - </developer> - <developer> - <name>Oleg Tikhonov</name> - <id>oleg</id> - <roles> - <role>committer</role> - </roles> - <timezone>+2</timezone> - </developer> - <developer> - <name>Ray Gauss II</name> - <id>rgauss</id> - <organization>Alfresco</organization> - <organizationUrl>http://alfresco.com</organizationUrl> - <timezone>-5</timezone> - <roles> - <role>committer</role> - </roles> - </developer> - <developer> - <name>Tyler Palsulich</name> - <id>tpalsulich</id> - <timezone>-8</timezone> - <roles> - <role>committer</role> - </roles> - </developer> - <developer> - <name>Tim Allison</name> - <id>tallison</id> - <timezone>-5</timezone> - <roles> - <role>committer</role> - </roles> - </developer> - <developer> - <name>Konstantin Gribov</name> - <id>grossws</id> - <timezone>+3</timezone> - <roles> - <role>committer</role> - </roles> - </developer> - </developers> - <contributors> - <contributor> - <name>Doug Cutting</name> - <roles> - <role>mentor</role> - </roles> - </contributor> - <contributor> - <name>Bertrand Delacretaz</name> - <roles> - <role>mentor</role> - </roles> - </contributor> - <contributor> - <name>Niall Pemberton</name> - <roles> - <role>emeritus</role> - </roles> - </contributor> - </contributors> + <developers> + <developer> + <name>Rida Benjelloun</name> + <id>ridabenjelloun</id> + <email>[email protected]</email> + <roles> + <role>committer</role> + </roles> + </developer> + <developer> + <name>Keith Bennett</name> + <id>kbennett</id> + <roles> + <role>committer</role> + </roles> + </developer> + <developer> + <name>Mark Harwood</name> + <id>mharwood</id> + <roles> + <role>committer</role> + </roles> + </developer> + <developer> + <name>Ken Krugler</name> + <id>kkrugler</id> + <email>[email protected]</email> + <url>http://ken-blog.krugler.org</url> + <organization>Scale Unlimited</organization> + <organizationUrl>http://www.scaleunlimited.com</organizationUrl> + <roles> + <role>committer</role> + </roles> + </developer> + <developer> + <name>Chris A. Mattmann</name> + <id>mattmann</id> + <email>[email protected]</email> + <url>http://people.apache.org/~mattmann/</url> + <organization>NASA Jet Propulsion Laboratory</organization> + <organizationUrl>http://www.jpl.nasa.gov</organizationUrl> + <timezone>-8</timezone> + <properties/> + <roles> + <role>committer</role> + </roles> + </developer> + <developer> + <name>Michael McCandless</name> + <id>mikemccand</id> + <email>[email protected]</email> + <organization>IBM</organization> + <properties/> + <roles> + <role>committer</role> + </roles> + </developer> + <developer> + <name>Dave Meikle</name> + <id>dmeikle</id> + <roles> + <role>committer</role> + </roles> + </developer> + <developer> + <name>Sami Siren</name> + <id>siren</id> + <roles> + <role>committer</role> + </roles> + </developer> + <developer> + <name>Jukka Zitting</name> + <id>jukka</id> + <roles> + <role>committer</role> + </roles> + </developer> + <developer> + <name>Nick Burch</name> + <id>nick</id> + <organization>Alfresco</organization> + <organizationUrl>http://alfresco.com</organizationUrl> + <roles> + <role>committer</role> + </roles> + </developer> + <developer> + <name>Maxim Valyanskiy</name> + <id>maxcom</id> + <organization>Jet Infosystems</organization> + <roles> + <role>committer</role> + </roles> + <timezone>+3</timezone> + </developer> + <developer> + <name>Oleg Tikhonov</name> + <id>oleg</id> + <roles> + <role>committer</role> + </roles> + <timezone>+2</timezone> + </developer> + <developer> + <name>Ray Gauss II</name> + <id>rgauss</id> + <organization>Alfresco</organization> + <organizationUrl>http://alfresco.com</organizationUrl> + <timezone>-5</timezone> + <roles> + <role>committer</role> + </roles> + </developer> + <developer> + <name>Tyler Palsulich</name> + <id>tpalsulich</id> + <timezone>-8</timezone> + <roles> + <role>committer</role> + </roles> + </developer> + <developer> + <name>Tim Allison</name> + <id>tallison</id> + <timezone>-5</timezone> + <roles> + <role>committer</role> + </roles> + </developer> + <developer> + <name>Konstantin Gribov</name> + <id>grossws</id> + <timezone>+3</timezone> + <roles> + <role>committer</role> + </roles> + </developer> + </developers> + <contributors> + <contributor> + <name>Doug Cutting</name> + <roles> + <role>mentor</role> + </roles> + </contributor> + <contributor> + <name>Bertrand Delacretaz</name> + <roles> + <role>mentor</role> + </roles> + </contributor> + <contributor> + <name>Niall Pemberton</name> + <roles> + <role>emeritus</role> + </roles> + </contributor> + </contributors> - <dependencyManagement> - <dependencies> - <dependency> - <groupId>biz.aQute</groupId> - <artifactId>bndlib</artifactId> - <version>1.50.0</version> - </dependency> - <dependency> - <groupId>org.apache.felix</groupId> - <artifactId>org.apache.felix.scr.annotations</artifactId> - <version>1.12.0</version> - </dependency> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>4.13.2</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-api</artifactId> - <version>${slf4j.version}</version> - </dependency> - <dependency> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-log4j12</artifactId> - <version>${slf4j.version}</version> - </dependency> - <dependency> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-simple</artifactId> - <version>${slf4j.version}</version> - </dependency> - <dependency> - <groupId>org.slf4j</groupId> - <artifactId>jcl-over-slf4j</artifactId> - <version>${slf4j.version}</version> - </dependency> - <dependency> - <groupId>org.slf4j</groupId> - <artifactId>jul-to-slf4j</artifactId> - <version>${slf4j.version}</version> - </dependency> + <dependencyManagement> + <dependencies> + <dependency> + <groupId>biz.aQute</groupId> + <artifactId>bndlib</artifactId> + <version>1.50.0</version> + </dependency> + <dependency> + <groupId>org.apache.felix</groupId> + <artifactId>org.apache.felix.scr.annotations</artifactId> + <version>1.12.0</version> + </dependency> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>4.13.2</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-api</artifactId> + <version>${slf4j.version}</version> + </dependency> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-log4j12</artifactId> + <version>${slf4j.version}</version> + </dependency> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-simple</artifactId> + <version>${slf4j.version}</version> + </dependency> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>jcl-over-slf4j</artifactId> + <version>${slf4j.version}</version> + </dependency> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>jul-to-slf4j</artifactId> + <version>${slf4j.version}</version> + </dependency> - <dependency> - <groupId>javax.annotation</groupId> - <artifactId>javax.annotation-api</artifactId> - <version>1.3.2</version> - </dependency> - <dependency> - <groupId>javax.xml.soap</groupId> - <artifactId>javax.xml.soap-api</artifactId> - <version>1.4.0</version> - </dependency> - <dependency> - <groupId>org.jvnet.staxex</groupId> - <artifactId>stax-ex</artifactId> - <version>2.0.0</version> - </dependency> - </dependencies> - </dependencyManagement> + <dependency> + <groupId>javax.annotation</groupId> + <artifactId>javax.annotation-api</artifactId> + <version>1.3.2</version> + </dependency> + <dependency> + <groupId>javax.xml.soap</groupId> + <artifactId>javax.xml.soap-api</artifactId> + <version>1.4.0</version> + </dependency> + <dependency> + <groupId>org.jvnet.staxex</groupId> + <artifactId>stax-ex</artifactId> + <version>2.0.0</version> + </dependency> + </dependencies> + </dependencyManagement> - <properties> - <maven.compiler.source>1.8</maven.compiler.source> - <maven.compiler.target>1.8</maven.compiler.target> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - <project.reporting.outputEncoding>${project.build.sourceEncoding}</project.reporting.outputEncoding> - <!-- plugin versions --> - <forbiddenapis.version>3.1</forbiddenapis.version> - <groovy.maven.version>2.1.1</groovy.maven.version> - <maven.antrun.version>1.8</maven.antrun.version> - <maven.assembly.version>3.3.0</maven.assembly.version> - <maven.bundle.version>5.1.1</maven.bundle.version> - <maven.failsafe.version>2.22.2</maven.failsafe.version> - <maven.javadoc.version>3.1.1</maven.javadoc.version> - <maven.scr.version>1.26.4</maven.scr.version> - <maven.surefire.version>3.0.0-M4</maven.surefire.version> - <maven.shade.version>3.2.4</maven.shade.version> - <rat.version>0.13</rat.version> - <!-- NOTE: sync tukaani version with commons-compress in tika-parsers --> - <poi.version>4.1.2</poi.version> - <commons.compress.version>1.20</commons.compress.version> - <commons.io.version>2.8.0</commons.io.version> - <commons.lang3.version>3.11</commons.lang3.version> - <gson.version>2.8.6</gson.version> - <guava.version>30.1-jre</guava.version> - <osgi.core.version>6.0.0</osgi.core.version> + <properties> + <maven.compiler.source>1.8</maven.compiler.source> + <maven.compiler.target>1.8</maven.compiler.target> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + <project.reporting.outputEncoding>${project.build.sourceEncoding}</project.reporting.outputEncoding> + <!-- plugin versions --> + <forbiddenapis.version>3.1</forbiddenapis.version> + <groovy.maven.version>2.1.1</groovy.maven.version> + <maven.antrun.version>1.8</maven.antrun.version> + <maven.assembly.version>3.3.0</maven.assembly.version> + <maven.bundle.version>5.1.1</maven.bundle.version> + <maven.failsafe.version>2.22.2</maven.failsafe.version> + <maven.javadoc.version>3.1.1</maven.javadoc.version> + <maven.scr.version>1.26.4</maven.scr.version> + <maven.surefire.version>3.0.0-M4</maven.surefire.version> + <maven.shade.version>3.2.4</maven.shade.version> + <rat.version>0.13</rat.version> + <!-- NOTE: sync tukaani version with commons-compress in tika-parsers --> + <poi.version>4.1.2</poi.version> + <commons.compress.version>1.20</commons.compress.version> + <commons.io.version>2.8.0</commons.io.version> + <commons.lang3.version>3.11</commons.lang3.version> + <gson.version>2.8.6</gson.version> + <guava.version>30.1-jre</guava.version> + <osgi.core.version>6.0.0</osgi.core.version> - <cxf.version>3.4.2</cxf.version> - <slf4j.version>1.7.30</slf4j.version> - <jackson.version>2.12.1</jackson.version> - <!-- when this is next upgraded, see if we can get rid of - javax.activation dependency in tika-server --> - <jaxb.version>3.0.0</jaxb.version> - <cli.version>1.4</cli.version> - <lucene.version>8.8.1</lucene.version> - <mockito.version>3.7.7</mockito.version> - <opennlp.version>1.9.3</opennlp.version> - </properties> + <cxf.version>3.4.2</cxf.version> + <slf4j.version>1.7.30</slf4j.version> + <jackson.version>2.12.1</jackson.version> + <!-- when this is next upgraded, see if we can get rid of + javax.activation dependency in tika-server --> + <jaxb.version>3.0.0</jaxb.version> + <cli.version>1.4</cli.version> + <lucene.version>8.8.1</lucene.version> + <mockito.version>3.7.7</mockito.version> + <opennlp.version>1.9.3</opennlp.version> + </properties> - <build> - <plugins> - <plugin> - <artifactId>maven-compiler-plugin</artifactId> - <version>3.8.0</version> - <configuration> - <source>${maven.compiler.source}</source> - <target>${maven.compiler.target}</target> - </configuration> - </plugin> - <!-- - mvn versions:display-plugin-updates - mvn versions:display-dependency-updates - --> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>versions-maven-plugin</artifactId> - <version>2.7</version> - <configuration> - <generateBackupPoms>false</generateBackupPoms> - </configuration> - </plugin> - <plugin> - <groupId>org.sonatype.ossindex.maven</groupId> - <artifactId>ossindex-maven-plugin</artifactId> - <version>3.1.0</version> - <configuration> - <fail>false</fail> - <excludeCoordinates> - <coordinate> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>4.13.1</version> - </coordinate> - </excludeCoordinates> - </configuration> - <executions> - <execution> - <id>audit-dependencies</id> - <phase>validate</phase> - <goals> - <goal>audit</goal> - </goals> - </execution> - </executions> - </plugin> - <!-- example of how to ignore coordinates + <build> + <plugins> + <plugin> + <artifactId>maven-compiler-plugin</artifactId> + <version>3.8.0</version> + <configuration> + <source>${maven.compiler.source}</source> + <target>${maven.compiler.target}</target> + </configuration> + </plugin> + <!-- + mvn versions:display-plugin-updates + mvn versions:display-dependency-updates + --> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>versions-maven-plugin</artifactId> + <version>2.7</version> + <configuration> + <generateBackupPoms>false</generateBackupPoms> + </configuration> + </plugin> + <plugin> + <groupId>org.sonatype.ossindex.maven</groupId> + <artifactId>ossindex-maven-plugin</artifactId> + <version>3.1.0</version> <configuration> + <fail>false</fail> <excludeCoordinates> - <exclude> - <groupId>com.h2database</groupId> - <artifactId>h2</artifactId> - <version>1.4.197</version> - </exclude> + <coordinate> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>4.13.1</version> + </coordinate> </excludeCoordinates> </configuration> - --> + <executions> + <execution> + <id>audit-dependencies</id> + <phase>validate</phase> + <goals> + <goal>audit</goal> + </goals> + </execution> + </executions> + </plugin> + <!-- example of how to ignore coordinates + <configuration> + <excludeCoordinates> + <exclude> + <groupId>com.h2database</groupId> + <artifactId>h2</artifactId> + <version>1.4.197</version> + </exclude> + </excludeCoordinates> + </configuration> + --> - <plugin> - <groupId>de.thetaphi</groupId> - <artifactId>forbiddenapis</artifactId> - <version>${forbiddenapis.version}</version> - <configuration> - <targetVersion>${maven.compiler.target}</targetVersion> - <ignoreSignaturesOfMissingClasses>true</ignoreSignaturesOfMissingClasses> - <failOnUnsupportedJava>false</failOnUnsupportedJava> - <excludes>test-documents/*.class</excludes> - <bundledSignatures> - <bundledSignature>jdk-unsafe</bundledSignature> - <bundledSignature>jdk-deprecated</bundledSignature> - <bundledSignature>jdk-non-portable</bundledSignature> - <bundledSignature>jdk-internal</bundledSignature> - <!-- replace with ${commons.io.version} when available --> - <bundledSignature>commons-io-unsafe-2.7</bundledSignature> - </bundledSignatures> - </configuration> - <executions> - <execution> - <goals> - <goal>check</goal> - <goal>testCheck</goal> - </goals> - </execution> - </executions> - </plugin> - <plugin> - <groupId>org.apache.felix</groupId> - <artifactId>maven-bundle-plugin</artifactId> - <version>${maven.bundle.version}</version> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-surefire-plugin</artifactId> - <version>${maven.surefire.version}</version> <!-- versions greater than this don't like System.exit calls in tika-batch --> - <configuration> - <argLine>-Xmx3072m -Duser.timezone=UTC -Djava.awt.headless=true</argLine> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-shade-plugin</artifactId> - <version>${maven.shade.version}</version> - </plugin> - <!-- assembly must happen after shade so that - tika-server's -bin.tgz/zip includes the uber jar - --> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-assembly-plugin</artifactId> - <version>${maven.assembly.version}</version> - <configuration> - <tarLongFileMode>posix</tarLongFileMode> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-release-plugin</artifactId> - <version>2.5.3</version> - <dependencies> - <dependency> - <groupId>org.apache.maven.scm</groupId> - <artifactId>maven-scm-provider-gitexe</artifactId> - <version>1.11.2</version> - </dependency> - <dependency> - <groupId>org.apache.maven.scm</groupId> - <artifactId>maven-scm-api</artifactId> - <version>1.11.2</version> - </dependency> - </dependencies> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-enforcer-plugin</artifactId> - <version>3.0.0-M3</version> - <executions> - <execution> - <id>enforce</id> - <configuration> - <rules> - <dependencyConvergence /> - <requireMavenVersion> - <version>3.5</version> - </requireMavenVersion> - </rules> - </configuration> - <goals> - <goal>enforce</goal> - </goals> - </execution> - </executions> - </plugin> - </plugins> - </build> - - <profiles> - <profile> - <id>pedantic</id> - <build> - <plugins> - <plugin> - <groupId>org.apache.rat</groupId> - <artifactId>apache-rat-plugin</artifactId> - <version>${rat.version}</version> - <executions> - <execution> - <phase>verify</phase> - <goals> - <goal>check</goal> - </goals> - </execution> - </executions> - </plugin> - </plugins> - </build> - </profile> - <profile> - <id>sonar</id> - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-surefire-plugin</artifactId> - <configuration> - <excludes> - <exclude>**/ForkParser*Test.java</exclude> - </excludes> - </configuration> - </plugin> - </plugins> - </build> - </profile> - <profile> - <id>doclint-java8-disable</id> - <activation> - <jdk>[1.8,)</jdk> - </activation> - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-javadoc-plugin</artifactId> - <version>${maven.javadoc.version}</version> - <configuration> - <doclint>none</doclint> - <source>1.8</source> - </configuration> - </plugin> - </plugins> - </build> - </profile> - <profile> - <id>jdk9</id> - <activation> - <jdk>[1.9,)</jdk> - </activation> - <build> - <plugins> - <plugin> - <artifactId>maven-compiler-plugin</artifactId> - <configuration> - <release>8</release> - </configuration> - </plugin> + <plugin> + <groupId>de.thetaphi</groupId> + <artifactId>forbiddenapis</artifactId> + <version>${forbiddenapis.version}</version> + <configuration> + <targetVersion>${maven.compiler.target}</targetVersion> + <ignoreSignaturesOfMissingClasses>true</ignoreSignaturesOfMissingClasses> + <failOnUnsupportedJava>false</failOnUnsupportedJava> + <excludes>test-documents/*.class</excludes> + <bundledSignatures> + <bundledSignature>jdk-unsafe</bundledSignature> + <bundledSignature>jdk-deprecated</bundledSignature> + <bundledSignature>jdk-non-portable</bundledSignature> + <bundledSignature>jdk-internal</bundledSignature> + <!-- replace with ${commons.io.version} when available --> + <bundledSignature>commons-io-unsafe-2.7</bundledSignature> + </bundledSignatures> + </configuration> + <executions> + <execution> + <goals> + <goal>check</goal> + <goal>testCheck</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.felix</groupId> + <artifactId>maven-bundle-plugin</artifactId> + <version>${maven.bundle.version}</version> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <version>${maven.surefire.version} + </version> <!-- versions greater than this don't like System.exit calls in tika-batch --> + <configuration> + <argLine>-Xmx3072m -Duser.timezone=UTC -Djava.awt.headless=true</argLine> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-shade-plugin</artifactId> + <version>${maven.shade.version}</version> + </plugin> + <!-- assembly must happen after shade so that + tika-server's -bin.tgz/zip includes the uber jar + --> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-assembly-plugin</artifactId> + <version>${maven.assembly.version}</version> + <configuration> + <tarLongFileMode>posix</tarLongFileMode> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-release-plugin</artifactId> + <version>2.5.3</version> + <dependencies> + <dependency> + <groupId>org.apache.maven.scm</groupId> + <artifactId>maven-scm-provider-gitexe</artifactId> + <version>1.11.2</version> + </dependency> + <dependency> + <groupId>org.apache.maven.scm</groupId> + <artifactId>maven-scm-api</artifactId> + <version>1.11.2</version> + </dependency> + </dependencies> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-enforcer-plugin</artifactId> + <version>3.0.0-M3</version> + <executions> + <execution> + <id>enforce</id> + <configuration> + <rules> + <dependencyConvergence/> + <requireMavenVersion> + <version>3.5</version> + </requireMavenVersion> + </rules> + </configuration> + <goals> + <goal>enforce</goal> + </goals> + </execution> + </executions> + </plugin> </plugins> - </build> - </profile> - </profiles> + </build> + + <profiles> + <profile> + <id>pedantic</id> + <build> + <plugins> + <plugin> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + <version>${rat.version}</version> + <executions> + <execution> + <phase>verify</phase> + <goals> + <goal>check</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + <profile> + <id>sonar</id> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <configuration> + <excludes> + <exclude>**/ForkParser*Test.java</exclude> + </excludes> + </configuration> + </plugin> + </plugins> + </build> + </profile> + <profile> + <id>doclint-java8-disable</id> + <activation> + <jdk>[1.8,)</jdk> + </activation> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <version>${maven.javadoc.version}</version> + <configuration> + <doclint>none</doclint> + <source>1.8</source> + </configuration> + </plugin> + </plugins> + </build> + </profile> + <profile> + <id>jdk9</id> + <activation> + <jdk>[1.9,)</jdk> + </activation> + <build> + <plugins> + <plugin> + <artifactId>maven-compiler-plugin</artifactId> + <configuration> + <release>8</release> + </configuration> + </plugin> + </plugins> + </build> + <dependencies> + <dependency> + <groupId>javax.xml.bind</groupId> + <artifactId>jaxb-api</artifactId> + <version>2.3.1</version> + </dependency> + <dependency> + <groupId>javax.activation</groupId> + <artifactId>activation</artifactId> + <version>1.1.1</version> + </dependency> + </dependencies> + </profile> + </profiles> - <scm> - <connection>scm:git:https://github.com/apache/</connection> - <developerConnection>scm:git:https://github.com/apache/</developerConnection> - <url>https://github.com/apache/tika</url> - <tag>1.22-rc3</tag> - </scm> + <scm> + <connection>scm:git:https://github.com/apache/</connection> + <developerConnection>scm:git:https://github.com/apache/</developerConnection> + <url>https://github.com/apache/tika</url> + <tag>1.22-rc3</tag> + </scm> </project> diff --git a/tika-parsers/pom.xml b/tika-parsers/pom.xml index 0b12688..76d42eb 100644 --- a/tika-parsers/pom.xml +++ b/tika-parsers/pom.xml @@ -412,6 +412,10 @@ <groupId>com.fasterxml.woodstox</groupId> <artifactId>woodstox-core</artifactId> </exclusion> + <exclusion> + <groupId>com.sun.activation</groupId> + <artifactId>jakarta.activation</artifactId> + </exclusion> </exclusions> </dependency> <dependency> diff --git a/tika-parsers/src/main/java/org/apache/tika/parser/microsoft/JackcessExtractor.java b/tika-parsers/src/main/java/org/apache/tika/parser/microsoft/JackcessExtractor.java index 24e58d4..f253cf7 100644 --- a/tika-parsers/src/main/java/org/apache/tika/parser/microsoft/JackcessExtractor.java +++ b/tika-parsers/src/main/java/org/apache/tika/parser/microsoft/JackcessExtractor.java @@ -148,7 +148,7 @@ class JackcessExtractor extends AbstractPOIFSExtractor { while (it.hasNext()) { Table table = it.next(); if (table == null) { - break; + continue; } String tableName = table.getName(); List<? extends Column> columns = table.getColumns(); diff --git a/tika-server/pom.xml b/tika-server/pom.xml index 0a06914..3c2c1cf 100644 --- a/tika-server/pom.xml +++ b/tika-server/pom.xml @@ -91,25 +91,46 @@ <groupId>com.fasterxml.woodstox</groupId> <artifactId>woodstox-core</artifactId> </exclusion> + <exclusion> + <groupId>com.sun.activation</groupId> + <artifactId>jakarta.activation</artifactId> + </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-rs-service-description</artifactId> <version>${cxf.version}</version> + <exclusions> + <exclusion> + <groupId>com.sun.activation</groupId> + <artifactId>jakarta.activation</artifactId> + </exclusion> + </exclusions> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-transports-http-jetty</artifactId> <version>${cxf.version}</version> + <exclusions> + <exclusion> + <groupId>com.sun.activation</groupId> + <artifactId>jakarta.activation</artifactId> + </exclusion> + </exclusions> </dependency> <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-rs-security-cors</artifactId> <version>${cxf.version}</version> + <exclusions> + <exclusion> + <groupId>com.sun.activation</groupId> + <artifactId>jakarta.activation</artifactId> + </exclusion> + </exclusions> </dependency> - <dependency> <groupId>commons-cli</groupId> <artifactId>commons-cli</artifactId> @@ -129,6 +150,12 @@ <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-rs-client</artifactId> <version>${cxf.version}</version> + <exclusions> + <exclusion> + <groupId>com.sun.activation</groupId> + <artifactId>jakarta.activation</artifactId> + </exclusion> + </exclusions> </dependency> <!-- logging --> diff --git a/tika-translate/pom.xml b/tika-translate/pom.xml index 8978ae3..4289b4a 100644 --- a/tika-translate/pom.xml +++ b/tika-translate/pom.xml @@ -82,6 +82,10 @@ <groupId>jakarta.xml.bind</groupId> <artifactId>jakarta.xml.bind-api</artifactId> </exclusion> + <exclusion> + <groupId>com.sun.activation</groupId> + <artifactId>jakarta.activation</artifactId> + </exclusion> </exclusions> </dependency> <dependency>
