Skip to content

Skip disabled Maven repositories#15443

Open
adoroszlai wants to merge 1 commit into
dependabot:mainfrom
adoroszlai:skip-disabled-maven-repo
Open

Skip disabled Maven repositories#15443
adoroszlai wants to merge 1 commit into
dependabot:mainfrom
adoroszlai:skip-disabled-maven-repo

Conversation

@adoroszlai

Copy link
Copy Markdown

What are you trying to accomplish?

Skip Maven repositories which have both releases and snapshots disabled. Such repository definitions exist in pom.xml to avoid using them.

Fixes #15442

How will you know you've accomplished your goal?

Added a new custom repository in test fixtures with both releases and snapshots disabled. Tests are otherwise not modified, since the output is expected to be unchanged: the new repo should not appear in result of finder.repository_urls calls in existing test cases.

$ bin/docker-dev-shell maven
...
[dependabot-core-dev] ~ $ cd maven
[dependabot-core-dev] ~/maven $ rspec spec
...
726 examples, 0 failures

[dependabot-core-dev] ~/maven $ rubocop 
Inspecting 60 files
............................................................

60 files inspected, no offenses detected

Checklist

  • I have run the complete test suite to ensure all tests and linters pass.
  • I have thoroughly tested my code changes to ensure they work as expected, including adding additional tests for new functionality.
  • I have written clear and descriptive commit messages.
  • I have provided a detailed description of the changes in the pull request, including the problem it addresses, how it fixes the problem, and any relevant details about the implementation.
  • I have ensured that the code is well-documented and easy to understand.

@adoroszlai adoroszlai requested a review from a team as a code owner June 29, 2026 10:54
@github-actions github-actions Bot added the L: java:maven Maven packages via Maven label Jun 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

L: java:maven Maven packages via Maven

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Exclude disabled Maven repositories

1 participant