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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0
    • 2.0.1
    • Core
    • None

    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

            mattsicker Matt Sicker
            iusr Jerome Jia
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: