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

Importing log4j bom changes scope of commons-code to "test"

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0.1
    • Component/s: Core
    • Labels:
      None
    • Environment:

      Description

      By importing log4j bom, as recommended on http://logging.apache.org/log4j/2.x/maven-artifacts.html#Bill_of_Material, according to my tests, at the moment commons-codec:commons-codec:jar:1.9 is affected, with its scope automatically changed to "test" when not explicitly specified (e.g. as "compile"). While the import of bom is removed, implicitly declared scope of commons-code is "compile" as expected.

        Attachments

        1. pom.xml
          1 kB
          Jerome Jia

          Activity

            People

            • Assignee:
              jvz Matt Sicker
              Reporter:
              iusr Jerome Jia
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: