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 2024/10/21 15:40:49 UTC

(tika) branch main updated (e56b52966 -> 304224c01)

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 e56b52966 TIKA-4322 -- mv jdk22->jdk23 in github action
     new 288d2da10 TIKA-4322: add comment for future update
     new 304224c01 TIKA-4322: add http2 dependencies; add comments for future updates of jetty / solr

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:
 ...PipesBiDirectionalStreamingIntegrationTest.java |  2 ++
 tika-parent/pom.xml                                | 29 +++++++++++++++++++++-
 2 files changed, 30 insertions(+), 1 deletion(-)


(tika) 01/02: TIKA-4322: add comment for future update

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 288d2da106058e469559b17c8fa9d53c5c8c37a1
Author: Tilman Hausherr <ti...@apache.org>
AuthorDate: Mon Oct 21 17:39:09 2024 +0200

    TIKA-4322: add comment for future update
---
 .../tika/pipes/grpc/PipesBiDirectionalStreamingIntegrationTest.java     | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tika-grpc/src/test/java/org/apache/tika/pipes/grpc/PipesBiDirectionalStreamingIntegrationTest.java b/tika-grpc/src/test/java/org/apache/tika/pipes/grpc/PipesBiDirectionalStreamingIntegrationTest.java
index e78110abb..7a3c551f3 100644
--- a/tika-grpc/src/test/java/org/apache/tika/pipes/grpc/PipesBiDirectionalStreamingIntegrationTest.java
+++ b/tika-grpc/src/test/java/org/apache/tika/pipes/grpc/PipesBiDirectionalStreamingIntegrationTest.java
@@ -94,6 +94,8 @@ class PipesBiDirectionalStreamingIntegrationTest {
 
         ResourceHandler resourceHandler = new ResourceHandler();
         resourceHandler.setDirAllowed(true);
+        // TODO when using jetty 12:
+        // resourceHandler.setBaseResourceAsString("src/test/resources/test-files")        
         resourceHandler.setBaseResource(new PathResource(Paths.get("src", "test", "resources", "test-files")));
         httpServer.setHandler(resourceHandler);
         httpServer.start();


(tika) 02/02: TIKA-4322: add http2 dependencies; add comments for future updates of jetty / solr

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 304224c01adf814050c85fe55831003b197baf65
Author: Tilman Hausherr <ti...@apache.org>
AuthorDate: Mon Oct 21 17:40:37 2024 +0200

    TIKA-4322: add http2 dependencies; add comments for future updates of jetty / solr
---
 tika-parent/pom.xml | 29 ++++++++++++++++++++++++++++-
 1 file changed, 28 insertions(+), 1 deletion(-)

diff --git a/tika-parent/pom.xml b/tika-parent/pom.xml
index 0ddbbf8b9..582e98335 100644
--- a/tika-parent/pom.xml
+++ b/tika-parent/pom.xml
@@ -341,6 +341,7 @@
     <commons.math3.version>3.6.1</commons.math3.version>
     <commons.net.version>3.11.1</commons.net.version>
     <ctakes.version>6.0.0</ctakes.version>
+    <!-- TODO when 4.1.0 comes out, try updating jetty to 12 -->
     <cxf.version>4.0.5</cxf.version>
     <ddplist.version>1.28</ddplist.version>
     <dl4j.version>1.0.0-M2.1</dl4j.version>
@@ -374,8 +375,12 @@
     <jcommander.version>1.82</jcommander.version>
     <jdom2.version>2.0.6.1</jdom2.version>
     <jempbox.version>1.8.17</jempbox.version>
-    <!-- 12.0.* needs java 17 -->
+    <!-- 12.0.* needs cxf 4.1.0, see https://issues.apache.org/jira/browse/CXF-9034 ,
+         or it will fail in tika-server-core with 
+         IllegalAccessError: class org.apache.cxf.transport.http_jetty.JettyHTTPServerEngine tried to access protected method 'void org.eclipse.jetty.server.Handler$AbstractContainer.<init>()'     
+    -->
     <jetty.version>11.0.24</jetty.version>
+    <jetty.http2.version>11.0.24</jetty.http2.version>
     <jhighlight.version>1.1.0</jhighlight.version>
     <jna.version>5.15.0</jna.version>
     <json.simple.version>1.1.1</json.simple.version>
@@ -423,6 +428,7 @@
     <slf4j.version>2.0.16</slf4j.version>
     <sis.version>1.4</sis.version>
     <snappy.version>1.1.10.7</snappy.version>
+    <!-- can't update because this requires non trivial changes in SolrEmitter.initialize() -->
     <solrj.version>8.11.4</solrj.version>
     <spring.version>6.1.14</spring.version>
     <sqlite.version>3.46.1.3</sqlite.version>
@@ -501,6 +507,27 @@
         <type>pom</type>
         <scope>import</scope>
       </dependency>
+      <!-- avoid outdated http2 dependencies when using solr 8 -->
+      <dependency>
+          <groupId>org.eclipse.jetty.http2</groupId>
+          <artifactId>http2-http-client-transport</artifactId>
+          <version>${jetty.http2.version}</version>
+      </dependency>
+      <dependency>
+          <groupId>org.eclipse.jetty.http2</groupId>
+          <artifactId>http2-hpack</artifactId> 
+          <version>${jetty.http2.version}</version>
+      </dependency>
+      <dependency>
+          <groupId>org.eclipse.jetty.http2</groupId>
+          <artifactId>http2-client</artifactId>
+          <version>${jetty.http2.version}</version>
+      </dependency>
+      <dependency>
+          <groupId>org.eclipse.jetty.http2</groupId>
+          <artifactId>http2-common</artifactId>
+          <version>${jetty.http2.version}</version>
+      </dependency>
       <dependency>
         <groupId>org.jsoup</groupId>
         <artifactId>jsoup</artifactId>