Skip to content

UseDepVersionMoto should process all projects on the project list#1320

Merged
andrzejj0 merged 1 commit intomojohaus:masterfrom
andrzejj0:issue-1310-dep-version
Dec 1, 2025
Merged

UseDepVersionMoto should process all projects on the project list#1320
andrzejj0 merged 1 commit intomojohaus:masterfrom
andrzejj0:issue-1310-dep-version

Conversation

@andrzejj0
Copy link
Copy Markdown
Contributor

@andrzejj0 andrzejj0 commented Dec 1, 2025

First on the list of similar PRs to come, but only this one has been reported as a regression: there are other mojos which have aggregator = true but only process the first project: they typically only act upon getProject() or session.getCurrentProject().

Here only fixing the one in UseDepVersion since it's a regression, and for simplicity's sake.

Edit: modified so that we also say where the change is being made; without that, the plugin would simply state that it's updating a dependency without saying in which module.

@andrzejj0 andrzejj0 added this to the 2.20.2 milestone Dec 1, 2025
@andrzejj0 andrzejj0 self-assigned this Dec 1, 2025
@andrzejj0 andrzejj0 added the bug label Dec 1, 2025
@andrzejj0 andrzejj0 linked an issue Dec 1, 2025 that may be closed by this pull request
@andrzejj0 andrzejj0 linked an issue Dec 1, 2025 that may be closed by this pull request
@andrzejj0 andrzejj0 force-pushed the issue-1310-dep-version branch from 0bea01b to c63aaa1 Compare December 1, 2025 14:50
@andrzejj0 andrzejj0 force-pushed the issue-1310-dep-version branch from c63aaa1 to 3d19150 Compare December 1, 2025 15:10
@andrzejj0 andrzejj0 merged commit 3952768 into mojohaus:master Dec 1, 2025
17 checks passed
@andrzejj0 andrzejj0 deleted the issue-1310-dep-version branch December 1, 2025 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

use-dep-version with -pl skips modules after 2.15.0

2 participants