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

logg4j-bom conflicting with spring-frameworkobom

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0
    • 2.0.1
    • None
    • None

    Description

      I have spring-framework-bom included in my pom.xml for long time. Today, when I included log4j-bom into my pom.xml, the whole system broke. On my analysis, I have found that log4j parent pom has included all spring dependencies with 3.2.8 version.
      Hence the pom has imported two version of spring dependendencies 4.0.4 and 3.2.8 and all unwanted dependency conflicts.

      following is debug output on maven build.
      [DEBUG] org.springframework:spring-test:jar:4.0.4.RELEASE:test
      [DEBUG] org.springframework:spring-core:jar:3.2.8.RELEASE:test (version managed from 4.0.4.RELEASE by org.apache.logging.log4j:log4j:2.0)

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            poorna1 Poorna Subhash P
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment