Author: centic Date: Wed Sep 6 07:14:14 2023 New Revision: 1912121 URL: http://svn.apache.org/viewvc?rev=1912121&view=rev Log: Revert PDFBox back to 2.0.x as 3.0.0 causes Java module errors
Seems Batik conflicts with newer PDFBox in some way Error are like "module batik.xml reads package org.apache.pdfbox.multipdf from both de.rototor.pdfbox.graphics2d and org.apache.pdfbox" Modified: poi/trunk/build.gradle poi/trunk/build.xml Modified: poi/trunk/build.gradle URL: http://svn.apache.org/viewvc/poi/trunk/build.gradle?rev=1912121&r1=1912120&r2=1912121&view=diff ============================================================================== --- poi/trunk/build.gradle (original) +++ poi/trunk/build.gradle Wed Sep 6 07:14:14 2023 @@ -128,8 +128,8 @@ subprojects { hamcrestVersion = '2.2' xmlbeansVersion = '5.1.1' batikVersion = '1.17' - graphics2dVersion = '3.0.0' - pdfboxVersion = '3.0.0' + graphics2dVersion = '0.43' + pdfboxVersion = '2.0.29' saxonVersion = '11.5' apiGuardianVersion = '1.1.2' Modified: poi/trunk/build.xml URL: http://svn.apache.org/viewvc/poi/trunk/build.xml?rev=1912121&r1=1912120&r2=1912121&view=diff ============================================================================== --- poi/trunk/build.xml (original) +++ poi/trunk/build.xml Wed Sep 6 07:14:14 2023 @@ -325,9 +325,9 @@ under the License. <dependency prefix="svg.batik-transcoder" artifact="org.apache.xmlgraphics:batik-transcoder:1.17" usage="ooxml-batik"/> <dependency prefix="svg.batik-util" artifact="org.apache.xmlgraphics:batik-util:1.17" usage="ooxml-batik"/> <dependency prefix="svg.batik-xml" artifact="org.apache.xmlgraphics:batik-xml:1.17" usage="ooxml-batik"/> - <dependency prefix="pdf.pdfbox" artifact="org.apache.pdfbox:pdfbox:3.0.0" usage="ooxml-provided"/> - <dependency prefix="pdf.fontbox" artifact="org.apache.pdfbox:fontbox:3.0.0" usage="ooxml-provided"/> - <dependency prefix="pdf.graphics2d" artifact="de.rototor.pdfbox:graphics2d:3.0.0" usage="ooxml-provided"/> + <dependency prefix="pdf.pdfbox" artifact="org.apache.pdfbox:pdfbox:2.0.29" usage="ooxml-provided"/> + <dependency prefix="pdf.fontbox" artifact="org.apache.pdfbox:fontbox:2.0.29" usage="ooxml-provided"/> + <dependency prefix="pdf.graphics2d" artifact="de.rototor.pdfbox:graphics2d:0.43" usage="ooxml-provided"/> <!-- jars in the ooxml-lib directory, see the fetch-ooxml-jars target--> <dependency prefix="ooxml.curvesapi" artifact="com.github.virtuald:curvesapi:1.08" usage="ooxml"/> --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@poi.apache.org For additional commands, e-mail: commits-h...@poi.apache.org