Skip to content

commons-compress 1.25.0 -> 1.26.1 upgrade breaks compatibility with commons-io 2.8.0

#1102 and !108 upgraded org.apache.commons.compress from 1.25.0 to 1.26.1. This turned out to be a fatal move because

We have multiple versions of org.apache.commons.io in the platform (2.8.0, 2.15.1) and org.apache.commons.compress resolves its dependencies to the 2.8.0 version, not the 2.15.1 version which would work.

It seems easiest to revert back to 1.25.0 to fix the problem. I do realize that the upgrade was done to fix two CVEs documented at https://commons.apache.org/proper/commons-compress/security.html but it is way too hard to upgrade for now.

It would possibly also be better to just avoid bundling 2.15.1 commons-io entirely and just rely on the RCP-bundled 2.8.0 version.

Edited by Tuukka Lehtonen