-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
Is there an existing issue for this?
- I have searched the existing issues
Package ecosystem
Maven
Package manager version
No response
Language version
No response
Manifest location and content before the Dependabot update
No response
dependabot.yml content
For example
version: 2
updates:
- package-ecosystem: maven
directory: "/"
schedule:
interval: weekly
open-pull-requests-limit: 10Updated dependency
No response
What you expected to see, versus what you actually saw
@jenkinsci has observed a recent change in Dependabot behavior which I suspect is due to #13747 and which is a serious regression tracked in jenkins-infra/helpdesk#4990: updates are being offered for a repository defined only in an optional profile which was never intended to be visible to Dependabot and which previously was not.
Initially I thought the problem was limited to a specific artifact, a parent POM, but I just saw the same behavior in a private repository inheriting the same profile but referring to an artifact used as a regular dependency.
Native package manager behavior
mvn versions:display-dependency-updates offers only versions coming from repositories which are actually active.
Images of the diff or a link to the PR, issue, or logs
No response
Smallest manifest that reproduces the issue
I can try to put together a minimal test case if that would be helpful in understanding the problem. Initially observed in a large batch of PRs such as jenkinsci/mailer-plugin#616. You will note that mvn validate fails now in the master branch of that repo.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status