Uploaded image for project: 'Quartz Scheduler (Historical - Do Not File New Issues Here - See GitHub)'
  1. Quartz Scheduler (Historical - Do Not File New Issues Here - See GitHub)
  2. QTZ-55

POM of org.quartz-scheduler:quartz hardwires slf4j to use log4j as binding

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 2 Major
    • Resolution: Duplicate
    • Affects Version/s: 1.8.3
    • Fix Version/s: 1.8.4
    • Component/s: Build
    • Labels:
      None
    • Terracotta Target:
      Esperance

      Description

      The POM contains the following dependency:

      <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-log4j12</artifactId>
      <version>1.5.10</version>
      </dependency>

      This is wrong since the actually used binding should be up to the user.
      Please remove or mark it optional.

      Workaround:
      Put
      <dependency>
      <groupId>org.quartz-scheduler</groupId>
      <artifactId>quartz</artifactId>
      <version>1.8.3</version>
      <exclusions>
      <exclusion>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-log4j12</artifactId>
      </exclusion>
      </exclusions>
      </dependency>
      into the dependencyManagement part of a parent POM file.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hhuynh Hung Huynh
                Reporter:
                huxi Joern Huxhorn
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: