diff --git a/.github/dependabot.yaml b/.github/dependabot.yaml index c2848de..fc42695 100644 --- a/.github/dependabot.yaml +++ b/.github/dependabot.yaml @@ -25,10 +25,14 @@ registries: url: https://repo.maven.apache.org/maven2 updates: + # `org.apache.logging.log4j.samples:log4j-samples` (the `/` reactor) and + # `org.apache.logging.log4j.samples:log4j-samples-graalvm` are separate Maven projects that each + # declare `${revision}` against their own `0.0.0-SNAPSHOT`. + # Under a single `directories:` Dependabot resolves `${revision}` across both and rewrites the + # wrong `` element: #426 replaced the reactor's own version with `2.26.1` and broke all + # 12 modules. Keep one entry per project. - package-ecosystem: maven - directories: - - "/" - - "log4j-samples-graalvm" + directory: "/" schedule: interval: weekly cooldown: @@ -57,6 +61,23 @@ updates: - dependency-name: "org.springframework.cloud:spring-cloud-dependencies" versions: ["[2025.1,)"] + - package-ecosystem: maven + directory: "log4j-samples-graalvm" + schedule: + interval: weekly + cooldown: + default-days: 7 + groups: + maven-minor-updates-graalvm: + update-types: + - "minor" + - "patch" + registries: + - maven-central + ignore: + - dependency-name: "org.apache.logging.log4j:*" + versions: ["[3.0.0-alpha1,)"] + - package-ecosystem: gradle directories: - "/"