You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tika.apache.org by ti...@apache.org on 2022/05/21 17:06:12 UTC

[tika] branch main updated (481adfca7 -> 61b70a117)

This is an automated email from the ASF dual-hosted git repository.

tilman pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/tika.git


    from 481adfca7 TIKA-3751: update junit5; use variable for osgi compendium version
     new 2dbcea768 TIKA-3751: add comment about failure to update jaxb
     new 61b70a117 TIKA-3751: add comment about why test could fail

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 tika-parent/pom.xml                                                   | 4 ++++
 .../src/test/java/org/apache/tika/parser/indesign/IDMLParserTest.java | 4 ++++
 2 files changed, 8 insertions(+)


[tika] 01/02: TIKA-3751: add comment about failure to update jaxb

Posted by ti...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

tilman pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tika.git

commit 2dbcea76811aafe1c359aeee5f19f49bf18381df
Author: Tilman Hausherr <ti...@apache.org>
AuthorDate: Sat May 21 19:05:24 2022 +0200

    TIKA-3751: add comment about failure to update jaxb
---
 tika-parent/pom.xml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tika-parent/pom.xml b/tika-parent/pom.xml
index 7808792a0..160267671 100644
--- a/tika-parent/pom.xml
+++ b/tika-parent/pom.xml
@@ -325,6 +325,10 @@
     <javax.annotation.version>1.3.2</javax.annotation.version>
     <javax.jcr.version>2.0</javax.jcr.version>
     <javax.rest.version>2.1.1</javax.rest.version>
+    <!-- updating jaxb to 3.0.2 brings convergence problems with modules that use cxf
+          which can be helped by excluding old versions jakarta.xml.bind,
+          but it turns out tika-parser-advancedmedia-module fails its tests,
+          because we need bind 2.3.3 for xmpbox, which uses javax.xml.bind -->
     <jaxb.version>2.3.6</jaxb.version>
     <jbig2.version>3.0.4</jbig2.version>
     <jdom2.version>2.0.6.1</jdom2.version>


[tika] 02/02: TIKA-3751: add comment about why test could fail

Posted by ti...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

tilman pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tika.git

commit 61b70a11730d8324f9282cd9f2099f0187cbed68
Author: Tilman Hausherr <ti...@apache.org>
AuthorDate: Sat May 21 19:05:49 2022 +0200

    TIKA-3751: add comment about why test could fail
---
 .../src/test/java/org/apache/tika/parser/indesign/IDMLParserTest.java | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-miscoffice-module/src/test/java/org/apache/tika/parser/indesign/IDMLParserTest.java b/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-miscoffice-module/src/test/java/org/apache/tika/parser/indesign/IDMLParserTest.java
index 80dc930a8..856c5990c 100644
--- a/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-miscoffice-module/src/test/java/org/apache/tika/parser/indesign/IDMLParserTest.java
+++ b/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-miscoffice-module/src/test/java/org/apache/tika/parser/indesign/IDMLParserTest.java
@@ -45,6 +45,8 @@ public class IDMLParserTest extends TikaTest {
         assertEquals("2", metadata.get("MasterSpreadPageCount"));
         assertEquals("1", metadata.get("SpreadPageCount"));
         assertEquals("application/vnd.adobe.indesign-idml-package", metadata.get(Metadata.CONTENT_TYPE));
+        // failure below could be because of missing javax.xml.bind if xmpbox 2.* is used
+        // check the swallowed throwable in XMPMetadataExtractor.parse()
         assertEquals("2020-09-20T20:07:44Z", metadata.get(XMP.CREATE_DATE));
         assertEquals("2020-09-20T20:07:44Z", metadata.get(XMP.MODIFY_DATE));
         assertEquals("Adobe InDesign CC 14.0 (Windows)", metadata.get(XMP.CREATOR_TOOL));
@@ -55,6 +57,8 @@ public class IDMLParserTest extends TikaTest {
     public void testParserToXML() throws Exception {
         Metadata metadata = new Metadata();
         String xml = getXML("testIndesign.idml", parser, metadata).xml;
+        // failure below could be because of missing javax.xml.bind if xmpbox 2.* is used
+        // check the swallowed throwable in XMPMetadataExtractor.parse()
         assertEquals("Adobe InDesign CC 14.0 (Windows)", metadata.get(XMP.CREATOR_TOOL));
         assertEquals("3", metadata.get("TotalPageCount"));
         assertContains("<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit", xml);