ppkarwasz opened a new pull request, #3367:
URL: https://github.com/apache/logging-log4j2/pull/3367

   Since Dependabot cannot handle multiple versions of the same artifact at 
once, our Dependabot configuration for `2.x` is split into two runs:
   
   - One Dependabot run handles the dependency upgrades for the 
`log4j-slf4j-impl` (based on SLF4J 1.x) and `log4j-mongodb4` (based on MongoDB 
client 4.x).
   - A second Dependabot run handles the dependency upgrades for the remaining 
modules (which use SLF4J 2.x and MongoDB client 5.x).
   
   Unfortunately, due to the way Maven multi-module support is implemented in 
Dependabot (see dependabot/dependabot-core#222), the second Dependabot 
configuration also tries to upgrade the dependencies of `log4j-slf4j-impl` and 
`log4j-mongodb4`. This is due to the inclusion of the aggregator POM 
`/pom.xml`, which causes Dependabot to also include all the remaining Log4j 
modules. The easiest solution to this problem is to remove "/" from the second 
configuration.
   
   Pros:
   
   - 99% of our managed dependencies are in "/log4j-parent" or the individual 
modules, so we will not miss many upgrades.
   - No more duplicate PRs.
   
   Cons:
   
   - "pom.xml" contains some dummy managed dependencies to upgrade the version 
number of `commons-csv` and similar artifacts for **site-only** purposes. IMHO 
we should find a different way to upgrade these.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@logging.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to