Skip to content

spring-jcl does not include exported packages of java commons logging [SPR-15957] #20509

Closed

Description

@spring-projects-issues

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:

Referenced from: commits 1f3967c

Activity

  1. added
    type: bug
    in: core
    on Jan 11, 2019
  2. added this to the 5.0 GA milestone on Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

in: coretype: bug

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions