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"

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912121 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Dominik Stadler 2023-09-06 07:14:14 +00:00
parent 9c0c9ac8e4
commit 9f4c5b8e45
2 changed files with 5 additions and 5 deletions

View File

@ -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'

View File

@ -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"/>