JBoss standalone webapp contains slf4j API 2.0.0-alpha1

XMLWordPrintable

    • Type: Bug Report
    • Resolution: Fixed
    • Priority: L3 - Default
    • 7.16.0
    • Affects Version/s: None
    • Component/s: webapp
    • None

      Environment (Required on creation):

      • JBoss standalone webapp (used on JBoss EAP and Wildfly)

      Description (Required on creation; please attach any relevant screenshots, stacktraces, log files, etc. to the ticket):

      • The artifact contains SLF4J API 2.0.0-alpha1. It's an alpha release, we don't know about the stability. And it is an SLF4J version that is probably not fully compatible with what we expect in camunda-commons-logging.

      Steps to reproduce (Required on creation):

      • Build the JBoss standalone webapp with Java 11 (Does not occur with Java 8)

      Observed Behavior (Required on creation):

      • SLF4J API 2.0.0-alpha1 is included in the WAR

      Expected behavior (Required on creation):

      • SLF4J API 1.7 is included in the WAR

      Root Cause (Required on prioritization):

      • With CAM-13519 we have added a dependency to Hikari 4.0.3. This has two Maven profiles activated by Java versions that switch the SLF4J API version. Since we also switched our assembly build to Java 11, this problem occurs on the current master branch.

      Solution Ideas (Optional):

      • Exclude the SLF4J dependency from Hikari (since it already comes with commons-logging and other dependencies in version 1.7)

      Hints (optional):

            Assignee:
            Thorben Lindhauer
            Reporter:
            Thorben Lindhauer
            Thorben Lindhauer Thorben Lindhauer
            Tobias Metzke-Bernstein Tobias Metzke-Bernstein
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: