Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-310

Ensure no dependency brings Commons Logging or Log4J

    XMLWordPrintable

Details

    • N/A
    • N/A

    Description

      This is needed for XWIKI-8559.

      The consequences of this is that at runtime you need to specify both a logback.xml file and 3 dependencies. For example for tests:

          <dependency>
            <groupId>ch.qos.logback</groupId>
            <artifactId>logback-classic</artifactId>
            <scope>test</scope>
          </dependency>
          <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>jcl-over-slf4j</artifactId>
            <scope>test</scope>
          </dependency>
          <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>log4j-over-slf4j</artifactId>
            <scope>test</scope>
          </dependency>
      

      Attachments

        Issue Links

          Activity

            People

              vmassol Vincent Massol
              vmassol Vincent Massol
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: