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 — Move the multi-page generate method into MavenReport by slachiewicz · Pull Request #87 · apache/maven-reporting-api

Conversation

@slachiewicz

@slachiewicz slachiewicz commented Sep 29, 2026

Copy link
Copy Markdown
Member

Adds `generate(Sink, SinkFactory, Locale)` to `MavenReport` as a default method and deprecates `MavenMultiPageReport` and the two-argument `generate(Sink, Locale)`, as the `MavenMultiPageReport` Javadoc always intended. The two methods delegate to each other, the same way `getOutputPath()` and `getOutputName()` do, so existing reports keep working and new ones can implement only the multi-page method.

This PR does not change callers: the site plugin's `instanceof MavenMultiPageReport` branch and `AbstractMavenReport` can drop the interface once this is released.

Verified: `maven-reporting-impl` `mvn verify` against this snapshot → BUILD SUCCESS; the only new warning is the `MavenMultiPageReport` deprecation.

Sorry, something went wrong.

Uh oh!

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

All reactions
@slachiewicz
Move the multi-page generate method into MavenReport
0493f0a
The two generate methods are defaults that call each other, like getOutputPath and getOutputName: an implementation overrides at least one. Removing either default reintroduces the MavenMultiPageReport split.
@slachiewicz slachiewicz added enhancement New feature or request deprecated Pull requests that deprecate features labels Sep 29, 2026
@slachiewicz
slachiewicz marked this pull request as ready for review September 29, 2026 19:31
@slachiewicz slachiewicz mentioned this pull request Sep 30, 2026
Planned releases — Q4 2026 (Doxia stack + plugins + shared deps) apache/maven#13085
Open
@slachiewicz
slachiewicz merged commit 3d8e65a into master Sep 30, 2026
21 checks passed

Uh oh!

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

@slachiewicz
slachiewicz deleted the agent/multipage-generate-in-mavenreport branch September 30, 2026 15:03
@github-actions github-actions Bot assigned slachiewicz Sep 30, 2026
@github-actions github-actions Bot added this to the 4.0.1 milestone Sep 30, 2026
@slachiewicz slachiewicz mentioned this pull request Oct 7, 2026
Bump the version to 4.1.0-SNAPSHOT #89
Merged
This was referenced Oct 27, 2026
Bump org.apache.maven.reporting:maven-reporting-api from 4.0.0 to 4.1.0 apache/maven-help-plugin#450
Merged
Bump org.apache.maven.reporting:maven-reporting-api from 4.0.0 to 4.1.0 apache/maven-artifact-plugin#274
Merged
Bump org.apache.maven.reporting:maven-reporting-api from 4.0.0 to 4.1.0 apache/maven-changelog-plugin#257
Merged
Bump org.apache.maven.reporting:maven-reporting-api from 4.0.0 to 4.1.0 apache/maven-changes-plugin#677
Merged
Bump org.apache.maven.reporting:maven-reporting-api from 4.0.0 to 4.1.0 apache/maven-checkstyle-plugin#726
Merged
Bump org.apache.maven.reporting:maven-reporting-api from 4.0.0 to 4.1.0 apache/maven-dependency-plugin#1771
Merged
Bump org.apache.maven.reporting:maven-reporting-api from 4.0.0 to 4.1.0 apache/maven-doxia-sitetools#717
Merged
Bump org.apache.maven.reporting:maven-reporting-api from 4.0.0 to 4.1.0 apache/maven-invoker-plugin#790
Merged
Bump org.apache.maven.reporting:maven-reporting-api from 4.0.0 to 4.1.0 apache/maven-javadoc-plugin#1410
Merged
Bump org.apache.maven.reporting:maven-reporting-api from 4.0.0 to 4.1.0 apache/maven-jxr#385
Merged
Bump org.apache.maven.reporting:maven-reporting-api from 4.0.0 to 4.1.0 apache/maven-plugin-tools#1256
Merged
Bump org.apache.maven.reporting:maven-reporting-api from 4.0.0 to 4.1.0 apache/maven-plugin-tools#1257
Merged
Bump org.apache.maven.reporting:maven-reporting-api from 4.0.0 to 4.1.0 apache/maven-pmd-plugin#758
Merged
Bump org.apache.maven.reporting:maven-reporting-api from 4.0.0 to 4.1.0 apache/maven-project-info-reports-plugin#680
Merged
Bump org.apache.maven.reporting:maven-reporting-api from 4.0.0 to 4.1.0 apache/maven-reporting-exec#175
Merged
Bump org.apache.maven.reporting:maven-reporting-api from 4.0.0 to 4.1.0 apache/maven-reporting-impl#267
Merged
Bump org.apache.maven.reporting:maven-reporting-api from 4.0.0 to 4.1.0 apache/maven-site-plugin#1332
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

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

Assignees

@slachiewicz slachiewicz

Labels

deprecated Pull requests that deprecate features enhancement New feature or request

Projects

None yet

Milestone

4.1.0

Development

Successfully merging this pull request may close these issues.

Uh oh!

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

1 participant

@slachiewicz
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.