Page 1 of 1

docx4j 6.1.1 - commons-compress version compatibility

PostPosted: Thu Aug 11, 2022 4:13 am
by JayaL
We are in process of analyzing and upgrading the POI jars which in currently in use. Current project has POI jars version 3.12 and we are planning to upgrade to one of the below versions.
    poi-5.0.0
    poi-4.1.2
    poi-4.1.1

The project is also having docx4j version = 6.1.1 and related dependency jar - commons-compress-1.12 version.

Also there is below POI -- commons-compress dependencies
    poi-5.0.0 which has dependency on commons-compress-1.20.jar
    poi-4.1.2 which has dependency on commons-compress-1.19.jar
    poi-4.1.1 which has dependency on commons-compress-1.19.jar

In order for us to upgrade the POI jars, we need to upgrade the commons-compress jar as well .

Main questions,
--> If we are upgrading to one of the POI jars and correspondingly upgrade commons-compress jar to commons-compress-1.19.jar or commons-compress-1.20.jar, will there be any impact with the functionalities that use docx4j 6.1.1 version?

--> We are not looking to upgrade docx4j version right now, so need to know if commons-compress-1.19.jar /commons-compress-1.20.jar upgrade from commons-compress-1.12 will result in any issues in docx4j 6.1.1 related functionalities. i.e is commons-compress-1.19.jar & commons-compress-1.20.jar compatible to be used with docx4j 6.1.1?

Please clarify.

Thanks,
Jaya

Re: docx4j 6.1.1 - commons-compress version compatibility

PostPosted: Fri Aug 12, 2022 7:42 pm
by jason
docx4j 6.1.1 uses commons compress 1.12

Looking at the changelog at https://commons.apache.org/proper/commons-compress/ I don't anticipate any issues with later versions; you can try it and see.

Obviously looking into an unsupported configuration with an old version of docx4j is not something we'd consider normal community level support.

That said, current releases of docx4j use commons-compress 1.21 so that should give you some confidence.

Re: docx4j 6.1.1 - commons-compress version compatibility

PostPosted: Thu Aug 25, 2022 6:35 am
by JayaL
Thanks Jason for your response. Appreciate it.