Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-797

log4j-core should be listed as runtime dependency

    Details

      Description

      The documentation (website: http://logging.apache.org/log4j/2.x/maven-artifacts.html) lists "log4j-core" as compile dependency (Gradle).

      While this at not wrong, it does not hit the idea of api/core separation. Thus I suggest to list "log4j-core" as runtime dependency, i.e.

      dependencies {
        compile group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.0.2'
        runtime group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.0.2'
      }
      

        Attachments

          Activity

            People

            • Assignee:
              remkop@yahoo.com Remko Popma
              Reporter:
              merzedes whaefelinger
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: