GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [Backport maven-3.10.x] Keep the progress number of a project that is built again (fix #10291) by arturobernalg · Pull Request #13579 · apache/maven

Conversation

@arturobernalg

@arturobernalg arturobernalg commented Oct 16, 2026

Copy link
Copy Markdown
Member

Backport of #13577 to maven-3.10.x.

An aggregator goal on the command line builds a project once more after the reactor, and the progress counter of ExecutionEventLogger took it for one more project, so that the output went past the total, as in [4/3]. A project built again now shows the number it was given the first time. The same behaviour is in 3.9.16.

The patch did not apply as it was, because maven-embedder is a top level module on this branch and has a smaller test class, so the change and the new test were written again for it. testMultiModuleProjectBuiltAgainKeepsItsNumber fails without the change. maven-embedder and its dependencies pass (44 tests) and spotless is clean. I did not run the integration tests.


To make clear that you license your contribution under
the Apache License Version 2.0, January 2004
check one of the following:

  • I hereby declare this contribution to be licensed under the Apache License Version 2.0, January 2004
  • I hereby declare that I have filed an Apache Individual Contributor License Agreement.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@arturobernalg
Keep the progress number of a project that is built again (fix apache…
8c49c75
…#10291)

An aggregator goal on the command line builds a project once more after the reactor, and the progress counter took it for one more project, so that the output went past the total, as in [13/12]. A project built again now shows the number it was given the first time.

Backport of apache#13577 to maven-3.10.x.
gnodet
gnodet approved these changes Oct 19, 2026
View reviewed changes
@gnodet gnodet added bug Something isn't working backport labels Oct 19, 2026
@gnodet
gnodet merged commit 10afc50 into apache:maven-3.10.x Oct 19, 2026
13 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot added this to the 3.10.1 milestone Oct 19, 2026
@github-actions github-actions Bot assigned gnodet Oct 19, 2026
@arturobernalg arturobernalg mentioned this pull request Oct 19, 2026
[Backport maven-3.9.x] Keep the progress number of a project that is … #13635
Merged
2 tasks done
gnodet pushed a commit that referenced this pull request Oct 19, 2026
@arturobernalg
[Backport maven-3.9.x] Keep the progress number of a project that is …
7dc0d52
…built again (#13635)

Backport of #13577 (fix #10291), already backported to maven-4.0.x (#13578)
and maven-3.10.x (#13579) but missing on maven-3.9.x, which has the same
ExecutionEventLogger counter logic.

When an aggregator goal on the command line builds the first project again
after the reactor finished (for instance "mvn package artifact:describe"),
the project progress counter kept incrementing past the total project
count, printing a confusing "[4/3]" instead of repeating "[1/3]".

Remember the progress number already assigned to each project and reuse it
instead of handing out a new one every time projectStarted fires for the
same project.

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

Reviewers

@gnodet gnodet gnodet approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@gnodet gnodet

Labels

backport bug Something isn't working

Projects

None yet

Milestone

3.10.1

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@arturobernalg @gnodet
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.