Skip to content

Keep Dependabot off Maven 4 deps on the 3.x line - #732

Open
ascheman wants to merge 1 commit into
apache:masterfrom
aschemaven:bugfix/dependabot-resolver-ignore-maven3
Open

ascheman wants to merge 1 commit into
apache:masterfrom
aschemaven:bugfix/dependabot-resolver-ignore-maven3

Conversation

@ascheman

Copy link
Copy Markdown
Contributor

master now carries the Maven 3 line after the apache/maven-sources#57 branch switch. The default Dependabot block had no upper bound on the org.apache.maven resolver/core artifacts, so it proposes Maven 4 dependencies (maven-resolver 2.x, and maven-core 4.0.0 once GA ships) onto the Maven 3 line.

This pins them below the 4.x boundary, mirroring the existing SLF4J/Mockito ignores. The *-4.x target-branch block is untouched, so the Maven 4 line keeps tracking 4.x (incl. RCs).

Refs: apache/maven-sources#57

master now carries the Maven 3 line after the apache/maven-sources#57
branch switch. The default Dependabot block had no upper bound on the
org.apache.maven resolver/core artifacts, so it proposes Maven 4
dependencies (maven-resolver 2.x, and maven-core 4.0.0 once GA ships)
onto the Maven 3 line. Pin them below the 4.x boundary, mirroring the
existing SLF4J/Mockito ignores. The *-4.x target-branch block is
untouched, so the Maven 4 line keeps tracking 4.x.

Refs: apache/maven-sources#57

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

@gnodet-bot gnodet-bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Clean, correct Dependabot ignore rules that pin the Maven 3 line (master) to Resolver 1.x and Maven core 3.x, consistent with the existing SLF4J/Mockito ignores. The version boundaries (>= 2.0.0 for Resolver, >= 4.0.0 for Maven core) are correct for the Maven 3/4 split, and org.apache.maven:* does not accidentally block the plugin itself (which lives under org.apache.maven.plugins).

This review was generated by an AI agent, Hermès on behalf of @gnodet.

Comment thread .github/dependabot.yml
Comment on lines +37 to +39
# Maven 3 line stays on Resolver 1.x (2.x is Maven 4)
- dependency-name: "org.apache.maven.resolver:*"
versions: [">= 2.0.0"]

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is not true 3.10.x use resolver 2.x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants