Description
Nicola Ferraro opened SPR-15957 and commented
We are trying to support spring-boot 2 in Apache Camel and we have found some issues with commons-logging (ticket here: https://issues.apache.org/jira/browse/CAMEL-11756).
Some classes of the "impl" package of commons-logging are used by third party libraries. For example commons-configuration (v1 and v2) use the NoOpLog from that package in: https://github.com/apache/commons-configuration/blob/3c212681e410097cf38ee376540da585a8938923/src/main/java/org/apache/commons/configuration/AbstractConfiguration.java#L366
There are some camel modules that use commons-configuration, so we need to add commons-logging or jcl-over-slf4j to overcome this issue, but that would create duplicate classes, because the base package (org.apache.commons.configuration) is already provided by spring-jcl.
As jcl-over-slf4j did (https://github.com/qos-ch/slf4j/tree/master/jcl-over-slf4j/src/main/java/org/apache/commons/logging/impl), it would be useful to add some common classes from the "org.apache.commons.configuration.impl" package also in spring-jcl, in order to make the migration smoother for 1.x users.
Affects: 5.0 RC4
Reference URL: https://issues.apache.org/jira/browse/CAMEL-11756
Issue Links:
- commons-logging LogFactory and String arguments [SPR-16226] #20774 commons-logging LogFactory and String arguments
- Remove duplicate commons logging classes from spring-jcl [SPR-16062] #20611 Remove duplicate commons logging classes from spring-jcl
Referenced from: commits 1f3967c