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

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


The following commit(s) were added to refs/heads/main by this push:
     new fb96590  NIFI-8987 Upgraded Tika to 1.27 and Graphics2d to 0.32
fb96590 is described below

commit fb96590586f36e37d4fc050e912434ec65bfe85d
Author: exceptionfactory <[email protected]>
AuthorDate: Mon Aug 2 15:18:16 2021 -0500

    NIFI-8987 Upgraded Tika to 1.27 and Graphics2d to 0.32
    
    - Tika 1.27 and Graphics2d upgrade Apache PDFBox to 2.0.24
    
    Signed-off-by: Pierre Villard <[email protected]>
    
    This closes #5272.
---
 .../nifi-media-bundle/nifi-media-processors/pom.xml         |  2 +-
 .../nifi-poi-bundle/nifi-poi-processors/pom.xml             | 13 ++++++-------
 2 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/nifi-nar-bundles/nifi-media-bundle/nifi-media-processors/pom.xml 
b/nifi-nar-bundles/nifi-media-bundle/nifi-media-processors/pom.xml
index 5408114..3594a4f 100644
--- a/nifi-nar-bundles/nifi-media-bundle/nifi-media-processors/pom.xml
+++ b/nifi-nar-bundles/nifi-media-bundle/nifi-media-processors/pom.xml
@@ -49,7 +49,7 @@
         <dependency>
             <groupId>org.apache.tika</groupId>
             <artifactId>tika-parsers</artifactId>
-            <version>1.26</version>
+            <version>1.27</version>
             <exclusions>
                 <exclusion>
                     <groupId>com.fasterxml.jackson.core</groupId>
diff --git a/nifi-nar-bundles/nifi-poi-bundle/nifi-poi-processors/pom.xml 
b/nifi-nar-bundles/nifi-poi-bundle/nifi-poi-processors/pom.xml
index 2e5a960..c37c941 100644
--- a/nifi-nar-bundles/nifi-poi-bundle/nifi-poi-processors/pom.xml
+++ b/nifi-nar-bundles/nifi-poi-bundle/nifi-poi-processors/pom.xml
@@ -43,18 +43,17 @@
         </plugins>
     </build>
     <dependencies>
-        <!-- https://mvnrepository.com/artifact/xerces/xerces -->
-        <dependency>
-            <groupId>xerces</groupId>
-            <artifactId>xercesImpl</artifactId>
-            <version>2.12.1</version>
-        </dependency>
-
         <dependency>
             <groupId>org.apache.poi</groupId>
             <artifactId>poi</artifactId>
             <version>${poi.version}</version>
         </dependency>
+        <!-- Override graphics2d from poi-ooxml:5.0.0 for pdfbox:2.0.24 -->
+        <dependency>
+            <groupId>de.rototor.pdfbox</groupId>
+            <artifactId>graphics2d</artifactId>
+            <version>0.32</version>
+        </dependency>
         <dependency>
             <groupId>org.apache.poi</groupId>
             <artifactId>poi-ooxml</artifactId>

Reply via email to