Log4j 2
  1. Log4j 2
  2. LOG4J2-736

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

      1. pom.xml
        1 kB
        Jerome Jia

        Activity

        Jerome Jia created issue -
        Jerome Jia made changes -
        Field Original Value New Value
        Attachment pom.xml [ 12657315 ]
        Matt Sicker made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Matt Sicker [ jvz ]
        Fix Version/s 2.0.1 [ 12327381 ]
        Resolution Fixed [ 1 ]
        Jerome Jia made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development