Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-13378

log4j & activation dependencies flagged as banned when running with -Penforce-banned-dependencies (project pom enforce plugin)

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Normal
    • Resolution: Unresolved
    • None
    • None
    • None
    • None
    • Orion
    • Pulsar TO BE Deleted, BrXM Backlog

    Description

       When running Maven build with -Penforce-banned-dependencies (this triggers enforcer-plugin block of specific dependencies to be bundled) errors are shown for hippo-cms-commons and hippo-cms-utilities and other projects. Marked as banned in the project pom, might require to be set as provided

      mvn validate -Penforce-banned-dependencies 

      21:13:35 [WARNING] Rule 0: org.apache.maven.plugins.enforcer.BannedDependencies failed with message:21:13:35 Found Banned Dependency: org.apache.logging.log4j:log4j-core:jar:2.11.1*21:13:35* Found Banned Dependency: org.apache.logging.log4j:log4j-1.2-api:jar:2.11.1*21:13:35* Found Banned Dependency: org.apache.logging.log4j:log4j-api:jar:2.11.1

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              abanck Arent-Jan Banck (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: